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