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

Model for DlgSettingsGridDisplay and CmdSettingsGridDisplay. More...

#include <DocumentModelGridDisplay.h>

Inheritance diagram for DocumentModelGridDisplay:
DocumentModelAbstractBase

Public Member Functions

 DocumentModelGridDisplay ()
 Default constructor.
 
 DocumentModelGridDisplay (const Document &document)
 Initial constructor from Document.
 
 DocumentModelGridDisplay (const DocumentModelGridDisplay &other)
 Copy constructor.
 
DocumentModelGridDisplayoperator= (const DocumentModelGridDisplay &other)
 Assignment constructor.
 
unsigned int countX () const
 Get method for x grid line count.
 
unsigned int countY () const
 Get method for y grid line count.
 
GridCoordDisable disableX () const
 Get method for x grid line disabled variable.
 
GridCoordDisable disableY () const
 Get method for y grid line disabled variable.
 
virtual void loadXml (QXmlStreamReader &reader)
 Load model from serialized xml.
 
ColorPalette paletteColor () const
 Get method for 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 setCountX (unsigned int countX)
 Set method for x grid line count.
 
void setCountY (unsigned int countY)
 Set method for y grid line count.
 
void setDisableX (GridCoordDisable disableX)
 Set method for x grid line disabled variable.
 
void setDisableY (GridCoordDisable disableY)
 Set method for y grid line disabled variable.
 
void setPaletteColor (ColorPalette paletteColor)
 Set method for color.
 
void setStable (bool stable)
 Set method for stable flag.
 
void setStartX (double startX)
 Set method for x grid line lower bound (inclusive).
 
void setStartY (double yStart)
 Set method for y grid line lower bound (inclusive).
 
void setStepX (double stepX)
 Set method for x grid line increment.
 
void setStepY (double yStep)
 Set method for y grid line increment.
 
void setStopX (double stopX)
 Set method for x grid line upper bound (inclusive).
 
void setStopY (double yStop)
 Set method for y grid line upper bound (inclusive).
 
bool stable () const
 Get method for stable flag. More...
 
double startX () const
 Get method for x grid line lower bound (inclusive).
 
double startY () const
 Get method for y grid line lower bound (inclusive).
 
double stepX () const
 Get method for x grid line increment.
 
double stepY () const
 Get method for y grid line increment.
 
double stopX () const
 Get method for x grid line upper bound (inclusive).
 
double stopY () const
 Get method for y grid line upper bound (inclusive).
 
- Public Member Functions inherited from DocumentModelAbstractBase
 DocumentModelAbstractBase ()
 Single constructor.
 
virtual ~DocumentModelAbstractBase ()
 Single destructor.
 

Additional Inherited Members

Detailed Description

Model for DlgSettingsGridDisplay and CmdSettingsGridDisplay.

Definition at line 18 of file DocumentModelGridDisplay.h.

Member Function Documentation

◆ stable()

bool DocumentModelGridDisplay::stable ( ) const

Get method for stable flag.

The flag is false to let the settings get automatically updated, until the user selects settings - at which point the stable flag is set to true

Definition at line 268 of file DocumentModelGridDisplay.cpp.


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