Mercurial > hg > svgui
diff view/Pane.h @ 290:3101c68a00c1
* Restore Scale setting which had mistakenly disappeared from spectrum
* Some tweaks to spectrum peaks
* Make spectrum default to 4096/75%... or is that overdoing it?
* Show harmonic cursor even during playback if in measure mode and mouse in
relevant pane
* Avoid crash when trying to measure a non-layer
* Various adjustments to some icons to make them look better in white-on-black
schemes
author | Chris Cannam |
---|---|
date | Fri, 13 Jul 2007 15:54:17 +0000 |
parents | 4edaff85875d |
children | 6de6f78b13a1 |
line wrap: on
line diff
--- a/view/Pane.h Fri Jul 13 13:19:15 2007 +0000 +++ b/view/Pane.h Fri Jul 13 15:54:17 2007 +0000 @@ -89,6 +89,7 @@ virtual void mouseReleaseEvent(QMouseEvent *e); virtual void mouseMoveEvent(QMouseEvent *e); virtual void mouseDoubleClickEvent(QMouseEvent *e); + virtual void enterEvent(QEvent *e); virtual void leaveEvent(QEvent *e); virtual void wheelEvent(QWheelEvent *e); virtual void resizeEvent(QResizeEvent *e); @@ -156,6 +157,8 @@ Thumbwheel *m_vthumb; NotifyingPushButton *m_reset; + bool m_mouseInWidget; + static QCursor *m_measureCursor1; static QCursor *m_measureCursor2; };