commented mousewheel, with the new scrollarea it is not necessary
This commit is contained in:
parent
bfb041859c
commit
1401059016
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue