Mercurial > hg > svgui
comparison 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 |
comparison
equal
deleted
inserted
replaced
289:4ca7562dd246 | 290:3101c68a00c1 |
---|---|
87 virtual void paintEvent(QPaintEvent *e); | 87 virtual void paintEvent(QPaintEvent *e); |
88 virtual void mousePressEvent(QMouseEvent *e); | 88 virtual void mousePressEvent(QMouseEvent *e); |
89 virtual void mouseReleaseEvent(QMouseEvent *e); | 89 virtual void mouseReleaseEvent(QMouseEvent *e); |
90 virtual void mouseMoveEvent(QMouseEvent *e); | 90 virtual void mouseMoveEvent(QMouseEvent *e); |
91 virtual void mouseDoubleClickEvent(QMouseEvent *e); | 91 virtual void mouseDoubleClickEvent(QMouseEvent *e); |
92 virtual void enterEvent(QEvent *e); | |
92 virtual void leaveEvent(QEvent *e); | 93 virtual void leaveEvent(QEvent *e); |
93 virtual void wheelEvent(QWheelEvent *e); | 94 virtual void wheelEvent(QWheelEvent *e); |
94 virtual void resizeEvent(QResizeEvent *e); | 95 virtual void resizeEvent(QResizeEvent *e); |
95 | 96 |
96 void drawVerticalScale(QRect r, Layer *, QPainter &); | 97 void drawVerticalScale(QRect r, Layer *, QPainter &); |
154 Panner *m_vpan; | 155 Panner *m_vpan; |
155 Thumbwheel *m_hthumb; | 156 Thumbwheel *m_hthumb; |
156 Thumbwheel *m_vthumb; | 157 Thumbwheel *m_vthumb; |
157 NotifyingPushButton *m_reset; | 158 NotifyingPushButton *m_reset; |
158 | 159 |
160 bool m_mouseInWidget; | |
161 | |
159 static QCursor *m_measureCursor1; | 162 static QCursor *m_measureCursor1; |
160 static QCursor *m_measureCursor2; | 163 static QCursor *m_measureCursor2; |
161 }; | 164 }; |
162 | 165 |
163 #endif | 166 #endif |