comparison widgets/LevelPanToolButton.h @ 1300:1589bc7528b7

Ctrl-click on level-pan tool button now also resets to default
author Chris Cannam
date Thu, 21 Jun 2018 10:43:14 +0100
parents a34a2a25907c
children a18e78b9c78b
comparison
equal deleted inserted replaced
1299:91670e4e76a6 1300:1589bc7528b7
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 mousePressEvent(QMouseEvent *);
73 virtual void wheelEvent(QWheelEvent *e); 74 virtual void wheelEvent(QWheelEvent *e);
74 75
75 LevelPanWidget *m_lpw; 76 LevelPanWidget *m_lpw;
76 int m_pixels; 77 int m_pixels;
77 int m_pixelsBig; 78 int m_pixelsBig;