Engauge Digitizer 2
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. More...
 
 DocumentModelGeneral (const Document &document)
 Initial constructor from Document. More...
 
 DocumentModelGeneral (const DocumentModelGeneral &other)
 Copy constructor. More...
 
DocumentModelGeneraloperator= (const DocumentModelGeneral &other)
 Assignment constructor. More...
 
int cursorSize () const
 Get method for effective cursor size. More...
 
int extraPrecision () const
 Get method for extra digits of precsion. 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...
 
virtual void saveXml (QXmlStreamWriter &writer) const
 Save entire model as xml into stream. More...
 
void setCursorSize (int cursorSize)
 Set method for effective cursor size. More...
 
void setExtraPrecision (int extraPrecision)
 Set method for extra digits of precision. More...
 
- Public Member Functions inherited from DocumentModelAbstractBase
 DocumentModelAbstractBase ()
 Single constructor. More...
 
virtual ~DocumentModelAbstractBase ()
 Single destructor. More...
 

Additional Inherited Members

virtual void loadXml (QXmlStreamReader &reader)=0
 Load model from serialized xml. More...
 
virtual void saveXml (QXmlStreamWriter &writer) const =0
 Save entire model as xml into stream. More...
 

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: