|
Engauge Digitizer
2
|
Model for DlgSettingsMainWindow. More...
#include <MainWindowModel.h>


Public Member Functions | |
| MainWindowModel () | |
| Default constructor. More... | |
| MainWindowModel (const MainWindowModel &other) | |
| Copy constructor. More... | |
| MainWindowModel & | operator= (const MainWindowModel &other) |
| Assignment constructor. More... | |
| bool | dragDropExport () const |
| Get method for drag and drop export. More... | |
| double | highlightOpacity () const |
| Get method for highlight opacity. More... | |
| bool | imageReplaceRenamesDocument () const |
| Get method for image replaces renames document. More... | |
| ImportCropping | importCropping () const |
| Get method for import cropping. More... | |
| virtual void | loadXml (QXmlStreamReader &reader) |
| Load model from serialized xml. More... | |
| QLocale | locale () const |
| Get method for locale. More... | |
| MainTitleBarFormat | mainTitleBarFormat () const |
| Get method for MainWindow titlebar filename format. More... | |
| int | maximumGridLines () const |
| Maximum number of grid lines. More... | |
| int | pdfResolution () const |
| Get method for resolution of imported PDF files, in dots per inch. 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 | setDragDropExport (bool dragDropExport) |
| Set method for drag and drop export. More... | |
| void | setHighlightOpacity (double highlightOpacity) |
| Set method for highlight opacity. More... | |
| void | setImageReplaceRenamesDocument (bool imageReplaceRenamesDocument) |
| Set method for image replace renames document. More... | |
| void | setImportCropping (ImportCropping importCropping) |
| Set method for import cropping. More... | |
| void | setLocale (QLocale::Language language, QLocale::Country country) |
| Set method for locale given attributes. More... | |
| void | setLocale (const QLocale &locale) |
| Set method for locale given locale object. More... | |
| void | setMainTitleBarFormat (MainTitleBarFormat mainTitleBarFormat) |
| Set method for MainWindow titlebar filename format. More... | |
| void | setMaximumGridLines (int maximumGridLines) |
| Set method for maximum number of grid lines. More... | |
| void | setPdfResolution (int resolution) |
| Set method for resolution of imported PDF files, in dots per inch. More... | |
| void | setSignificantDigits (int significantDigits) |
| Set method for significant digits. More... | |
| void | setSmallDialogs (bool smallDialogs) |
| Set method for small dialogs flag. More... | |
| void | setZoomControl (ZoomControl zoomControl) |
| Set method for zoom control. More... | |
| void | setZoomFactorInitial (ZoomFactorInitial zoomFactorInitial) |
| Set method for initial zoom factor. More... | |
| int | significantDigits () const |
| Get method for significant digits. More... | |
| bool | smallDialogs () const |
| Get method for small dialogs flag. More... | |
| ZoomControl | zoomControl () const |
| Get method for zoom control. More... | |
| ZoomFactorInitial | zoomFactorInitial () const |
| Get method for initial zoom factor. More... | |
Public Member Functions inherited from DocumentModelAbstractBase | |
| DocumentModelAbstractBase () | |
| Single constructor. More... | |
| virtual | ~DocumentModelAbstractBase () |
| Single destructor. More... | |
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. Methods involving xml/Document (from DocumentModelAbstractBase) are stubbed out
Definition at line 29 of file MainWindowModel.h.
| MainWindowModel::MainWindowModel | ( | ) |
| MainWindowModel::MainWindowModel | ( | const MainWindowModel & | other | ) |
| bool MainWindowModel::dragDropExport | ( | ) | const |
Get method for drag and drop export.
Definition at line 80 of file MainWindowModel.cpp.
| double MainWindowModel::highlightOpacity | ( | ) | const |
Get method for highlight opacity.
Definition at line 85 of file MainWindowModel.cpp.
| bool MainWindowModel::imageReplaceRenamesDocument | ( | ) | const |
Get method for image replaces renames document.
Definition at line 90 of file MainWindowModel.cpp.
| ImportCropping MainWindowModel::importCropping | ( | ) | const |
Get method for import cropping.
Definition at line 95 of file MainWindowModel.cpp.
|
virtual |
Load model from serialized xml.
Implements DocumentModelAbstractBase.
Definition at line 100 of file MainWindowModel.cpp.
| QLocale MainWindowModel::locale | ( | ) | const |
Get method for locale.
Definition at line 121 of file MainWindowModel.cpp.
| MainTitleBarFormat MainWindowModel::mainTitleBarFormat | ( | ) | const |
Get method for MainWindow titlebar filename format.
Definition at line 126 of file MainWindowModel.cpp.
| int MainWindowModel::maximumGridLines | ( | ) | const |
Maximum number of grid lines.
Definition at line 131 of file MainWindowModel.cpp.
| MainWindowModel & MainWindowModel::operator= | ( | const MainWindowModel & | other | ) |
| int MainWindowModel::pdfResolution | ( | ) | const |
Get method for resolution of imported PDF files, in dots per inch.
Definition at line 136 of file MainWindowModel.cpp.
| void MainWindowModel::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 141 of file MainWindowModel.cpp.
|
virtual |
Save entire model as xml into stream.
Implements DocumentModelAbstractBase.
Definition at line 164 of file MainWindowModel.cpp.
| void MainWindowModel::setDragDropExport | ( | bool | dragDropExport | ) |
| void MainWindowModel::setHighlightOpacity | ( | double | highlightOpacity | ) |
| void MainWindowModel::setImageReplaceRenamesDocument | ( | bool | imageReplaceRenamesDocument | ) |
| void MainWindowModel::setImportCropping | ( | ImportCropping | importCropping | ) |
| void MainWindowModel::setLocale | ( | const QLocale & | locale | ) |
Set method for locale given locale object.
Definition at line 202 of file MainWindowModel.cpp.
| void MainWindowModel::setLocale | ( | QLocale::Language | language, |
| QLocale::Country | country | ||
| ) |
| void MainWindowModel::setMainTitleBarFormat | ( | MainTitleBarFormat | mainTitleBarFormat | ) |
Set method for MainWindow titlebar filename format.
Definition at line 208 of file MainWindowModel.cpp.
| void MainWindowModel::setMaximumGridLines | ( | int | maximumGridLines | ) |
| void MainWindowModel::setPdfResolution | ( | int | resolution | ) |
Set method for resolution of imported PDF files, in dots per inch.
Definition at line 218 of file MainWindowModel.cpp.
| void MainWindowModel::setSignificantDigits | ( | int | significantDigits | ) |
| void MainWindowModel::setSmallDialogs | ( | bool | smallDialogs | ) |
| void MainWindowModel::setZoomControl | ( | ZoomControl | zoomControl | ) |
| void MainWindowModel::setZoomFactorInitial | ( | ZoomFactorInitial | zoomFactorInitial | ) |
| int MainWindowModel::significantDigits | ( | ) | const |
Get method for significant digits.
Definition at line 243 of file MainWindowModel.cpp.
| bool MainWindowModel::smallDialogs | ( | ) | const |
Get method for small dialogs flag.
Definition at line 248 of file MainWindowModel.cpp.
| ZoomControl MainWindowModel::zoomControl | ( | ) | const |
Get method for zoom control.
Definition at line 253 of file MainWindowModel.cpp.
| ZoomFactorInitial MainWindowModel::zoomFactorInitial | ( | ) | const |
Get method for initial zoom factor.
Definition at line 258 of file MainWindowModel.cpp.
1.8.16