diff widgets/LevelPanToolButton.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 fcbfc7fad1f2
children 306c24eeab10
line wrap: on
line diff
--- a/widgets/LevelPanToolButton.h	Tue Dec 06 09:20:10 2016 +0000
+++ b/widgets/LevelPanToolButton.h	Tue Dec 06 09:47:27 2016 +0000
@@ -56,12 +56,17 @@
     void levelChanged(float);
     void panChanged(float);
 
+    void mouseEntered();
+    void mouseLeft();
+
 private slots:
     void selfLevelChanged(float);
     void selfClicked();
     
 protected:
-    void paintEvent(QPaintEvent *);
+    virtual void paintEvent(QPaintEvent *);
+    virtual void enterEvent(QEvent *);
+    virtual void leaveEvent(QEvent *);
     
     LevelPanWidget *m_lpw;
     int m_pixels;