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. | |
bool | dragDropExport () const |
Get method for drag and drop export. | |
virtual void | loadXml (QXmlStreamReader &reader) |
Load model from serialized xml. | |
double | highlightOpacity () const |
Get method for highlight opacity. | |
ImportCropping | importCropping () const |
Get method for import cropping. | |
QLocale | locale () const |
Get method for locale. | |
MainTitleBarFormat | mainTitleBarFormat () const |
Get method for MainWindow titlebar filename format. | |
int | maximumGridLines () const |
Maximum number of grid lines. | |
int | pdfResolution () const |
Get method for resolution of imported PDF files, in dots per inch. | |
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 | setDragDropExport (bool dragDropExport) |
Set method for drag and drop export. | |
void | setHighlightOpacity (double highlightOpacity) |
Set method for highlight opacity. | |
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 | setImportCropping (ImportCropping importCropping) |
Set method for import cropping. | |
void | setMainTitleBarFormat (MainTitleBarFormat mainTitleBarFormat) |
Set method for MainWindow titlebar filename format. | |
void | setMaximumGridLines (int maximumGridLines) |
Set method for maximum number of grid lines. | |
void | setPdfResolution (int resolution) |
Set method for resolution of imported PDF files, in dots per inch. | |
void | setSmallDialogs (bool smallDialogs) |
Set method for small dialogs flag. | |
void | setZoomControl (ZoomControl zoomControl) |
Set method for zoom control. | |
void | setZoomFactorInitial (ZoomFactorInitial zoomFactorInitial) |
Set method for initial zoom factor. | |
bool | smallDialogs () const |
Get method for small dialogs flag. | |
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 27 of file MainWindowModel.h.