Mercurial > hg > svgui
comparison view/View.h @ 339:ac954fc0ec6f
* Fix #1844539 confusing waveform navigator with secondary files
author | Chris Cannam |
---|---|
date | Wed, 12 Dec 2007 17:42:23 +0000 |
parents | 4a542ba875c2 |
children | c1e5af9f2c3c |
comparison
equal
deleted
inserted
replaced
338:1d3b27e69bf0 | 339:ac954fc0ec6f |
---|---|
308 View(QWidget *, bool showProgress); | 308 View(QWidget *, bool showProgress); |
309 virtual void paintEvent(QPaintEvent *e); | 309 virtual void paintEvent(QPaintEvent *e); |
310 virtual void drawSelections(QPainter &); | 310 virtual void drawSelections(QPainter &); |
311 virtual bool shouldLabelSelections() const { return true; } | 311 virtual bool shouldLabelSelections() const { return true; } |
312 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); |
313 | 313 virtual void setPaintFont(QPainter &paint); |
314 | |
314 typedef std::vector<Layer *> LayerList; | 315 typedef std::vector<Layer *> LayerList; |
315 | 316 |
316 int getModelsSampleRate() const; | 317 int getModelsSampleRate() const; |
317 bool areLayersScrollable() const; | 318 bool areLayersScrollable() const; |
318 LayerList getScrollableBackLayers(bool testChanged, bool &changed) const; | 319 LayerList getScrollableBackLayers(bool testChanged, bool &changed) const; |