Engauge Digitizer
2
|
Model for DlgSettingsMainWindow. More...
#include <MainWindowModel.h>
Public Member Functions | |
MainWindowModel () | |
Default constructor. | |
MainWindowModel (const MainWindowModel &other) | |
Copy constructor. | |
MainWindowModel & | operator= (const MainWindowModel &other) |
Assignment constructor. | |
virtual void | loadXml (QXmlStreamReader &reader) |
Load model from serialized xml. | |
QLocale | locale () const |
Get method for locale. | |
MainTitleBarFormat | mainTitleBarFormat () const |
Get method for MainWindow titlebar filename format. | |
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 | setLocale (QLocale::Language language, QLocale::Country country) |
Set method for locale given attributes. | |
void | setLocale (const QLocale &locale) |
Set method for locale given locale object. | |
void | setMainTitleBarFormat (MainTitleBarFormat mainTitleBarFormat) |
Set method for MainWindow titlebar filename format. | |
void | setZoomControl (ZoomControl zoomControl) |
Set method for zoom control. | |
void | setZoomFactorInitial (ZoomFactorInitial zoomFactorInitial) |
Set method for initial zoom factor. | |
ZoomControl | zoomControl () const |
Get method for zoom control. | |
ZoomFactorInitial | zoomFactorInitial () const |
Get method for initial zoom factor. | |
![]() | |
DocumentModelAbstractBase () | |
Single constructor. | |
virtual | ~DocumentModelAbstractBase () |
Single destructor. | |
Additional Inherited Members |
Model for DlgSettingsMainWindow.
Unlike the other models (DocumentModel*) this data is not saved and loaded within the document, so no xml or working with the Document class is involved. Also, there is no associated Cmd. Instead, the settings are saved using QSettings. Method involving xml/Document (from DocumentModelAbstractBase) are stubbed out
Definition at line 23 of file MainWindowModel.h.