comparison widgets/LevelPanToolButton.h @ 1200:808d375a3b12 levelpanwidget

Support mouse wheel on level-pan tool button
author Chris Cannam
date Fri, 16 Dec 2016 16:29:53 +0000
parents 306c24eeab10
children a34a2a25907c
comparison
equal deleted inserted replaced
1199:73d43e410a6b 1200:808d375a3b12
68 68
69 protected: 69 protected:
70 virtual void paintEvent(QPaintEvent *); 70 virtual void paintEvent(QPaintEvent *);
71 virtual void enterEvent(QEvent *); 71 virtual void enterEvent(QEvent *);
72 virtual void leaveEvent(QEvent *); 72 virtual void leaveEvent(QEvent *);
73 virtual void wheelEvent(QWheelEvent *e);
73 74
74 LevelPanWidget *m_lpw; 75 LevelPanWidget *m_lpw;
75 int m_pixels; 76 int m_pixels;
76 int m_pixelsBig; 77 int m_pixelsBig;
77 bool m_muted; 78 bool m_muted;