Go to the documentation of this file.
7 #ifndef MAIN_WINDOW_MODEL_H
8 #define MAIN_WINDOW_MODEL_H
54 virtual void loadXml(QXmlStreamReader &reader);
70 QTextStream &str)
const;
72 virtual void saveXml(QXmlStreamWriter &writer)
const;
87 void setLocale (QLocale::Language language,
88 QLocale::Country country);
134 int m_maximumGridLines;
135 double m_highlightOpacity;
137 bool m_dragDropExport;
138 int m_significantDigits;
139 bool m_imageReplaceRenamesDocument;
142 #endif // MAIN_WINDOW_MODEL_H
void setZoomFactorInitial(ZoomFactorInitial zoomFactorInitial)
Set method for initial zoom factor.
void setSignificantDigits(int significantDigits)
Set method for significant digits.
void setPdfResolution(int resolution)
Set method for resolution of imported PDF files, in dots per inch.
double highlightOpacity() const
Get method for highlight opacity.
void setHighlightOpacity(double highlightOpacity)
Set method for highlight opacity.
int significantDigits() const
Get method for significant digits.
bool DEFAULT_DRAG_DROP_EXPORT
void setZoomControl(ZoomControl zoomControl)
Set method for zoom control.
void setDragDropExport(bool dragDropExport)
Set method for drag and drop export.
void setLocale(QLocale::Language language, QLocale::Country country)
Set method for locale given attributes.
bool DEFAULT_SMALL_DIALOGS
MainWindowModel()
Default constructor.
MainTitleBarFormat mainTitleBarFormat() const
Get method for MainWindow titlebar filename format.
void setSmallDialogs(bool smallDialogs)
Set method for small dialogs flag.
int DEFAULT_SIGNIFICANT_DIGITS
Model for DlgSettingsMainWindow.
void setMainTitleBarFormat(MainTitleBarFormat mainTitleBarFormat)
Set method for MainWindow titlebar filename format.
MainWindowModel & operator=(const MainWindowModel &other)
Assignment constructor.
void setImportCropping(ImportCropping importCropping)
Set method for import cropping.
ImportCropping importCropping() const
Get method for import cropping.
bool smallDialogs() const
Get method for small dialogs flag.
Abstract base class for document models. This class enforces a common interface for the leaf subclass...
void setMaximumGridLines(int maximumGridLines)
Set method for maximum number of grid lines.
virtual void loadXml(QXmlStreamReader &reader)
Load model from serialized xml.
bool imageReplaceRenamesDocument() const
Get method for image replaces renames document.
virtual void saveXml(QXmlStreamWriter &writer) const
Save entire model as xml into stream.
QLocale locale() const
Get method for locale.
int maximumGridLines() const
Maximum number of grid lines.
MainTitleBarFormat
Format format in MainWindow title bar.
void setImageReplaceRenamesDocument(bool imageReplaceRenamesDocument)
Set method for image replace renames document.
bool dragDropExport() const
Get method for drag and drop export.
ZoomFactorInitial zoomFactorInitial() const
Get method for initial zoom factor.
void printStream(QString indentation, QTextStream &str) const
Debugging method that supports print method of this class and printStream method of some other class(...
int pdfResolution() const
Get method for resolution of imported PDF files, in dots per inch.
bool DEFAULT_IMAGE_REPLACE_RENAMES_DOCUMENT
ZoomControl zoomControl() const
Get method for zoom control.