|
FOSSredder 0.5.0
|
Stores and exposes globally persisted UI settings for settings-related views. More...
#include <Settings.h>


Signals | |
| void | languageChanged () |
| void | themeModeChanged () |
| void | autosaveOnCloseChanged () |
| void | autosaveIntervalMinutesChanged () |
| void | importDefaultPathChanged () |
| void | importPopplerChanged () |
| void | importOpenCvChanged () |
| void | importTesseractChanged () |
| void | importParserChanged () |
| void | importMatcherChanged () |
| void | exportDefaultDirectoryChanged () |
| void | exportArchiveFormatChanged () |
| void | exportIncludeFormulasChanged () |
| void | analysisDefaultDateModeChanged () |
| void | analysisDefaultYearChanged () |
| void | toolbarShowBookingChanged () |
| void | toolbarShowActorsChanged () |
| void | toolbarShowPropertiesChanged () |
| void | toolbarShowContractsChanged () |
| void | toolbarShowImportChanged () |
| void | toolbarShowExportChanged () |
| void | toolbarShowAnalysisChanged () |
| void | toolbarShowAnnualChanged () |
| void | toolbarShowSettingsChanged () |
| void | stateChanged () |
| Emitted when any settings value changes. | |
| void | saved () |
| Emitted after settings have been persisted. | |
| void | reset () |
| Emitted after settings have been reset to defaults. | |
Public Member Functions | |
| Settings (QObject *parent=nullptr) | |
| Creates the settings store exposed to QML. | |
| QString | language () const |
| QString | themeMode () const |
| bool | autosaveOnClose () const noexcept |
| int | autosaveIntervalMinutes () const noexcept |
| QString | importDefaultPath () const |
| QString | importPoppler () const |
| QString | importOpenCv () const |
| QString | importTesseract () const |
| QString | importParser () const |
| QString | importMatcher () const |
| QString | exportDefaultDirectory () const |
| int | exportArchiveFormat () const noexcept |
| bool | exportIncludeFormulas () const noexcept |
| QString | analysisDefaultDateMode () const |
| int | analysisDefaultYear () const noexcept |
| bool | toolbarShowBooking () const noexcept |
| bool | toolbarShowActors () const noexcept |
| bool | toolbarShowProperties () const noexcept |
| bool | toolbarShowContracts () const noexcept |
| bool | toolbarShowImport () const noexcept |
| bool | toolbarShowExport () const noexcept |
| bool | toolbarShowAnalysis () const noexcept |
| bool | toolbarShowAnnual () const noexcept |
| bool | toolbarShowSettings () const noexcept |
| void | setLanguage (const QString &value) |
| void | setThemeMode (const QString &value) |
| void | setAutosaveOnClose (bool value) |
| void | setAutosaveIntervalMinutes (int value) |
| void | setImportDefaultPath (const QString &value) |
| void | setImportPoppler (const QString &value) |
| void | setImportOpenCv (const QString &value) |
| void | setImportTesseract (const QString &value) |
| void | setImportParser (const QString &value) |
| void | setImportMatcher (const QString &value) |
| void | setExportDefaultDirectory (const QString &value) |
| void | setExportArchiveFormat (int value) |
| void | setExportIncludeFormulas (bool value) |
| void | setAnalysisDefaultDateMode (const QString &value) |
| void | setAnalysisDefaultYear (int value) |
| void | setToolbarShowBooking (bool value) |
| void | setToolbarShowActors (bool value) |
| void | setToolbarShowProperties (bool value) |
| void | setToolbarShowContracts (bool value) |
| void | setToolbarShowImport (bool value) |
| void | setToolbarShowExport (bool value) |
| void | setToolbarShowAnalysis (bool value) |
| void | setToolbarShowAnnual (bool value) |
| void | setToolbarShowSettings (bool value) |
| void | load () |
| Loads persisted settings from the platform settings store. | |
| void | save () |
| Saves current settings to the platform settings store. | |
| void | resetToDefaults () |
| Restores default settings values in memory. | |
| bool | hasChanges () const noexcept |
| Returns whether current values differ from the last saved state. | |
Properties | |
| QString | language |
| QString | themeMode |
| bool | autosaveOnClose |
| int | autosaveIntervalMinutes |
| QString | importDefaultPath |
| QString | importPoppler |
| QString | importOpenCv |
| QString | importTesseract |
| QString | importParser |
| QString | importMatcher |
| QString | exportDefaultDirectory |
| int | exportArchiveFormat |
| bool | exportIncludeFormulas |
| QString | analysisDefaultDateMode |
| int | analysisDefaultYear |
| bool | toolbarShowBooking |
| bool | toolbarShowActors |
| bool | toolbarShowProperties |
| bool | toolbarShowContracts |
| bool | toolbarShowImport |
| bool | toolbarShowExport |
| bool | toolbarShowAnalysis |
| bool | toolbarShowAnnual |
| bool | toolbarShowSettings |
Stores and exposes globally persisted UI settings for settings-related views.
Definition at line 19 of file Settings.h.
|
explicit |
Creates the settings store exposed to QML.
| parent | Optional QObject parent. |
Definition at line 28 of file Settings.cpp.

|
inline |
Definition at line 119 of file Settings.h.
|
signal |


|
inlinenoexcept |
Definition at line 122 of file Settings.h.
|
signal |


|
inlinenoexcept |
Definition at line 89 of file Settings.h.
|
signal |


|
inlinenoexcept |
Definition at line 86 of file Settings.h.
|
signal |


|
inlinenoexcept |
Definition at line 113 of file Settings.h.
|
signal |


|
inline |
Definition at line 110 of file Settings.h.
|
signal |


|
inlinenoexcept |
Definition at line 116 of file Settings.h.
|
signal |


|
noexcept |
Returns whether current values differ from the last saved state.
Definition at line 397 of file Settings.cpp.
|
inline |
Definition at line 92 of file Settings.h.
|
signal |


|
inline |
Definition at line 107 of file Settings.h.
|
signal |


|
inline |
Definition at line 98 of file Settings.h.
|
signal |


|
inline |
Definition at line 104 of file Settings.h.
|
signal |


|
inline |
Definition at line 95 of file Settings.h.
|
signal |


|
inline |
Definition at line 101 of file Settings.h.
|
signal |


|
inline |
Definition at line 80 of file Settings.h.
|
signal |


| void ui::Settings::load | ( | ) |
Loads persisted settings from the platform settings store.
Definition at line 376 of file Settings.cpp.


|
signal |
Emitted after settings have been reset to defaults.


| void ui::Settings::resetToDefaults | ( | ) |
Restores default settings values in memory.
Definition at line 390 of file Settings.cpp.

| void ui::Settings::save | ( | ) |
Saves current settings to the platform settings store.
Definition at line 383 of file Settings.cpp.

|
signal |
Emitted after settings have been persisted.


| void ui::Settings::setAnalysisDefaultDateMode | ( | const QString & | value | ) |
| void ui::Settings::setAnalysisDefaultYear | ( | int | value | ) |
| void ui::Settings::setAutosaveIntervalMinutes | ( | int | value | ) |
| void ui::Settings::setAutosaveOnClose | ( | bool | value | ) |
| void ui::Settings::setExportArchiveFormat | ( | int | value | ) |
| void ui::Settings::setExportDefaultDirectory | ( | const QString & | value | ) |
| void ui::Settings::setExportIncludeFormulas | ( | bool | value | ) |
| void ui::Settings::setImportDefaultPath | ( | const QString & | value | ) |
| void ui::Settings::setImportMatcher | ( | const QString & | value | ) |
| void ui::Settings::setImportOpenCv | ( | const QString & | value | ) |
| void ui::Settings::setImportParser | ( | const QString & | value | ) |
| void ui::Settings::setImportPoppler | ( | const QString & | value | ) |
| void ui::Settings::setImportTesseract | ( | const QString & | value | ) |
| void ui::Settings::setLanguage | ( | const QString & | value | ) |
| void ui::Settings::setThemeMode | ( | const QString & | value | ) |
| void ui::Settings::setToolbarShowActors | ( | bool | value | ) |
| void ui::Settings::setToolbarShowAnalysis | ( | bool | value | ) |
| void ui::Settings::setToolbarShowAnnual | ( | bool | value | ) |
| void ui::Settings::setToolbarShowBooking | ( | bool | value | ) |
| void ui::Settings::setToolbarShowContracts | ( | bool | value | ) |
| void ui::Settings::setToolbarShowExport | ( | bool | value | ) |
| void ui::Settings::setToolbarShowImport | ( | bool | value | ) |
| void ui::Settings::setToolbarShowProperties | ( | bool | value | ) |
| void ui::Settings::setToolbarShowSettings | ( | bool | value | ) |
|
signal |
Emitted when any settings value changes.


|
inline |
Definition at line 83 of file Settings.h.
|
signal |


|
inlinenoexcept |
Definition at line 128 of file Settings.h.
|
signal |


|
inlinenoexcept |
Definition at line 143 of file Settings.h.
|
signal |


|
inlinenoexcept |
Definition at line 146 of file Settings.h.
|
signal |


|
inlinenoexcept |
Definition at line 125 of file Settings.h.
|
signal |


|
inlinenoexcept |
Definition at line 134 of file Settings.h.
|
signal |


|
inlinenoexcept |
Definition at line 140 of file Settings.h.
|
signal |


|
inlinenoexcept |
Definition at line 137 of file Settings.h.
|
signal |


|
inlinenoexcept |
Definition at line 131 of file Settings.h.
|
signal |


|
inlinenoexcept |
Definition at line 149 of file Settings.h.
|
signal |


|
read |
Definition at line 49 of file Settings.h.
|
read |
Definition at line 52 of file Settings.h.
|
read |
Definition at line 28 of file Settings.h.
|
readwrite |
Definition at line 26 of file Settings.h.
|
read |
Definition at line 45 of file Settings.h.
|
read |
Definition at line 43 of file Settings.h.
|
read |
Definition at line 47 of file Settings.h.
|
read |
Definition at line 31 of file Settings.h.
|
readwrite |
Definition at line 41 of file Settings.h.
|
readwrite |
Definition at line 35 of file Settings.h.
|
readwrite |
Definition at line 39 of file Settings.h.
|
readwrite |
Definition at line 33 of file Settings.h.
|
read |
Definition at line 37 of file Settings.h.
|
readwrite |
Definition at line 22 of file Settings.h.
|
readwrite |
Definition at line 24 of file Settings.h.
|
read |
Definition at line 56 of file Settings.h.
|
read |
Definition at line 66 of file Settings.h.
|
read |
Definition at line 68 of file Settings.h.
|
read |
Definition at line 54 of file Settings.h.
|
read |
Definition at line 60 of file Settings.h.
|
read |
Definition at line 64 of file Settings.h.
|
read |
Definition at line 62 of file Settings.h.
|
read |
Definition at line 58 of file Settings.h.
|
read |
Definition at line 70 of file Settings.h.