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 void printStream(QString indentation, QTextStream &str) const
Debugging method that supports print method of this class and printStream method of some other class(...
Abstract base class for document models. This class enforces a common interface for the leaf subclass...
CursorSize cursorSize() const
Get method for cursor size.
virtual void saveXml(QXmlStreamWriter &writer) const
Save entire model as xml into stream.
void setCursorLineWidth(int lineWidth)
Set method for cursor line width.
void setCursorSize(CursorSize cursorSize)
Set method for cursor size.
virtual void loadXml(QXmlStreamReader &reader)
Load model from serialized xml.
Model for DlgSettingsDigitizeCurve and CmdSettingsDigitizeCurve.
void setCursorInnerRadius(int innerRadius)
Set method for cursor inner radius.
Storage of one imported image and the data attached to that image.
int cursorInnerRadius() const
Get method for cursor inner radius.
bool cursorStandardCross() const
Get method for cursor type.
int cursorLineWidth() const
Get method for cursor line width.
DocumentModelDigitizeCurve & operator=(const DocumentModelDigitizeCurve &other)
Assignment constructor.
DocumentModelDigitizeCurve()
Default constructor.
void setCursorStandardCross(bool cursorStandardCross)
Set method for cursor type.