DocumentModelGridDisplay Class Reference

Model for DlgSettingsGridDisplay and CmdSettingsGridDisplay. More...

#include <DocumentModelGridDisplay.h>

Inheritance diagram for DocumentModelGridDisplay:
DocumentModelAbstractBase

List of all members.

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.
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).

Detailed Description

Model for DlgSettingsGridDisplay and CmdSettingsGridDisplay.

Definition at line 18 of file DocumentModelGridDisplay.h.


Member Function Documentation

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:
 All Classes Functions Variables Enumerations Friends

Generated on 21 Oct 2017 for Engauge Digitizer by  doxygen 1.6.1