|
Engauge Digitizer
2
|
Model for DlgSettingsGridRemoval and CmdSettingsGridRemoval. The settings are unstable until the user approves. More...
#include <DocumentModelGridRemoval.h>


Public Member Functions | |
| DocumentModelGridRemoval () | |
| Default constructor. More... | |
| DocumentModelGridRemoval (double startX, double startY, double stepX, double stepY, int countX, int countY) | |
| Constructor fed by GridClassifier. More... | |
| DocumentModelGridRemoval (const Document &document) | |
| Initial constructor from Document. More... | |
| DocumentModelGridRemoval (const DocumentModelGridRemoval &other) | |
| Copy constructor. More... | |
| DocumentModelGridRemoval & | operator= (const DocumentModelGridRemoval &other) |
| Assignment constructor. More... | |
| double | closeDistance () const |
| Get method for close distance. More... | |
| int | countX () const |
| Get method for x count. More... | |
| int | countY () const |
| Get method for y count. More... | |
| GridCoordDisable | gridCoordDisableX () const |
| Get method for x coord parameter to disable. More... | |
| GridCoordDisable | gridCoordDisableY () const |
| Get method for y coord parameter to disable. More... | |
| virtual void | loadXml (QXmlStreamReader &reader) |
| Load model from serialized xml. 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... | |
| bool | removeDefinedGridLines () const |
| Get method for removing defined grid lines. More... | |
| virtual void | saveXml (QXmlStreamWriter &writer) const |
| Save entire model as xml into stream. More... | |
| void | setCloseDistance (double closeDistance) |
| Set method for close distance. More... | |
| void | setCountX (int countX) |
| Set method for x count. More... | |
| void | setCountY (int countY) |
| Set method for y count. More... | |
| void | setGridCoordDisableX (GridCoordDisable gridCoordDisable) |
| Set method for x coord parameter to disable. More... | |
| void | setGridCoordDisableY (GridCoordDisable gridCoordDisable) |
| Set method for y coord parameter to disable. More... | |
| void | setRemoveDefinedGridLines (bool removeDefinedGridLines) |
| Set method for removing defined grid lines. More... | |
| void | setStable () |
| Set the stable flag to true. This public version has no argument since it cannot be undone. More... | |
| void | setStartX (double startX) |
| Set method for x start. More... | |
| void | setStartY (double startY) |
| Set method for y start. More... | |
| void | setStepX (double stepX) |
| Set method for x step. More... | |
| void | setStepY (double stepY) |
| Set method for y step. More... | |
| void | setStopX (double stopX) |
| Set method for x stop. More... | |
| void | setStopY (double stopY) |
| Set method for y stop. More... | |
| bool | stable () const |
| Get method for stable flag. More... | |
| double | startX () const |
| Get method for x start. More... | |
| double | startY () const |
| Get method for y start. More... | |
| double | stepX () const |
| Get method for x step. More... | |
| double | stepY () const |
| Get method for y step. More... | |
| double | stopX () const |
| Get method for x stop. More... | |
| double | stopY () const |
| Get method for y stop. More... | |
Public Member Functions inherited from DocumentModelAbstractBase | |
| DocumentModelAbstractBase () | |
| Single constructor. More... | |
| virtual | ~DocumentModelAbstractBase () |
| Single destructor. More... | |
Additional Inherited Members |
Model for DlgSettingsGridRemoval and CmdSettingsGridRemoval. The settings are unstable until the user approves.
Definition at line 17 of file DocumentModelGridRemoval.h.
| DocumentModelGridRemoval::DocumentModelGridRemoval | ( | ) |
Default constructor.
Definition at line 22 of file DocumentModelGridRemoval.cpp.
| DocumentModelGridRemoval::DocumentModelGridRemoval | ( | double | startX, |
| double | startY, | ||
| double | stepX, | ||
| double | stepY, | ||
| int | countX, | ||
| int | countY | ||
| ) |
Constructor fed by GridClassifier.
Definition at line 39 of file DocumentModelGridRemoval.cpp.
| DocumentModelGridRemoval::DocumentModelGridRemoval | ( | const Document & | document | ) |
Initial constructor from Document.
Definition at line 61 of file DocumentModelGridRemoval.cpp.
| DocumentModelGridRemoval::DocumentModelGridRemoval | ( | const DocumentModelGridRemoval & | other | ) |
Copy constructor.
Definition at line 78 of file DocumentModelGridRemoval.cpp.
| double DocumentModelGridRemoval::closeDistance | ( | ) | const |
Get method for close distance.
Definition at line 114 of file DocumentModelGridRemoval.cpp.
| int DocumentModelGridRemoval::countX | ( | ) | const |
Get method for x count.
Definition at line 119 of file DocumentModelGridRemoval.cpp.
| int DocumentModelGridRemoval::countY | ( | ) | const |
Get method for y count.
Definition at line 124 of file DocumentModelGridRemoval.cpp.
| GridCoordDisable DocumentModelGridRemoval::gridCoordDisableX | ( | ) | const |
Get method for x coord parameter to disable.
Definition at line 129 of file DocumentModelGridRemoval.cpp.
| GridCoordDisable DocumentModelGridRemoval::gridCoordDisableY | ( | ) | const |
Get method for y coord parameter to disable.
Definition at line 134 of file DocumentModelGridRemoval.cpp.
|
virtual |
Load model from serialized xml.
Implements DocumentModelAbstractBase.
Definition at line 139 of file DocumentModelGridRemoval.cpp.
| DocumentModelGridRemoval & DocumentModelGridRemoval::operator= | ( | const DocumentModelGridRemoval & | other | ) |
Assignment constructor.
Definition at line 95 of file DocumentModelGridRemoval.cpp.
| void DocumentModelGridRemoval::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 195 of file DocumentModelGridRemoval.cpp.
| bool DocumentModelGridRemoval::removeDefinedGridLines | ( | ) | const |
Get method for removing defined grid lines.
Definition at line 217 of file DocumentModelGridRemoval.cpp.
|
virtual |
Save entire model as xml into stream.
Implements DocumentModelAbstractBase.
Definition at line 222 of file DocumentModelGridRemoval.cpp.
| void DocumentModelGridRemoval::setCloseDistance | ( | double | closeDistance | ) |
Set method for close distance.
Definition at line 250 of file DocumentModelGridRemoval.cpp.
| void DocumentModelGridRemoval::setCountX | ( | int | countX | ) |
Set method for x count.
Definition at line 255 of file DocumentModelGridRemoval.cpp.
| void DocumentModelGridRemoval::setCountY | ( | int | countY | ) |
Set method for y count.
Definition at line 260 of file DocumentModelGridRemoval.cpp.
| void DocumentModelGridRemoval::setGridCoordDisableX | ( | GridCoordDisable | gridCoordDisable | ) |
Set method for x coord parameter to disable.
Definition at line 265 of file DocumentModelGridRemoval.cpp.
| void DocumentModelGridRemoval::setGridCoordDisableY | ( | GridCoordDisable | gridCoordDisable | ) |
Set method for y coord parameter to disable.
Definition at line 270 of file DocumentModelGridRemoval.cpp.
| void DocumentModelGridRemoval::setRemoveDefinedGridLines | ( | bool | removeDefinedGridLines | ) |
Set method for removing defined grid lines.
Definition at line 275 of file DocumentModelGridRemoval.cpp.
| void DocumentModelGridRemoval::setStable | ( | ) |
Set the stable flag to true. This public version has no argument since it cannot be undone.
Definition at line 280 of file DocumentModelGridRemoval.cpp.
| void DocumentModelGridRemoval::setStartX | ( | double | startX | ) |
Set method for x start.
Definition at line 290 of file DocumentModelGridRemoval.cpp.
| void DocumentModelGridRemoval::setStartY | ( | double | startY | ) |
Set method for y start.
Definition at line 295 of file DocumentModelGridRemoval.cpp.
| void DocumentModelGridRemoval::setStepX | ( | double | stepX | ) |
Set method for x step.
Definition at line 300 of file DocumentModelGridRemoval.cpp.
| void DocumentModelGridRemoval::setStepY | ( | double | stepY | ) |
Set method for y step.
Definition at line 305 of file DocumentModelGridRemoval.cpp.
| void DocumentModelGridRemoval::setStopX | ( | double | stopX | ) |
Set method for x stop.
Definition at line 310 of file DocumentModelGridRemoval.cpp.
| void DocumentModelGridRemoval::setStopY | ( | double | stopY | ) |
Set method for y stop.
Definition at line 315 of file DocumentModelGridRemoval.cpp.
| bool DocumentModelGridRemoval::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 320 of file DocumentModelGridRemoval.cpp.
| double DocumentModelGridRemoval::startX | ( | ) | const |
Get method for x start.
Definition at line 325 of file DocumentModelGridRemoval.cpp.
| double DocumentModelGridRemoval::startY | ( | ) | const |
Get method for y start.
Definition at line 330 of file DocumentModelGridRemoval.cpp.
| double DocumentModelGridRemoval::stepX | ( | ) | const |
Get method for x step.
Definition at line 335 of file DocumentModelGridRemoval.cpp.
| double DocumentModelGridRemoval::stepY | ( | ) | const |
Get method for y step.
Definition at line 340 of file DocumentModelGridRemoval.cpp.
| double DocumentModelGridRemoval::stopX | ( | ) | const |
Get method for x stop.
Definition at line 345 of file DocumentModelGridRemoval.cpp.
| double DocumentModelGridRemoval::stopY | ( | ) | const |
Get method for y stop.
Definition at line 350 of file DocumentModelGridRemoval.cpp.
1.8.14