7#ifndef DOCUMENT_MODEL_SEGMENTS_H
8#define DOCUMENT_MODEL_SEGMENTS_H
48 virtual void loadXml(QXmlStreamReader &reader);
58 QTextStream &str)
const;
60 virtual void saveXml(QXmlStreamWriter &writer)
const;
85 double m_pointSeparation;
88 double m_lineWidthActive;
89 double m_lineWidthInactive;
InactiveOpacity
Enum for opacity/alpha values used for segments that are not currently under hover.
DocumentModelAbstractBase()
Single constructor.
virtual void loadXml(QXmlStreamReader &reader)
Load model from serialized xml.
DocumentModelSegments()
Default constructor.
void setFillCorners(bool fillCorners)
Set method for fill corners.
void setLineWidthActive(double lineWidth)
Set method for line width when active.
double lineWidthInactive() const
Get method for line width when inactive.
double lineWidthActive() const
Get method for line width when active.
void setInactiveOpacity(InactiveOpacity inactiveOpacity)
Set method for inactive opacity.
void setPointSeparation(double pointSeparation)
Set method for point separation.
void printStream(QString indentation, QTextStream &str) const
Debugging method that supports print method of this class and printStream method of some other class(...
InactiveOpacity inactiveOpacity() const
Get method for inactive opacity.
void setLineWidthInactive(double lineWidth)
Set method for line width when inactive.
DocumentModelSegments & operator=(const DocumentModelSegments &other)
Assignment constructor.
ColorPalette lineColor() const
Get method for line color.
double minLength() const
Get method for min length.
void setLineColor(ColorPalette lineColor)
Set method for line color.
bool fillCorners() const
Get method for fill corners.
virtual void saveXml(QXmlStreamWriter &writer) const
Save entire model as xml into stream.
double pointSeparation() const
Get method for point separation.
void setMinLength(double minLength)
Set method for min length.
Storage of one imported image and the data attached to that image.