diff widgets/LevelPanWidget.cpp @ 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 91aac85406fb
line wrap: on
line diff
--- a/widgets/LevelPanWidget.cpp	Tue Dec 06 09:20:10 2016 +0000
+++ b/widgets/LevelPanWidget.cpp	Tue Dec 06 09:47:27 2016 +0000
@@ -432,5 +432,17 @@
     renderTo(this, rect(), m_editable);
 }
 
+void
+LevelPanWidget::enterEvent(QEvent *e)
+{
+    QWidget::enterEvent(e);
+    emit mouseEntered();
+}
 
+void
+LevelPanWidget::leaveEvent(QEvent *e)
+{
+    QWidget::enterEvent(e);
+    emit mouseLeft();
+}