Engauge Digitizer 2
|
Model for DlgSettingsPointMatch and CmdSettingsPointMatch. More...
#include <DocumentModelPointMatch.h>
Public Member Functions | |
DocumentModelPointMatch () | |
Default constructor. | |
DocumentModelPointMatch (const Document &document) | |
Initial constructor from Document. | |
DocumentModelPointMatch (const DocumentModelPointMatch &other) | |
Copy constructor. | |
DocumentModelPointMatch & | operator= (const DocumentModelPointMatch &other) |
Assignment constructor. | |
virtual void | loadXml (QXmlStreamReader &reader) |
Load model from serialized xml. | |
double | maxPointSize () const |
Get method for max point size. | |
ColorPalette | paletteColorAccepted () const |
Get method for accepted color. | |
ColorPalette | paletteColorCandidate () const |
Get method for candidate color. | |
ColorPalette | paletteColorRejected () const |
Get method for rejected color. | |
void | printStream (QString indentation, QTextStream &str) const |
Debugging method that supports print method of this class and printStream method of some other class(es) | |
virtual void | saveXml (QXmlStreamWriter &writer) const |
Save entire model as xml into stream. | |
void | setMaxPointSize (double maxPointSize) |
Set method for max point size. | |
void | setPaletteColorAccepted (ColorPalette paletteColorAccepted) |
Set method for accepted color. | |
void | setPaletteColorCandidate (ColorPalette paletteColorCandidate) |
Set method for candidate color. | |
void | setPaletteColorRejected (ColorPalette paletteColorRejected) |
Set method for rejected color. | |
Public Member Functions inherited from DocumentModelAbstractBase | |
DocumentModelAbstractBase () | |
Single constructor. | |
virtual | ~DocumentModelAbstractBase () |
Single destructor. |
Model for DlgSettingsPointMatch and CmdSettingsPointMatch.
Definition at line 17 of file DocumentModelPointMatch.h.
DocumentModelPointMatch::DocumentModelPointMatch | ( | ) |
Default constructor.
Definition at line 22 of file DocumentModelPointMatch.cpp.
DocumentModelPointMatch::DocumentModelPointMatch | ( | const Document & | document | ) |
Initial constructor from Document.
Definition at line 31 of file DocumentModelPointMatch.cpp.
DocumentModelPointMatch::DocumentModelPointMatch | ( | const DocumentModelPointMatch & | other | ) |
Copy constructor.
Definition at line 39 of file DocumentModelPointMatch.cpp.
|
virtual |
Load model from serialized xml.
Implements DocumentModelAbstractBase.
Definition at line 57 of file DocumentModelPointMatch.cpp.
double DocumentModelPointMatch::maxPointSize | ( | ) | const |
Get method for max point size.
Definition at line 91 of file DocumentModelPointMatch.cpp.
DocumentModelPointMatch & DocumentModelPointMatch::operator= | ( | const DocumentModelPointMatch & | other | ) |
Assignment constructor.
Definition at line 47 of file DocumentModelPointMatch.cpp.
ColorPalette DocumentModelPointMatch::paletteColorAccepted | ( | ) | const |
Get method for accepted color.
Definition at line 96 of file DocumentModelPointMatch.cpp.
ColorPalette DocumentModelPointMatch::paletteColorCandidate | ( | ) | const |
Get method for candidate color.
Definition at line 101 of file DocumentModelPointMatch.cpp.
ColorPalette DocumentModelPointMatch::paletteColorRejected | ( | ) | const |
Get method for rejected color.
Definition at line 106 of file DocumentModelPointMatch.cpp.
void DocumentModelPointMatch::printStream | ( | QString | indentation, |
QTextStream & | str ) const |
Debugging method that supports print method of this class and printStream method of some other class(es)
Definition at line 111 of file DocumentModelPointMatch.cpp.
|
virtual |
Save entire model as xml into stream.
Implements DocumentModelAbstractBase.
Definition at line 125 of file DocumentModelPointMatch.cpp.
void DocumentModelPointMatch::setMaxPointSize | ( | double | maxPointSize | ) |
Set method for max point size.
Definition at line 140 of file DocumentModelPointMatch.cpp.
void DocumentModelPointMatch::setPaletteColorAccepted | ( | ColorPalette | paletteColorAccepted | ) |
Set method for accepted color.
Definition at line 145 of file DocumentModelPointMatch.cpp.
void DocumentModelPointMatch::setPaletteColorCandidate | ( | ColorPalette | paletteColorCandidate | ) |
Set method for candidate color.
Definition at line 150 of file DocumentModelPointMatch.cpp.
void DocumentModelPointMatch::setPaletteColorRejected | ( | ColorPalette | paletteColorRejected | ) |
Set method for rejected color.
Definition at line 155 of file DocumentModelPointMatch.cpp.