Mercurial > hg > svcore
comparison base/Layer.h @ 6:44bbf5793d84
* 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 | 581f67f370f3 |
children | 49a95b174050 |
comparison
equal
deleted
inserted
replaced
5:31c4ed2d5da6 | 6:44bbf5793d84 |
---|---|
14 #include "PropertyContainer.h" | 14 #include "PropertyContainer.h" |
15 #include "XmlExportable.h" | 15 #include "XmlExportable.h" |
16 | 16 |
17 #include <QObject> | 17 #include <QObject> |
18 #include <QRect> | 18 #include <QRect> |
19 #include <QXmlAttributes> | |
19 | 20 |
20 class ZoomConstraint; | 21 class ZoomConstraint; |
21 class Model; | 22 class Model; |
22 class QPainter; | 23 class QPainter; |
23 class View; | 24 class View; |
89 virtual void setObjectName(const QString &name); | 90 virtual void setObjectName(const QString &name); |
90 | 91 |
91 virtual QString toXmlString(QString indent = "", | 92 virtual QString toXmlString(QString indent = "", |
92 QString extraAttributes = "") const; | 93 QString extraAttributes = "") const; |
93 | 94 |
95 virtual void setProperties(const QXmlAttributes &) = 0; | |
96 | |
94 signals: | 97 signals: |
95 void modelChanged(); | 98 void modelChanged(); |
96 void modelCompletionChanged(); | 99 void modelCompletionChanged(); |
97 void modelChanged(size_t startFrame, size_t endFrame); | 100 void modelChanged(size_t startFrame, size_t endFrame); |
98 void modelReplaced(); | 101 void modelReplaced(); |