Engauge Digitizer 2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
DocumentModelGeneral Class Reference

Model for DlgSettingsGeneral and CmdSettingsGeneral. More...

#include <DocumentModelGeneral.h>

Inheritance diagram for DocumentModelGeneral:
DocumentModelAbstractBase

Public Member Functions

 DocumentModelGeneral ()
 Default constructor.
 
 DocumentModelGeneral (const Document &document)
 Initial constructor from Document.
 
 DocumentModelGeneral (const DocumentModelGeneral &other)
 Copy constructor.
 
DocumentModelGeneraloperator= (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.
 

Additional Inherited Members

Detailed Description

Model for DlgSettingsGeneral and CmdSettingsGeneral.

Definition at line 16 of file DocumentModelGeneral.h.

Constructor & Destructor Documentation

◆ DocumentModelGeneral() [1/3]

DocumentModelGeneral::DocumentModelGeneral ( )

Default constructor.

Definition at line 22 of file DocumentModelGeneral.cpp.

◆ DocumentModelGeneral() [2/3]

DocumentModelGeneral::DocumentModelGeneral ( const Document document)

Initial constructor from Document.

Definition at line 36 of file DocumentModelGeneral.cpp.

◆ DocumentModelGeneral() [3/3]

DocumentModelGeneral::DocumentModelGeneral ( const DocumentModelGeneral other)

Copy constructor.

Definition at line 42 of file DocumentModelGeneral.cpp.

Member Function Documentation

◆ cursorSize()

int DocumentModelGeneral::cursorSize ( ) const

Get method for effective cursor size.

Definition at line 56 of file DocumentModelGeneral.cpp.

◆ extraPrecision()

int DocumentModelGeneral::extraPrecision ( ) const

Get method for extra digits of precsion.

Definition at line 61 of file DocumentModelGeneral.cpp.

◆ loadXml()

void DocumentModelGeneral::loadXml ( QXmlStreamReader &  reader)
virtual

Load model from serialized xml.

Implements DocumentModelAbstractBase.

Definition at line 66 of file DocumentModelGeneral.cpp.

◆ operator=()

DocumentModelGeneral & DocumentModelGeneral::operator= ( const DocumentModelGeneral other)

Assignment constructor.

Definition at line 48 of file DocumentModelGeneral.cpp.

◆ printStream()

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.

◆ saveXml()

void DocumentModelGeneral::saveXml ( QXmlStreamWriter &  writer) const
virtual

Save entire model as xml into stream.

Implements DocumentModelAbstractBase.

Definition at line 108 of file DocumentModelGeneral.cpp.

◆ setCursorSize()

void DocumentModelGeneral::setCursorSize ( int  cursorSize)

Set method for effective cursor size.

Definition at line 118 of file DocumentModelGeneral.cpp.

◆ setExtraPrecision()

void DocumentModelGeneral::setExtraPrecision ( int  extraPrecision)

Set method for extra digits of precision.

Definition at line 123 of file DocumentModelGeneral.cpp.


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