Mercurial > hg > svgui
comparison widgets/Fader.h @ 132:5d3a483856ff
* Add Thumbwheel widget for all our zooming needs
* Use QSettings to save/restore window size and position -- precursor to
switching our preferences to QSettings as well -- wish I'd noticed it sooner
* Only suspend writes (not reads from the underlying cache objects) from the
fft caches when repainting the spectrogram -- performance should now be
significantly better
author | Chris Cannam |
---|---|
date | Thu, 03 Aug 2006 15:40:11 +0000 |
parents | 705f05ab42e3 |
children | e7cf6044c2a0 |
comparison
equal
deleted
inserted
replaced
131:eaae73b6bd28 | 132:5d3a483856ff |
---|---|
69 float getPeakRight() { return m_peakRight; } | 69 float getPeakRight() { return m_peakRight; } |
70 | 70 |
71 virtual void mousePressEvent(QMouseEvent *ev); | 71 virtual void mousePressEvent(QMouseEvent *ev); |
72 virtual void mouseDoubleClickEvent(QMouseEvent *ev); | 72 virtual void mouseDoubleClickEvent(QMouseEvent *ev); |
73 virtual void mouseMoveEvent(QMouseEvent *ev); | 73 virtual void mouseMoveEvent(QMouseEvent *ev); |
74 virtual void mouseReleaseEvent(QMouseEvent *ev); | |
74 virtual void wheelEvent( QWheelEvent *ev ); | 75 virtual void wheelEvent( QWheelEvent *ev ); |
75 virtual void paintEvent(QPaintEvent *ev); | 76 virtual void paintEvent(QPaintEvent *ev); |
76 | 77 |
77 signals: | 78 signals: |
78 void valueChanged(float); // 0.0 -> 1.0 | 79 void valueChanged(float); // 0.0 -> 1.0 |