comparison view/Pane.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 33929e0c3c6b
children 9e6b3e239b9d
comparison
equal deleted inserted replaced
131:eaae73b6bd28 132:5d3a483856ff
53 void rightButtonMenuRequested(QPoint position); 53 void rightButtonMenuRequested(QPoint position);
54 54
55 public slots: 55 public slots:
56 virtual void toolModeChanged(); 56 virtual void toolModeChanged();
57 57
58 virtual void horizontalThumbwheelMoved(int value);
59 virtual void verticalThumbwheelMoved(int value);
60
58 protected: 61 protected:
59 virtual void paintEvent(QPaintEvent *e); 62 virtual void paintEvent(QPaintEvent *e);
60 virtual void mousePressEvent(QMouseEvent *e); 63 virtual void mousePressEvent(QMouseEvent *e);
61 virtual void mouseReleaseEvent(QMouseEvent *e); 64 virtual void mouseReleaseEvent(QMouseEvent *e);
62 virtual void mouseMoveEvent(QMouseEvent *e); 65 virtual void mouseMoveEvent(QMouseEvent *e);