1
0
Fork 0

commented mousewheel, with the new scrollarea it is not necessary

This commit is contained in:
dreg_fr33project 2014-09-13 07:54:45 +02:00
parent bfb041859c
commit 1401059016
2 changed files with 3 additions and 1 deletions

View File

@ -362,6 +362,7 @@ void RegistersView::keyPressEvent(QKeyEvent* event)
wCM_Modify->trigger();
}
/*
void RegistersView::wheelEvent(QWheelEvent* event)
{
int numDegrees = event->delta() / 8;
@ -385,6 +386,7 @@ void RegistersView::wheelEvent(QWheelEvent* event)
emit refresh();
event->accept();
}
*/
QSize RegistersView::sizeHint() const
{

View File

@ -76,7 +76,7 @@ protected:
virtual void mouseDoubleClickEvent(QMouseEvent* event);
virtual void paintEvent(QPaintEvent* event);
virtual void keyPressEvent(QKeyEvent* event);
virtual void wheelEvent(QWheelEvent* event);
//virtual void wheelEvent(QWheelEvent* event);
// use-in-class-only methods
void drawRegister(QPainter* p, REGISTER_NAME reg, uint_t value);