|
Engauge Digitizer 2
|
Model for DlgSettingsGeneral and CmdSettingsGeneral. More...
#include <DocumentModelGeneral.h>


Public Member Functions | |
| DocumentModelGeneral () | |
| Default constructor. | |
| DocumentModelGeneral (const Document &document) | |
| Initial constructor from Document. | |
| DocumentModelGeneral (const DocumentModelGeneral &other) | |
| Copy constructor. | |
| DocumentModelGeneral & | operator= (const DocumentModelGeneral &other) |
| Assignment constructor. | |
| int | cursorSize () const |
| Get method for effective cursor size. | |
| int | extraPrecision () const |
| Get method for extra digits of precsion. | |
| virtual void | loadXml (QXmlStreamReader &reader) |
| Load model from serialized xml. | |
| 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 | setCursorSize (int cursorSize) |
| Set method for effective cursor size. | |
| void | setExtraPrecision (int extraPrecision) |
| Set method for extra digits of precision. | |
| Public Member Functions inherited from DocumentModelAbstractBase | |
| DocumentModelAbstractBase () | |
| Single constructor. | |
| virtual | ~DocumentModelAbstractBase () |
| Single destructor. | |
Model for DlgSettingsGeneral and CmdSettingsGeneral.
Definition at line 16 of file DocumentModelGeneral.h.
| DocumentModelGeneral::DocumentModelGeneral | ( | ) |
Default constructor.
Definition at line 22 of file DocumentModelGeneral.cpp.
| DocumentModelGeneral::DocumentModelGeneral | ( | const Document & | document | ) |
Initial constructor from Document.
Definition at line 36 of file DocumentModelGeneral.cpp.
| DocumentModelGeneral::DocumentModelGeneral | ( | const DocumentModelGeneral & | other | ) |
Copy constructor.
Definition at line 42 of file DocumentModelGeneral.cpp.
| int DocumentModelGeneral::cursorSize | ( | ) | const |
Get method for effective cursor size.
Definition at line 56 of file DocumentModelGeneral.cpp.
| int DocumentModelGeneral::extraPrecision | ( | ) | const |
Get method for extra digits of precsion.
Definition at line 61 of file DocumentModelGeneral.cpp.
|
virtual |
Load model from serialized xml.
Implements DocumentModelAbstractBase.
Definition at line 66 of file DocumentModelGeneral.cpp.
| DocumentModelGeneral & DocumentModelGeneral::operator= | ( | const DocumentModelGeneral & | other | ) |
Assignment constructor.
Definition at line 48 of file DocumentModelGeneral.cpp.
| void DocumentModelGeneral::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 97 of file DocumentModelGeneral.cpp.
|
virtual |
Save entire model as xml into stream.
Implements DocumentModelAbstractBase.
Definition at line 108 of file DocumentModelGeneral.cpp.
| void DocumentModelGeneral::setCursorSize | ( | int | cursorSize | ) |
Set method for effective cursor size.
Definition at line 118 of file DocumentModelGeneral.cpp.
| void DocumentModelGeneral::setExtraPrecision | ( | int | extraPrecision | ) |
Set method for extra digits of precision.
Definition at line 123 of file DocumentModelGeneral.cpp.