1 #ifndef DOCUMENT_MODEL_COMMON_H
2 #define DOCUMENT_MODEL_COMMON_H
4 #include "DocumentModelAbstractBase.h"
31 virtual void loadXml(QXmlStreamReader &reader);
35 QTextStream &str)
const;
37 virtual void saveXml(QXmlStreamWriter &writer)
const;
51 #endif // DOCUMENT_MODEL_COMMON_H
Abstract base class for document models. This class enforces a common interface for the leaf subclass...
int extraPrecision() const
Get method for extra digits of precsion.
Model for DlgSettingsCommon and CmdSettingsCommon.
virtual void saveXml(QXmlStreamWriter &writer) const
Save entire model as xml into stream.
DocumentModelCommon()
Default constructor.
int cursorSize() const
Get method for effective cursor size.
void setExtraPrecision(int extraPrecision)
Set method for extra digits of precision.
Storage of one imported image and the data attached to that image.
virtual void loadXml(QXmlStreamReader &reader)
Load model from serialized xml.
void setCursorSize(int cursorSize)
Set method for effective cursor size.
DocumentModelCommon & operator=(const DocumentModelCommon &other)
Assignment constructor.
void printStream(QString indentation, QTextStream &str) const
Debugging method that supports print method of this class and printStream method of some other class(...