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

Support mouse wheel on level-pan tool button
author Chris Cannam
date Fri, 16 Dec 2016 16:29:53 +0000
parents 91aac85406fb
children 8ef67917c301
comparison
equal deleted inserted replaced
1199:73d43e410a6b 1200:808d375a3b12
55 setBigImageSize(m_pixelsBig); 55 setBigImageSize(m_pixelsBig);
56 } 56 }
57 57
58 LevelPanToolButton::~LevelPanToolButton() 58 LevelPanToolButton::~LevelPanToolButton()
59 { 59 {
60 }
61
62 void
63 LevelPanToolButton::wheelEvent(QWheelEvent *e)
64 {
65 m_lpw->wheelEvent(e);
60 } 66 }
61 67
62 float 68 float
63 LevelPanToolButton::getLevel() const 69 LevelPanToolButton::getLevel() const
64 { 70 {