7 #ifndef DOCUMENT_MODEL_POINT_MATCH_H 8 #define DOCUMENT_MODEL_POINT_MATCH_H 10 #include "ColorPalette.h" 11 #include "DocumentModelAbstractBase.h" 32 virtual void loadXml(QXmlStreamReader &reader);
48 QTextStream &str)
const;
50 virtual void saveXml(QXmlStreamWriter &writer)
const;
66 double m_minPointSeparation;
67 double m_maxPointSize;
68 ColorPalette m_paletteColorAccepted;
69 ColorPalette m_paletteColorCandidate;
70 ColorPalette m_paletteColorRejected;
73 #endif // DOCUMENT_MODEL_POINT_MATCH_H double maxPointSize() const
Get method for max point size.
Model for DlgSettingsPointMatch and CmdSettingsPointMatch.
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 setPaletteColorCandidate(ColorPalette paletteColorCandidate)
Set method for candidate color.
virtual void loadXml(QXmlStreamReader &reader)
Load model from serialized xml.
DocumentModelPointMatch & operator=(const DocumentModelPointMatch &other)
Assignment constructor.
void setMaxPointSize(double maxPointSize)
Set method for max point size.
DocumentModelPointMatch()
Default constructor.
Storage of one imported image and the data attached to that image.
void setPaletteColorRejected(ColorPalette paletteColorRejected)
Set method for rejected color.
ColorPalette paletteColorCandidate() const
Get method for candidate color.
ColorPalette paletteColorRejected() const
Get method for rejected color.
ColorPalette paletteColorAccepted() const
Get method for accepted 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 setPaletteColorAccepted(ColorPalette paletteColorAccepted)
Set method for accepted color.