comparison view/View.h @ 374:64e84e5efb76 spectrogram-cache-rejig

* Merge from trunk
author Chris Cannam
date Wed, 27 Feb 2008 11:59:42 +0000
parents 984c1975f1ff
children
comparison
equal deleted inserted replaced
332:6440e280122e 374:64e84e5efb76
269 void propertyContainerPropertyRangeChanged(PropertyContainer *pc); 269 void propertyContainerPropertyRangeChanged(PropertyContainer *pc);
270 void propertyContainerNameChanged(PropertyContainer *pc); 270 void propertyContainerNameChanged(PropertyContainer *pc);
271 void propertyContainerSelected(PropertyContainer *pc); 271 void propertyContainerSelected(PropertyContainer *pc);
272 void propertyChanged(PropertyContainer::PropertyName); 272 void propertyChanged(PropertyContainer::PropertyName);
273 273
274 void layerModelChanged();
275
274 void centreFrameChanged(unsigned long frame, 276 void centreFrameChanged(unsigned long frame,
275 bool globalScroll, 277 bool globalScroll,
276 PlaybackFollowMode followMode); 278 PlaybackFollowMode followMode);
277 279
278 void zoomLevelChanged(unsigned long, bool); 280 void zoomLevelChanged(unsigned long, bool);
306 View(QWidget *, bool showProgress); 308 View(QWidget *, bool showProgress);
307 virtual void paintEvent(QPaintEvent *e); 309 virtual void paintEvent(QPaintEvent *e);
308 virtual void drawSelections(QPainter &); 310 virtual void drawSelections(QPainter &);
309 virtual bool shouldLabelSelections() const { return true; } 311 virtual bool shouldLabelSelections() const { return true; }
310 virtual bool render(QPainter &paint, int x0, size_t f0, size_t f1); 312 virtual bool render(QPainter &paint, int x0, size_t f0, size_t f1);
311 313 virtual void setPaintFont(QPainter &paint);
314
312 typedef std::vector<Layer *> LayerList; 315 typedef std::vector<Layer *> LayerList;
313 316
314 int getModelsSampleRate() const; 317 int getModelsSampleRate() const;
315 bool areLayersScrollable() const; 318 bool areLayersScrollable() const;
316 LayerList getScrollableBackLayers(bool testChanged, bool &changed) const; 319 LayerList getScrollableBackLayers(bool testChanged, bool &changed) const;