7 #ifndef DOCUMENT_MODEL_DIGITIZE_CURVE_H 8 #define DOCUMENT_MODEL_DIGITIZE_CURVE_H 10 #include "CursorSize.h" 11 #include "DocumentModelAbstractBase.h" 45 virtual void loadXml(QXmlStreamReader &reader);
49 QTextStream &str)
const;
51 virtual void saveXml(QXmlStreamWriter &writer)
const;
67 bool m_cursorStandardCross;
68 int m_cursorInnerRadius;
69 int m_cursorLineWidth;
70 CursorSize m_cursorSize;
73 #endif // DOCUMENT_MODEL_DIGITIZE_CURVE_H int cursorLineWidth() const
Get method for cursor line width.
Abstract base class for document models. This class enforces a common interface for the leaf subclass...
virtual void saveXml(QXmlStreamWriter &writer) const
Save entire model as xml into stream.
void setCursorLineWidth(int lineWidth)
Set method for cursor line width.
bool cursorStandardCross() const
Get method for cursor type.
void setCursorSize(CursorSize cursorSize)
Set method for cursor size.
void printStream(QString indentation, QTextStream &str) const
Debugging method that supports print method of this class and printStream method of some other class(...
virtual void loadXml(QXmlStreamReader &reader)
Load model from serialized xml.
Model for DlgSettingsDigitizeCurve and CmdSettingsDigitizeCurve.
int cursorInnerRadius() const
Get method for cursor inner radius.
void setCursorInnerRadius(int innerRadius)
Set method for cursor inner radius.
Storage of one imported image and the data attached to that image.
CursorSize cursorSize() const
Get method for cursor size.
DocumentModelDigitizeCurve & operator=(const DocumentModelDigitizeCurve &other)
Assignment constructor.
DocumentModelDigitizeCurve()
Default constructor.
void setCursorStandardCross(bool cursorStandardCross)
Set method for cursor type.