|
Engauge Digitizer
2
|
Model for DlgSettingsGridDisplay and CmdSettingsGridDisplay. More...
#include <DocumentModelGridDisplay.h>


Public Member Functions | |
| DocumentModelGridDisplay () | |
| Default constructor. More... | |
| DocumentModelGridDisplay (const Document &document) | |
| Initial constructor from Document. More... | |
| DocumentModelGridDisplay (const DocumentModelGridDisplay &other) | |
| Copy constructor. More... | |
| DocumentModelGridDisplay & | operator= (const DocumentModelGridDisplay &other) |
| Assignment constructor. More... | |
| unsigned int | countX () const |
| Get method for x grid line count. More... | |
| unsigned int | countY () const |
| Get method for y grid line count. More... | |
| GridCoordDisable | disableX () const |
| Get method for x grid line disabled variable. More... | |
| GridCoordDisable | disableY () const |
| Get method for y grid line disabled variable. More... | |
| virtual void | loadXml (QXmlStreamReader &reader) |
| Load model from serialized xml. More... | |
| ColorPalette | paletteColor () const |
| Get method for color. More... | |
| void | printStream (QString indentation, QTextStream &str) const |
| Debugging method that supports print method of this class and printStream method of some other class(es) More... | |
| virtual void | saveXml (QXmlStreamWriter &writer) const |
| Save entire model as xml into stream. More... | |
| void | setCountX (unsigned int countX) |
| Set method for x grid line count. More... | |
| void | setCountY (unsigned int countY) |
| Set method for y grid line count. More... | |
| void | setDisableX (GridCoordDisable disableX) |
| Set method for x grid line disabled variable. More... | |
| void | setDisableY (GridCoordDisable disableY) |
| Set method for y grid line disabled variable. More... | |
| void | setPaletteColor (ColorPalette paletteColor) |
| Set method for color. More... | |
| void | setStable (bool stable) |
| Set method for stable flag. More... | |
| void | setStartX (double startX) |
| Set method for x grid line lower bound (inclusive). More... | |
| void | setStartY (double yStart) |
| Set method for y grid line lower bound (inclusive). More... | |
| void | setStepX (double stepX) |
| Set method for x grid line increment. More... | |
| void | setStepY (double yStep) |
| Set method for y grid line increment. More... | |
| void | setStopX (double stopX) |
| Set method for x grid line upper bound (inclusive). More... | |
| void | setStopY (double yStop) |
| Set method for y grid line upper bound (inclusive). More... | |
| bool | stable () const |
| Get method for stable flag. More... | |
| double | startX () const |
| Get method for x grid line lower bound (inclusive). More... | |
| double | startY () const |
| Get method for y grid line lower bound (inclusive). More... | |
| double | stepX () const |
| Get method for x grid line increment. More... | |
| double | stepY () const |
| Get method for y grid line increment. More... | |
| double | stopX () const |
| Get method for x grid line upper bound (inclusive). More... | |
| double | stopY () const |
| Get method for y grid line upper bound (inclusive). More... | |
Public Member Functions inherited from DocumentModelAbstractBase | |
| DocumentModelAbstractBase () | |
| Single constructor. More... | |
| virtual | ~DocumentModelAbstractBase () |
| Single destructor. More... | |
Additional Inherited Members |
Model for DlgSettingsGridDisplay and CmdSettingsGridDisplay.
Definition at line 18 of file DocumentModelGridDisplay.h.
| DocumentModelGridDisplay::DocumentModelGridDisplay | ( | ) |
Default constructor.
Definition at line 20 of file DocumentModelGridDisplay.cpp.
| DocumentModelGridDisplay::DocumentModelGridDisplay | ( | const Document & | document | ) |
Initial constructor from Document.
Definition at line 36 of file DocumentModelGridDisplay.cpp.
| DocumentModelGridDisplay::DocumentModelGridDisplay | ( | const DocumentModelGridDisplay & | other | ) |
Copy constructor.
Definition at line 52 of file DocumentModelGridDisplay.cpp.
| unsigned int DocumentModelGridDisplay::countX | ( | ) | const |
Get method for x grid line count.
Definition at line 86 of file DocumentModelGridDisplay.cpp.
| unsigned int DocumentModelGridDisplay::countY | ( | ) | const |
Get method for y grid line count.
Definition at line 91 of file DocumentModelGridDisplay.cpp.
| GridCoordDisable DocumentModelGridDisplay::disableX | ( | ) | const |
Get method for x grid line disabled variable.
Definition at line 96 of file DocumentModelGridDisplay.cpp.
| GridCoordDisable DocumentModelGridDisplay::disableY | ( | ) | const |
Get method for y grid line disabled variable.
Definition at line 101 of file DocumentModelGridDisplay.cpp.
|
virtual |
Load model from serialized xml.
Implements DocumentModelAbstractBase.
Definition at line 106 of file DocumentModelGridDisplay.cpp.
| DocumentModelGridDisplay & DocumentModelGridDisplay::operator= | ( | const DocumentModelGridDisplay & | other | ) |
Assignment constructor.
Definition at line 68 of file DocumentModelGridDisplay.cpp.
| ColorPalette DocumentModelGridDisplay::paletteColor | ( | ) | const |
Get method for color.
Definition at line 159 of file DocumentModelGridDisplay.cpp.
| void DocumentModelGridDisplay::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 164 of file DocumentModelGridDisplay.cpp.
|
virtual |
Save entire model as xml into stream.
Implements DocumentModelAbstractBase.
Definition at line 185 of file DocumentModelGridDisplay.cpp.
| void DocumentModelGridDisplay::setCountX | ( | unsigned int | countX | ) |
Set method for x grid line count.
Definition at line 208 of file DocumentModelGridDisplay.cpp.
| void DocumentModelGridDisplay::setCountY | ( | unsigned int | countY | ) |
Set method for y grid line count.
Definition at line 213 of file DocumentModelGridDisplay.cpp.
| void DocumentModelGridDisplay::setDisableX | ( | GridCoordDisable | disableX | ) |
Set method for x grid line disabled variable.
Definition at line 218 of file DocumentModelGridDisplay.cpp.
| void DocumentModelGridDisplay::setDisableY | ( | GridCoordDisable | disableY | ) |
Set method for y grid line disabled variable.
Definition at line 223 of file DocumentModelGridDisplay.cpp.
| void DocumentModelGridDisplay::setPaletteColor | ( | ColorPalette | paletteColor | ) |
Set method for color.
Definition at line 228 of file DocumentModelGridDisplay.cpp.
| void DocumentModelGridDisplay::setStable | ( | bool | stable | ) |
Set method for stable flag.
Definition at line 233 of file DocumentModelGridDisplay.cpp.
| void DocumentModelGridDisplay::setStartX | ( | double | startX | ) |
Set method for x grid line lower bound (inclusive).
Definition at line 238 of file DocumentModelGridDisplay.cpp.
| void DocumentModelGridDisplay::setStartY | ( | double | yStart | ) |
Set method for y grid line lower bound (inclusive).
Definition at line 243 of file DocumentModelGridDisplay.cpp.
| void DocumentModelGridDisplay::setStepX | ( | double | stepX | ) |
Set method for x grid line increment.
Definition at line 248 of file DocumentModelGridDisplay.cpp.
| void DocumentModelGridDisplay::setStepY | ( | double | yStep | ) |
Set method for y grid line increment.
Definition at line 253 of file DocumentModelGridDisplay.cpp.
| void DocumentModelGridDisplay::setStopX | ( | double | stopX | ) |
Set method for x grid line upper bound (inclusive).
Definition at line 258 of file DocumentModelGridDisplay.cpp.
| void DocumentModelGridDisplay::setStopY | ( | double | yStop | ) |
Set method for y grid line upper bound (inclusive).
Definition at line 263 of file DocumentModelGridDisplay.cpp.
| 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.
| double DocumentModelGridDisplay::startX | ( | ) | const |
Get method for x grid line lower bound (inclusive).
Definition at line 273 of file DocumentModelGridDisplay.cpp.
| double DocumentModelGridDisplay::startY | ( | ) | const |
Get method for y grid line lower bound (inclusive).
Definition at line 278 of file DocumentModelGridDisplay.cpp.
| double DocumentModelGridDisplay::stepX | ( | ) | const |
Get method for x grid line increment.
Definition at line 283 of file DocumentModelGridDisplay.cpp.
| double DocumentModelGridDisplay::stepY | ( | ) | const |
Get method for y grid line increment.
Definition at line 288 of file DocumentModelGridDisplay.cpp.
| double DocumentModelGridDisplay::stopX | ( | ) | const |
Get method for x grid line upper bound (inclusive).
Definition at line 293 of file DocumentModelGridDisplay.cpp.
| double DocumentModelGridDisplay::stopY | ( | ) | const |
Get method for y grid line upper bound (inclusive).
Definition at line 298 of file DocumentModelGridDisplay.cpp.
1.8.14