comparison layer/TimeValueLayer.h @ 79:19bf27e4fb29

* Replace crash with warning when a transform could not be automatically re-run * More sensible default paths for Vamp plugin lookup (at least on Linux and OS/X) * A start to making the y coords for time value layers etc align * Set sensible y coords for text labels in time instant and value layers
author Chris Cannam
date Thu, 13 Apr 2006 18:29:10 +0000
parents 45ba0b381c5d
children b9f71b8ae21e
comparison
equal deleted inserted replaced
78:967193b6c7aa 79:19bf27e4fb29
100 100
101 virtual bool isLayerEditable() const { return true; } 101 virtual bool isLayerEditable() const { return true; }
102 102
103 virtual int getCompletion() const { return m_model->getCompletion(); } 103 virtual int getCompletion() const { return m_model->getCompletion(); }
104 104
105 virtual bool needsTextLabelHeight() const {
106 return m_plotStyle == PlotSegmentation;
107 }
108
109 virtual bool getValueExtents(float &min, float &max, QString &unit) const;
110
105 virtual QString toXmlString(QString indent = "", 111 virtual QString toXmlString(QString indent = "",
106 QString extraAttributes = "") const; 112 QString extraAttributes = "") const;
107 113
108 void setProperties(const QXmlAttributes &attributes); 114 void setProperties(const QXmlAttributes &attributes);
109 115