comparison view/ViewManager.h @ 222:cd81066ac7ad

* More useful status bar text -- show the current play time and the extents of the visible area * Add update-i18n.sh to update the i18n/ts and qm files -- I can't get qmake to do the right thing now that the project file has been split up into several project files * Fix missing Q_OBJECTs, etc, reported by lupdate * Update Russian translation from AlexandrE
author Chris Cannam
date Wed, 07 Mar 2007 17:07:02 +0000
parents e2baee498ec8
children 9465b5375235
comparison
equal deleted inserted replaced
221:9e739f92c0b8 222:cd81066ac7ad
145 void globalCentreFrameChanged(unsigned long frame); 145 void globalCentreFrameChanged(unsigned long frame);
146 146
147 /** Emitted when user scrolls a view, but doesn't affect global centre. */ 147 /** Emitted when user scrolls a view, but doesn't affect global centre. */
148 void viewCentreFrameChanged(View *v, unsigned long frame); 148 void viewCentreFrameChanged(View *v, unsigned long frame);
149 149
150 /** Emitted when a view zooms. The originator identifies the view. */
151 void zoomLevelChanged(void *originator, unsigned long zoom, bool locked);
152
153 /** Emitted when a view zooms. */ 150 /** Emitted when a view zooms. */
154 void zoomLevelChanged(); 151 void viewZoomLevelChanged(View *v, unsigned long zoom, bool locked);
155 152
156 /** Emitted when the playback frame changes. */ 153 /** Emitted when the playback frame changes. */
157 void playbackFrameChanged(unsigned long frame); 154 void playbackFrameChanged(unsigned long frame);
158 155
159 /** Emitted when the output levels change. Values in range 0.0 -> 1.0. */ 156 /** Emitted when the output levels change. Values in range 0.0 -> 1.0. */
182 /** Emitted when the zoom wheels have been toggled. */ 179 /** Emitted when the zoom wheels have been toggled. */
183 void zoomWheelsEnabledChanged(); 180 void zoomWheelsEnabledChanged();
184 181
185 public slots: 182 public slots:
186 void viewCentreFrameChanged(unsigned long, bool, PlaybackFollowMode); 183 void viewCentreFrameChanged(unsigned long, bool, PlaybackFollowMode);
184 void viewZoomLevelChanged(unsigned long, bool);
187 185
188 protected slots: 186 protected slots:
189 void checkPlayStatus(); 187 void checkPlayStatus();
190 void playStatusChanged(bool playing); 188 void playStatusChanged(bool playing);
191 void seek(unsigned long); 189 void seek(unsigned long);
192 void considerZoomChange(void *, unsigned long, bool); 190 //!!! void considerZoomChange(void *, unsigned long, bool);
193 191
194 protected: 192 protected:
195 AudioPlaySource *m_playSource; 193 AudioPlaySource *m_playSource;
196 unsigned long m_globalCentreFrame; 194 unsigned long m_globalCentreFrame;
197 unsigned long m_globalZoom; 195 unsigned long m_globalZoom;