|
Engauge Digitizer 2
|
Model for DlgSettingsCoords and CmdSettingsCoords. More...
#include <DocumentModelCoords.h>


Public Member Functions | |
| DocumentModelCoords () | |
| Default constructor. | |
| DocumentModelCoords (const Document &document) | |
| Initial constructor from Document. | |
| DocumentModelCoords (const DocumentModelCoords &other) | |
| Copy constructor. | |
| DocumentModelCoords & | operator= (const DocumentModelCoords &other) |
| Assignment constructor. | |
| CoordScale | coordScaleXTheta () const |
| Get method for linear/log scale on x/theta. | |
| CoordScale | coordScaleYRadius () const |
| Get method for linear/log scale on y/radius. | |
| CoordsType | coordsType () const |
| Get method for coordinates type. | |
| CoordUnitsDate | coordUnitsDate () const |
| Get method for date format when used. | |
| CoordUnitsNonPolarTheta | coordUnitsRadius () const |
| Get method for radius units. | |
| CoordUnitsPolarTheta | coordUnitsTheta () const |
| Get method for theta unit. | |
| CoordUnitsTime | coordUnitsTime () const |
| Get method for time format when used. | |
| CoordUnitsNonPolarTheta | coordUnitsX () const |
| Get method for x units. | |
| CoordUnitsNonPolarTheta | coordUnitsY () const |
| Get method for x units. | |
| virtual void | loadXml (QXmlStreamReader &reader) |
| Load model from serialized xml. | |
| double | originRadius () const |
| Get method for origin radius in polar mode. | |
| 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 | setCoordScaleXTheta (CoordScale coordScale) |
| Set method for linear/log scale on x/theta. | |
| void | setCoordScaleYRadius (CoordScale coordScale) |
| Set method for linear/log scale on y/radius. | |
| void | setCoordsType (CoordsType coordsType) |
| Set method for coordinates type. | |
| void | setCoordUnitsDate (CoordUnitsDate coordUnits) |
| Set method for date units. | |
| void | setCoordUnitsRadius (CoordUnitsNonPolarTheta coordUnits) |
| Set method for radius units. | |
| void | setCoordUnitsTheta (CoordUnitsPolarTheta coordUnits) |
| Set method for theta units. | |
| void | setCoordUnitsTime (CoordUnitsTime coordUnits) |
| Set method for time units. | |
| void | setCoordUnitsX (CoordUnitsNonPolarTheta coordUnits) |
| Set method for x units. | |
| void | setCoordUnitsY (CoordUnitsNonPolarTheta coordUnits) |
| Set method for y units. | |
| void | setOriginRadius (double originRadius) |
| Set method for origin radius in polar mode. | |
| double | thetaPeriod () const |
| Return the period of the theta value for polar coordinates, consistent with CoordThetaUnits. | |
| Public Member Functions inherited from DocumentModelAbstractBase | |
| DocumentModelAbstractBase () | |
| Single constructor. | |
| virtual | ~DocumentModelAbstractBase () |
| Single destructor. | |
Model for DlgSettingsCoords and CmdSettingsCoords.
Definition at line 20 of file DocumentModelCoords.h.
| DocumentModelCoords::DocumentModelCoords | ( | ) |
Default constructor.
Definition at line 25 of file DocumentModelCoords.cpp.
| DocumentModelCoords::DocumentModelCoords | ( | const Document & | document | ) |
Initial constructor from Document.
Definition at line 39 of file DocumentModelCoords.cpp.
| DocumentModelCoords::DocumentModelCoords | ( | const DocumentModelCoords & | other | ) |
Copy constructor.
Definition at line 53 of file DocumentModelCoords.cpp.
| CoordScale DocumentModelCoords::coordScaleXTheta | ( | ) | const |
Get method for linear/log scale on x/theta.
Definition at line 83 of file DocumentModelCoords.cpp.
| CoordScale DocumentModelCoords::coordScaleYRadius | ( | ) | const |
Get method for linear/log scale on y/radius.
Definition at line 88 of file DocumentModelCoords.cpp.
| CoordsType DocumentModelCoords::coordsType | ( | ) | const |
Get method for coordinates type.
Definition at line 93 of file DocumentModelCoords.cpp.
| CoordUnitsDate DocumentModelCoords::coordUnitsDate | ( | ) | const |
Get method for date format when used.
Definition at line 98 of file DocumentModelCoords.cpp.
| CoordUnitsNonPolarTheta DocumentModelCoords::coordUnitsRadius | ( | ) | const |
Get method for radius units.
Definition at line 103 of file DocumentModelCoords.cpp.
| CoordUnitsPolarTheta DocumentModelCoords::coordUnitsTheta | ( | ) | const |
Get method for theta unit.
Definition at line 108 of file DocumentModelCoords.cpp.
| CoordUnitsTime DocumentModelCoords::coordUnitsTime | ( | ) | const |
Get method for time format when used.
Definition at line 113 of file DocumentModelCoords.cpp.
| CoordUnitsNonPolarTheta DocumentModelCoords::coordUnitsX | ( | ) | const |
Get method for x units.
Definition at line 118 of file DocumentModelCoords.cpp.
| CoordUnitsNonPolarTheta DocumentModelCoords::coordUnitsY | ( | ) | const |
Get method for x units.
Definition at line 123 of file DocumentModelCoords.cpp.
|
virtual |
Load model from serialized xml.
Implements DocumentModelAbstractBase.
Definition at line 128 of file DocumentModelCoords.cpp.
| DocumentModelCoords & DocumentModelCoords::operator= | ( | const DocumentModelCoords & | other | ) |
Assignment constructor.
Definition at line 67 of file DocumentModelCoords.cpp.
| double DocumentModelCoords::originRadius | ( | ) | const |
Get method for origin radius in polar mode.
Definition at line 174 of file DocumentModelCoords.cpp.
| void DocumentModelCoords::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 179 of file DocumentModelCoords.cpp.
|
virtual |
Save entire model as xml into stream.
Implements DocumentModelAbstractBase.
Definition at line 198 of file DocumentModelCoords.cpp.
| void DocumentModelCoords::setCoordScaleXTheta | ( | CoordScale | coordScale | ) |
Set method for linear/log scale on x/theta.
Definition at line 225 of file DocumentModelCoords.cpp.
| void DocumentModelCoords::setCoordScaleYRadius | ( | CoordScale | coordScale | ) |
Set method for linear/log scale on y/radius.
Definition at line 230 of file DocumentModelCoords.cpp.
| void DocumentModelCoords::setCoordsType | ( | CoordsType | coordsType | ) |
Set method for coordinates type.
Definition at line 235 of file DocumentModelCoords.cpp.
| void DocumentModelCoords::setCoordUnitsDate | ( | CoordUnitsDate | coordUnits | ) |
Set method for date units.
Definition at line 240 of file DocumentModelCoords.cpp.
| void DocumentModelCoords::setCoordUnitsRadius | ( | CoordUnitsNonPolarTheta | coordUnits | ) |
Set method for radius units.
Definition at line 245 of file DocumentModelCoords.cpp.
| void DocumentModelCoords::setCoordUnitsTheta | ( | CoordUnitsPolarTheta | coordUnits | ) |
Set method for theta units.
Definition at line 250 of file DocumentModelCoords.cpp.
| void DocumentModelCoords::setCoordUnitsTime | ( | CoordUnitsTime | coordUnits | ) |
Set method for time units.
Definition at line 255 of file DocumentModelCoords.cpp.
| void DocumentModelCoords::setCoordUnitsX | ( | CoordUnitsNonPolarTheta | coordUnits | ) |
Set method for x units.
Definition at line 260 of file DocumentModelCoords.cpp.
| void DocumentModelCoords::setCoordUnitsY | ( | CoordUnitsNonPolarTheta | coordUnits | ) |
Set method for y units.
Definition at line 265 of file DocumentModelCoords.cpp.
| void DocumentModelCoords::setOriginRadius | ( | double | originRadius | ) |
Set method for origin radius in polar mode.
Definition at line 270 of file DocumentModelCoords.cpp.
| double DocumentModelCoords::thetaPeriod | ( | ) | const |
Return the period of the theta value for polar coordinates, consistent with CoordThetaUnits.
Definition at line 275 of file DocumentModelCoords.cpp.