Go to the documentation of this file.
7 #ifndef DOCUMENT_MODEL_SEGMENTS_H
8 #define DOCUMENT_MODEL_SEGMENTS_H
41 virtual void loadXml(QXmlStreamReader &reader);
51 QTextStream &str)
const;
53 virtual void saveXml(QXmlStreamWriter &writer)
const;
72 double m_pointSeparation;
79 #endif // DOCUMENT_MODEL_SEGMENTS_H
ColorPalette lineColor() const
Get method for line color.
bool fillCorners() const
Get method for fill corners.
void setLineColor(ColorPalette lineColor)
Set method for line color.
Storage of one imported image and the data attached to that image.
DocumentModelSegments & operator=(const DocumentModelSegments &other)
Assignment constructor.
virtual void loadXml(QXmlStreamReader &reader)
Load model from serialized xml.
double minLength() const
Get method for min length.
DocumentModelSegments()
Default constructor.
void setMinLength(double minLength)
Set method for min length.
Abstract base class for document models. This class enforces a common interface for the leaf subclass...
Model for DlgSettingsSegments and CmdSettingsSegments.
double pointSeparation() const
Get method for point separation.
void setFillCorners(bool fillCorners)
Set method for fill corners.
void setLineWidth(double lineWidth)
Set method for line width.
void printStream(QString indentation, QTextStream &str) const
Debugging method that supports print method of this class and printStream method of some other class(...
void setPointSeparation(double pointSeparation)
Set method for point separation.
double lineWidth() const
Get method for line width.
virtual void saveXml(QXmlStreamWriter &writer) const
Save entire model as xml into stream.