7#ifndef DOCUMENT_MODEL_GUIDELINE_H
8#define DOCUMENT_MODEL_GUIDELINE_H
48 virtual void loadXml(QXmlStreamReader &reader);
52 QTextStream &str)
const;
54 virtual void saveXml(QXmlStreamWriter &writer)
const;
82 void loadXmlVector (QXmlStreamReader &reader,
83 const QString &tokenEnd,
85 void saveXmlVector (QXmlStreamWriter &writer,
86 const QString &tokenAll,
91 double m_creationCircleRadius;
93 double m_lineWidthActive;
94 double m_lineWidthInactive;
QMap< QString, double > GuidelineValues
DocumentModelAbstractBase()
Single constructor.
void setLineColor(ColorPalette lineColor)
Set method for line color.
void setLineWidthInactive(double lineWidth)
Set method for line width when inactive.
virtual void loadXml(QXmlStreamReader &reader)
Load model from serialized xml.
virtual void saveXml(QXmlStreamWriter &writer) const
Save entire model as xml into stream.
void setCreationCircleRadius(double radius)
Set method for creation circle radius in pixels.
DocumentModelGuideline()
Default constructor.
DocumentModelGuideline & operator=(const DocumentModelGuideline &other)
Assignment constructor.
void setLineWidthActive(double lineWidth)
Set method for line width when active.
GuidelineValues valuesY() const
Get method for y/r values.
double lineWidthInactive() const
Get method for line width when inactive.
double creationCircleRadius() const
Get method for creation circle radius in pixels.
GuidelineValues valuesX() const
Get method for x/t values.
void setValuesY(const GuidelineValues &valuesY)
Set method for y/r values.
ColorPalette lineColor() const
Get method for line color.
void printStream(QString indentation, QTextStream &str) const
Debugging method that supports print method of this class and printStream method of some other class(...
void setValuesX(const GuidelineValues &valuesX)
Set method for x/t values.
double lineWidthActive() const
Get method for line width when active.
Storage of one imported image and the data attached to that image.