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();
|
wCM_Modify->trigger();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
void RegistersView::wheelEvent(QWheelEvent* event)
|
void RegistersView::wheelEvent(QWheelEvent* event)
|
||||||
{
|
{
|
||||||
int numDegrees = event->delta() / 8;
|
int numDegrees = event->delta() / 8;
|
||||||
|
@ -385,6 +386,7 @@ void RegistersView::wheelEvent(QWheelEvent* event)
|
||||||
emit refresh();
|
emit refresh();
|
||||||
event->accept();
|
event->accept();
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
QSize RegistersView::sizeHint() const
|
QSize RegistersView::sizeHint() const
|
||||||
{
|
{
|
||||||
|
|
|
@ -76,7 +76,7 @@ protected:
|
||||||
virtual void mouseDoubleClickEvent(QMouseEvent* event);
|
virtual void mouseDoubleClickEvent(QMouseEvent* event);
|
||||||
virtual void paintEvent(QPaintEvent* event);
|
virtual void paintEvent(QPaintEvent* event);
|
||||||
virtual void keyPressEvent(QKeyEvent* event);
|
virtual void keyPressEvent(QKeyEvent* event);
|
||||||
virtual void wheelEvent(QWheelEvent* event);
|
//virtual void wheelEvent(QWheelEvent* event);
|
||||||
|
|
||||||
// use-in-class-only methods
|
// use-in-class-only methods
|
||||||
void drawRegister(QPainter* p, REGISTER_NAME reg, uint_t value);
|
void drawRegister(QPainter* p, REGISTER_NAME reg, uint_t value);
|
||||||
|
|
Loading…
Reference in New Issue