Mercurial > hg > svgui
diff 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 |
line wrap: on
line diff
--- a/widgets/LevelPanToolButton.h Fri Dec 16 15:55:59 2016 +0000 +++ b/widgets/LevelPanToolButton.h Fri Dec 16 16:29:53 2016 +0000 @@ -70,6 +70,7 @@ virtual void paintEvent(QPaintEvent *); virtual void enterEvent(QEvent *); virtual void leaveEvent(QEvent *); + virtual void wheelEvent(QWheelEvent *e); LevelPanWidget *m_lpw; int m_pixels;