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


Public Member Functions | |
| DocumentModelSegments () | |
| Default constructor. | |
| DocumentModelSegments (const Document &document) | |
| Initial constructor from Document. | |
| DocumentModelSegments (const DocumentModelSegments &other) | |
| Copy constructor. | |
| DocumentModelSegments & | operator= (const DocumentModelSegments &other) |
| Assignment constructor. | |
| bool | fillCorners () const |
| Get method for fill corners. | |
| InactiveOpacity | inactiveOpacity () const |
| Get method for inactive opacity. | |
| ColorPalette | lineColor () const |
| Get method for line color. | |
| double | lineWidthActive () const |
| Get method for line width when active. | |
| double | lineWidthInactive () const |
| Get method for line width when inactive. | |
| virtual void | loadXml (QXmlStreamReader &reader) |
| Load model from serialized xml. | |
| double | minLength () const |
| Get method for min length. | |
| double | pointSeparation () const |
| Get 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(es). | |
| virtual void | saveXml (QXmlStreamWriter &writer) const |
| Save entire model as xml into stream. | |
| void | setFillCorners (bool fillCorners) |
| Set method for fill corners. | |
| void | setInactiveOpacity (InactiveOpacity inactiveOpacity) |
| Set method for inactive opacity. | |
| void | setLineColor (ColorPalette lineColor) |
| Set method for line color. | |
| void | setLineWidthActive (double lineWidth) |
| Set method for line width when active. | |
| void | setLineWidthInactive (double lineWidth) |
| Set method for line width when inactive. | |
| void | setMinLength (double minLength) |
| Set method for min length. | |
| void | setPointSeparation (double pointSeparation) |
| Set method for point separation. | |
| Public Member Functions inherited from DocumentModelAbstractBase | |
| DocumentModelAbstractBase () | |
| Single constructor. | |
| virtual | ~DocumentModelAbstractBase () |
| Single destructor. | |
Model for DlgSettingsSegments and CmdSettingsSegments.
Definition at line 18 of file DocumentModelSegments.h.
| DocumentModelSegments::DocumentModelSegments | ( | ) |
Default constructor.
Definition at line 24 of file DocumentModelSegments.cpp.
| DocumentModelSegments::DocumentModelSegments | ( | const Document & | document | ) |
Initial constructor from Document.
Definition at line 35 of file DocumentModelSegments.cpp.
| DocumentModelSegments::DocumentModelSegments | ( | const DocumentModelSegments & | other | ) |
Copy constructor.
Definition at line 46 of file DocumentModelSegments.cpp.
| bool DocumentModelSegments::fillCorners | ( | ) | const |
Get method for fill corners.
Definition at line 70 of file DocumentModelSegments.cpp.
| InactiveOpacity DocumentModelSegments::inactiveOpacity | ( | ) | const |
Get method for inactive opacity.
Definition at line 75 of file DocumentModelSegments.cpp.
| ColorPalette DocumentModelSegments::lineColor | ( | ) | const |
Get method for line color.
Definition at line 80 of file DocumentModelSegments.cpp.
| double DocumentModelSegments::lineWidthActive | ( | ) | const |
Get method for line width when active.
Definition at line 85 of file DocumentModelSegments.cpp.
| double DocumentModelSegments::lineWidthInactive | ( | ) | const |
Get method for line width when inactive.
Definition at line 90 of file DocumentModelSegments.cpp.
|
virtual |
Load model from serialized xml.
Implements DocumentModelAbstractBase.
Definition at line 95 of file DocumentModelSegments.cpp.
| double DocumentModelSegments::minLength | ( | ) | const |
Get method for min length.
Definition at line 162 of file DocumentModelSegments.cpp.
| DocumentModelSegments & DocumentModelSegments::operator= | ( | const DocumentModelSegments & | other | ) |
Assignment constructor.
Definition at line 57 of file DocumentModelSegments.cpp.
| double DocumentModelSegments::pointSeparation | ( | ) | const |
Get method for point separation.
Definition at line 167 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 172 of file DocumentModelSegments.cpp.
|
virtual |
Save entire model as xml into stream.
Implements DocumentModelAbstractBase.
Definition at line 188 of file DocumentModelSegments.cpp.
| void DocumentModelSegments::setFillCorners | ( | bool | fillCorners | ) |
Set method for fill corners.
Definition at line 206 of file DocumentModelSegments.cpp.
| void DocumentModelSegments::setInactiveOpacity | ( | InactiveOpacity | inactiveOpacity | ) |
Set method for inactive opacity.
Definition at line 211 of file DocumentModelSegments.cpp.
| void DocumentModelSegments::setLineColor | ( | ColorPalette | lineColor | ) |
Set method for line color.
Definition at line 216 of file DocumentModelSegments.cpp.
| void DocumentModelSegments::setLineWidthActive | ( | double | lineWidth | ) |
Set method for line width when active.
Definition at line 221 of file DocumentModelSegments.cpp.
| void DocumentModelSegments::setLineWidthInactive | ( | double | lineWidth | ) |
Set method for line width when inactive.
Definition at line 226 of file DocumentModelSegments.cpp.
| void DocumentModelSegments::setMinLength | ( | double | minLength | ) |
Set method for min length.
Definition at line 231 of file DocumentModelSegments.cpp.
| void DocumentModelSegments::setPointSeparation | ( | double | pointSeparation | ) |
Set method for point separation.
Definition at line 236 of file DocumentModelSegments.cpp.