Mercurial > hg > svgui
comparison layer/TimeInstantLayer.h @ 81:b9f71b8ae21e
* Ensure consistent ordering of layer text labels
* Fix erroneous SR mismatch warning when adding a wave-file model when
no other wave-file model is present (only models that don't assert any
particular playback samplerate)
author | Chris Cannam |
---|---|
date | Thu, 27 Apr 2006 11:49:34 +0000 |
parents | 19bf27e4fb29 |
children | 4b98bda7e94d |
comparison
equal
deleted
inserted
replaced
80:d99d67a5b93a | 81:b9f71b8ae21e |
---|---|
83 | 83 |
84 virtual bool isLayerEditable() const { return true; } | 84 virtual bool isLayerEditable() const { return true; } |
85 | 85 |
86 virtual int getCompletion() const { return m_model->getCompletion(); } | 86 virtual int getCompletion() const { return m_model->getCompletion(); } |
87 | 87 |
88 virtual bool needsTextLabelHeight() const { return true; } | 88 virtual bool needsTextLabelHeight() const { return m_model->hasTextLabels(); } |
89 | 89 |
90 virtual bool getValueExtents(float &min, float &max, QString &unit) const { | 90 virtual bool getValueExtents(float &min, float &max, QString &unit) const { |
91 return false; | 91 return false; |
92 } | 92 } |
93 | 93 |