Mercurial > hg > svgui
comparison widgets/LevelPanWidget.h @ 1180:6a6a63506e3f levelpanwidget
Some work on play parameters and level controls in property box
author | Chris Cannam |
---|---|
date | Tue, 06 Dec 2016 09:47:27 +0000 |
parents | 916b62baf7ac |
children | 808d375a3b12 |
comparison
equal
deleted
inserted
replaced
1179:7c31eb5bc77d | 1180:6a6a63506e3f |
---|---|
64 | 64 |
65 signals: | 65 signals: |
66 void levelChanged(float); // range [0,1] | 66 void levelChanged(float); // range [0,1] |
67 void panChanged(float); // range [-1,1] | 67 void panChanged(float); // range [-1,1] |
68 | 68 |
69 void mouseEntered(); | |
70 void mouseLeft(); | |
71 | |
69 protected: | 72 protected: |
70 virtual void mousePressEvent(QMouseEvent *ev); | 73 virtual void mousePressEvent(QMouseEvent *ev); |
71 virtual void mouseMoveEvent(QMouseEvent *ev); | 74 virtual void mouseMoveEvent(QMouseEvent *ev); |
72 virtual void mouseReleaseEvent(QMouseEvent *ev); | 75 virtual void mouseReleaseEvent(QMouseEvent *ev); |
73 virtual void wheelEvent(QWheelEvent *ev); | 76 virtual void wheelEvent(QWheelEvent *ev); |
74 virtual void paintEvent(QPaintEvent *ev); | 77 virtual void paintEvent(QPaintEvent *ev); |
78 virtual void enterEvent(QEvent *); | |
79 virtual void leaveEvent(QEvent *); | |
75 | 80 |
76 void emitLevelChanged(); | 81 void emitLevelChanged(); |
77 void emitPanChanged(); | 82 void emitPanChanged(); |
78 | 83 |
79 int m_level; | 84 int m_level; |