Mercurial > hg > svgui
comparison layer/TimeValueLayer.h @ 316:c0b9eec70639
* Make XmlExportable::toXml the function that is universally overridden (and
pure virtual) instead of toXmlString. Tidies up some classes, notably the
model classes, significantly. Closes #1794561.
author | Chris Cannam |
---|---|
date | Thu, 18 Oct 2007 10:15:07 +0000 |
parents | ea37c229a578 |
children | 2f83b6e3b8ca 64e84e5efb76 |
comparison
equal
deleted
inserted
replaced
315:c30a7cd29f4a | 316:c0b9eec70639 |
---|---|
112 virtual bool getValueExtents(float &min, float &max, | 112 virtual bool getValueExtents(float &min, float &max, |
113 bool &logarithmic, QString &unit) const; | 113 bool &logarithmic, QString &unit) const; |
114 | 114 |
115 virtual bool getDisplayExtents(float &min, float &max) const; | 115 virtual bool getDisplayExtents(float &min, float &max) const; |
116 | 116 |
117 virtual QString toXmlString(QString indent = "", | 117 virtual void toXml(QTextStream &stream, QString indent = "", |
118 QString extraAttributes = "") const; | 118 QString extraAttributes = "") const; |
119 | 119 |
120 void setProperties(const QXmlAttributes &attributes); | 120 void setProperties(const QXmlAttributes &attributes); |
121 | 121 |
122 protected: | 122 protected: |
123 void getScaleExtents(View *, float &min, float &max, bool &log) const; | 123 void getScaleExtents(View *, float &min, float &max, bool &log) const; |