Mercurial > hg > svgui
comparison layer/TimeValueLayer.h @ 11:2d5005f2b3d9
* Rework handling of layer properties in file I/O -- we now get the individual
layers to load and save them rather than doing it via generic property lists
in the base class, so as to ensure we read and write meaningful values rather
than generic int values requiring conversion.
author | Chris Cannam |
---|---|
date | Thu, 19 Jan 2006 12:54:38 +0000 |
parents | 02aaea1ffaf7 |
children | 01849cd277e6 |
comparison
equal
deleted
inserted
replaced
10:8f5b812baaee | 11:2d5005f2b3d9 |
---|---|
57 virtual int getCompletion() const { return m_model->getCompletion(); } | 57 virtual int getCompletion() const { return m_model->getCompletion(); } |
58 | 58 |
59 virtual QString toXmlString(QString indent = "", | 59 virtual QString toXmlString(QString indent = "", |
60 QString extraAttributes = "") const; | 60 QString extraAttributes = "") const; |
61 | 61 |
62 void setProperties(const QXmlAttributes &attributes); | |
63 | |
62 protected: | 64 protected: |
63 SparseTimeValueModel::PointList getLocalPoints(int) const; | 65 SparseTimeValueModel::PointList getLocalPoints(int) const; |
64 | 66 |
65 SparseTimeValueModel *m_model; | 67 SparseTimeValueModel *m_model; |
66 QColor m_colour; | 68 QColor m_colour; |