comparison view/View.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 bd2d0346da0e
children 9465b5375235
comparison
equal deleted inserted replaced
221:9e739f92c0b8 222:cd81066ac7ad
222 bool &log) const; 222 bool &log) const;
223 223
224 virtual QString toXmlString(QString indent = "", 224 virtual QString toXmlString(QString indent = "",
225 QString extraAttributes = "") const; 225 QString extraAttributes = "") const;
226 226
227 // First frame actually in model, to right of scale, if present
228 virtual size_t getFirstVisibleFrame() const;
229 virtual size_t getLastVisibleFrame() const;
230
227 size_t getModelsStartFrame() const; 231 size_t getModelsStartFrame() const;
228 size_t getModelsEndFrame() const; 232 size_t getModelsEndFrame() const;
229 233
230 signals: 234 signals:
231 void propertyContainerAdded(PropertyContainer *pc); 235 void propertyContainerAdded(PropertyContainer *pc);
237 241
238 void centreFrameChanged(unsigned long frame, 242 void centreFrameChanged(unsigned long frame,
239 bool globalScroll, 243 bool globalScroll,
240 PlaybackFollowMode followMode); 244 PlaybackFollowMode followMode);
241 245
242 void zoomLevelChanged(void *, unsigned long, bool); 246 void zoomLevelChanged(unsigned long, bool);
243 247
244 void contextHelpChanged(const QString &); 248 void contextHelpChanged(const QString &);
245 249
246 public slots: 250 public slots:
247 virtual void modelChanged(); 251 virtual void modelChanged();
253 virtual void layerNameChanged(); 257 virtual void layerNameChanged();
254 258
255 virtual void globalCentreFrameChanged(unsigned long); 259 virtual void globalCentreFrameChanged(unsigned long);
256 virtual void viewCentreFrameChanged(View *, unsigned long); 260 virtual void viewCentreFrameChanged(View *, unsigned long);
257 virtual void viewManagerPlaybackFrameChanged(unsigned long); 261 virtual void viewManagerPlaybackFrameChanged(unsigned long);
258 virtual void viewManagerZoomLevelChanged(void *, unsigned long, bool); 262 virtual void viewZoomLevelChanged(View *, unsigned long, bool);
259 263
260 virtual void propertyContainerSelected(View *, PropertyContainer *pc); 264 virtual void propertyContainerSelected(View *, PropertyContainer *pc);
261 265
262 virtual void selectionChanged(); 266 virtual void selectionChanged();
263 virtual void toolModeChanged(); 267 virtual void toolModeChanged();