Engauge Digitizer  2
Public Member Functions | List of all members
DocumentModelCoords Class Reference

Model for DlgSettingsCoords and CmdSettingsCoords. More...

#include <DocumentModelCoords.h>

Inheritance diagram for DocumentModelCoords:
DocumentModelAbstractBase

Public Member Functions

 DocumentModelCoords ()
 Default constructor.
 
 DocumentModelCoords (const Document &document)
 Initial constructor from Document.
 
 DocumentModelCoords (const DocumentModelCoords &other)
 Copy constructor.
 
DocumentModelCoordsoperator= (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.
 

Additional Inherited Members

Detailed Description

Model for DlgSettingsCoords and CmdSettingsCoords.

Definition at line 20 of file DocumentModelCoords.h.


The documentation for this class was generated from the following files: