Mercurial > hg > svgui
comparison view/Pane.h @ 1519:235e08aa2d5d time-frequency-boxes
Make getTopLayerDisplayExtents public (ugh) for use when setting up a new empty layer with auto-align over the top of another one
author | Chris Cannam |
---|---|
date | Wed, 25 Sep 2019 09:46:20 +0100 |
parents | e540aa5d89cd |
children | 4f8c72adbf43 |
comparison
equal
deleted
inserted
replaced
1518:2e94c268f7a0 | 1519:235e08aa2d5d |
---|---|
103 | 103 |
104 void zoomToRegion(QRect r); | 104 void zoomToRegion(QRect r); |
105 | 105 |
106 void mouseEnteredWidget(); | 106 void mouseEnteredWidget(); |
107 void mouseLeftWidget(); | 107 void mouseLeftWidget(); |
108 | |
109 bool getTopLayerDisplayExtents(double &valueMin, double &valueMax, | |
110 double &displayMin, double &displayMax, | |
111 QString *unit = 0); | |
108 | 112 |
109 protected slots: | 113 protected slots: |
110 void playbackScheduleTimerElapsed(); | 114 void playbackScheduleTimerElapsed(); |
111 | 115 |
112 protected: | 116 protected: |
147 | 151 |
148 void updateHeadsUpDisplay(); | 152 void updateHeadsUpDisplay(); |
149 void updateVerticalPanner(); | 153 void updateVerticalPanner(); |
150 | 154 |
151 bool canTopLayerMoveVertical(); | 155 bool canTopLayerMoveVertical(); |
152 bool getTopLayerDisplayExtents(double &valueMin, double &valueMax, | |
153 double &displayMin, double &displayMax, | |
154 QString *unit = 0); | |
155 bool setTopLayerDisplayExtents(double displayMin, double displayMax); | 156 bool setTopLayerDisplayExtents(double displayMin, double displayMax); |
156 | 157 |
157 void dragTopLayer(QMouseEvent *e); | 158 void dragTopLayer(QMouseEvent *e); |
158 void dragExtendSelection(QMouseEvent *e); | 159 void dragExtendSelection(QMouseEvent *e); |
159 void updateContextHelp(const QPoint *pos); | 160 void updateContextHelp(const QPoint *pos); |