Mercurial > hg > svcore
changeset 7:49a95b174050
* Add more icons and rationalise menu options to the usual set (on the File menu)
* Fixes to import/export of dense 3-D data sets and imported models
author | Chris Cannam |
---|---|
date | Thu, 19 Jan 2006 17:59:11 +0000 |
parents | 44bbf5793d84 |
children | 214054a0d8b8 |
files | base/Layer.h |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/base/Layer.h Thu Jan 19 12:54:38 2006 +0000 +++ b/base/Layer.h Thu Jan 19 17:59:11 2006 +0000 @@ -89,9 +89,21 @@ virtual void setObjectName(const QString &name); + /** + * Convert the layer's data (though not those of the model it + * refers to) into an XML string for file output. This class + * implements the basic name/type/model-id output; subclasses will + * typically call this superclass implementation with extra + * attributes describing their particular properties. + */ virtual QString toXmlString(QString indent = "", QString extraAttributes = "") const; + /** + * Set the particular properties of a layer (those specific to the + * subclass) from a set of XML attributes. This is the effective + * inverse of the toXmlString method. + */ virtual void setProperties(const QXmlAttributes &) = 0; signals: