|
Engauge Digitizer
2
|
Model for DlgSettingsSegments and CmdSettingsSegments. More...
#include <DocumentModelSegments.h>


Public Member Functions | |
| DocumentModelSegments () | |
| Default constructor. More... | |
| DocumentModelSegments (const Document &document) | |
| Initial constructor from Document. More... | |
| DocumentModelSegments (const DocumentModelSegments &other) | |
| Copy constructor. More... | |
| DocumentModelSegments & | operator= (const DocumentModelSegments &other) |
| Assignment constructor. More... | |
| bool | fillCorners () const |
| Get method for fill corners. More... | |
| ColorPalette | lineColor () const |
| Get method for line color. More... | |
| double | lineWidth () const |
| Get method for line width. More... | |
| virtual void | loadXml (QXmlStreamReader &reader) |
| Load model from serialized xml. More... | |
| double | minLength () const |
| Get method for min length. More... | |
| double | pointSeparation () const |
| Get method for point separation. More... | |
| void | printStream (QString indentation, QTextStream &str) const |
| Debugging method that supports print method of this class and printStream method of some other class(es) More... | |
| virtual void | saveXml (QXmlStreamWriter &writer) const |
| Save entire model as xml into stream. More... | |
| void | setFillCorners (bool fillCorners) |
| Set method for fill corners. More... | |
| void | setLineColor (ColorPalette lineColor) |
| Set method for line color. More... | |
| void | setLineWidth (double lineWidth) |
| Set method for line width. More... | |
| void | setMinLength (double minLength) |
| Set method for min length. More... | |
| void | setPointSeparation (double pointSeparation) |
| Set method for point separation. More... | |
Public Member Functions inherited from DocumentModelAbstractBase | |
| DocumentModelAbstractBase () | |
| Single constructor. More... | |
| virtual | ~DocumentModelAbstractBase () |
| Single destructor. More... | |
Additional Inherited Members |
Model for DlgSettingsSegments and CmdSettingsSegments.
Definition at line 17 of file DocumentModelSegments.h.
| DocumentModelSegments::DocumentModelSegments | ( | ) |
Default constructor.
Definition at line 21 of file DocumentModelSegments.cpp.
| DocumentModelSegments::DocumentModelSegments | ( | const Document & | document | ) |
Initial constructor from Document.
Definition at line 30 of file DocumentModelSegments.cpp.
| DocumentModelSegments::DocumentModelSegments | ( | const DocumentModelSegments & | other | ) |
Copy constructor.
Definition at line 39 of file DocumentModelSegments.cpp.
| bool DocumentModelSegments::fillCorners | ( | ) | const |
Get method for fill corners.
Definition at line 59 of file DocumentModelSegments.cpp.
| ColorPalette DocumentModelSegments::lineColor | ( | ) | const |
Get method for line color.
Definition at line 64 of file DocumentModelSegments.cpp.
| double DocumentModelSegments::lineWidth | ( | ) | const |
Get method for line width.
Definition at line 69 of file DocumentModelSegments.cpp.
|
virtual |
Load model from serialized xml.
Implements DocumentModelAbstractBase.
Definition at line 74 of file DocumentModelSegments.cpp.
| double DocumentModelSegments::minLength | ( | ) | const |
Get method for min length.
Definition at line 95 of file DocumentModelSegments.cpp.
| DocumentModelSegments & DocumentModelSegments::operator= | ( | const DocumentModelSegments & | other | ) |
Assignment constructor.
Definition at line 48 of file DocumentModelSegments.cpp.
| double DocumentModelSegments::pointSeparation | ( | ) | const |
Get method for point separation.
Definition at line 100 of file DocumentModelSegments.cpp.
| void DocumentModelSegments::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 105 of file DocumentModelSegments.cpp.
|
virtual |
Save entire model as xml into stream.
Implements DocumentModelAbstractBase.
Definition at line 119 of file DocumentModelSegments.cpp.
| void DocumentModelSegments::setFillCorners | ( | bool | fillCorners | ) |
Set method for fill corners.
Definition at line 135 of file DocumentModelSegments.cpp.
| void DocumentModelSegments::setLineColor | ( | ColorPalette | lineColor | ) |
Set method for line color.
Definition at line 140 of file DocumentModelSegments.cpp.
| void DocumentModelSegments::setLineWidth | ( | double | lineWidth | ) |
Set method for line width.
Definition at line 145 of file DocumentModelSegments.cpp.
| void DocumentModelSegments::setMinLength | ( | double | minLength | ) |
Set method for min length.
Definition at line 150 of file DocumentModelSegments.cpp.
| void DocumentModelSegments::setPointSeparation | ( | double | pointSeparation | ) |
Set method for point separation.
Definition at line 155 of file DocumentModelSegments.cpp.
1.8.14