comparison layer/TimeRulerLayer.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 0183ebb725ca
comparison
equal deleted inserted replaced
10:8f5b812baaee 11:2d5005f2b3d9
49 virtual QString getPropertyContainerIconName() const { return "timeruler"; } 49 virtual QString getPropertyContainerIconName() const { return "timeruler"; }
50 50
51 virtual QString toXmlString(QString indent = "", 51 virtual QString toXmlString(QString indent = "",
52 QString extraAttributes = "") const; 52 QString extraAttributes = "") const;
53 53
54 void setProperties(const QXmlAttributes &attributes);
55
54 protected: 56 protected:
55 Model *m_model; 57 Model *m_model;
56 QColor m_colour; 58 QColor m_colour;
57 LabelHeight m_labelHeight; 59 LabelHeight m_labelHeight;
58 }; 60 };