| myproject 0.0.0
    %%description%% | 
The Settings class is a singleton that manages the application settings. More...
#include <settings.h>
| Signals | |
| void | languageChanged () | 
| Emitted when the language is changed. | |
| void | windowOpacityChanged () | 
| Emitted when the window opacity is changed. | |
| void | fpsVisibleChanged () | 
| Emitted when the FPS visibility is changed. | |
| void | appThemeChanged () | 
| Emitted when the app theme is changed. | |
| void | newShortcutChanged () | 
| Emitted when the new shortcut is changed. | |
| void | openShortcutChanged () | 
| Emitted when the open shortcut is changed. | |
| void | saveShortcutChanged () | 
| Emitted when the save shortcut is changed. | |
| void | saveAsShortcutChanged () | 
| Emitted when the save as shortcut is changed. | |
| void | quitShortcutChanged () | 
| Emitted when the quit shortcut is changed. | |
| void | undoShortcutChanged () | 
| Emitted when the undo shortcut is changed. | |
| void | redoShortcutChanged () | 
| Emitted when the redo shortcut is changed. | |
| void | copyShortcutChanged () | 
| Emitted when the copy shortcut is changed. | |
| void | cutShortcutChanged () | 
| Emitted when the cut shortcut is changed. | |
| void | pasteShortcutChanged () | 
| Emitted when the paste shortcut is changed. | |
| void | optionsShortcutChanged () | 
| Emitted when the options shortcut is changed. | |
| void | fullScreenShortcutChanged () | 
| Emitted when the full screen shortcut is changed. | |
| Public Member Functions | |
| Settings (QObject *parent=nullptr) | |
| Settings (const QString &organization, const QString &application, QObject *parent=nullptr) | |
| QString | defaultLanguage () const | 
| Returns the default language for the application. | |
| QString | language () const | 
| Returns the current language for the application. | |
| void | setLanguage (const QString &language) | 
| Sets the current language for the application. | |
| qreal | defaultWindowOpacity () const | 
| Returns the default window opacity for the application. | |
| qreal | windowOpacity () const | 
| Returns the current window opacity for the application. | |
| void | setWindowOpacity (const qreal opacity) | 
| Sets the current window opacity for the application. | |
| bool | defaultFpsVisible () const | 
| Returns the default FPS visibility for the application. | |
| bool | isFpsVisible () const | 
| Returns the current FPS visibility for the application. | |
| void | setFpsVisible (const bool fps_visible) | 
| Sets the current FPS visibility for the application. | |
| QString | defaultAppTheme () const | 
| Returns the default app theme for the application. | |
| QString | appTheme () const | 
| Returns the current app theme for the application. | |
| void | setAppTheme (const QString &theme) | 
| Sets the current app theme for the application. | |
| Q_INVOKABLE void | resetShortcutsToDefaults () | 
| Resets all shortcuts to their default values. | |
| QString | defaultNewShortcut () const | 
| Returns the default new shortcut for the application. | |
| QString | newShortcut () const | 
| Returns the current new shortcut for the application. | |
| void | setNewShortcut (const QString &shortcut) | 
| Sets the current new shortcut for the application. | |
| QString | defaultOpenShortcut () const | 
| Returns the default open shortcut for the application. | |
| QString | openShortcut () const | 
| Returns the current open shortcut for the application. | |
| void | setOpenShortcut (const QString &shortcut) | 
| Sets the current open shortcut for the application. | |
| QString | defaultSaveShortcut () const | 
| Returns the default save shortcut for the application. | |
| QString | saveShortcut () const | 
| Returns the current save shortcut for the application. | |
| void | setSaveShortcut (const QString &shortcut) | 
| Sets the current save shortcut for the application. | |
| QString | defaultSaveAsShortcut () const | 
| Returns the default save as shortcut for the application. | |
| QString | saveAsShortcut () const | 
| Returns the current save as shortcut for the application. | |
| void | setSaveAsShortcut (const QString &shortcut) | 
| Sets the current save as shortcut for the application. | |
| QString | defaultQuitShortcut () const | 
| Returns the default quit shortcut for the application. | |
| QString | quitShortcut () const | 
| Returns the current quit shortcut for the application. | |
| void | setQuitShortcut (const QString &shortcut) | 
| Sets the current quit shortcut for the application. | |
| QString | defaultUndoShortcut () const | 
| Returns the default undo shortcut for the application. | |
| QString | undoShortcut () const | 
| Returns the current undo shortcut for the application. | |
| void | setUndoShortcut (const QString &shortcut) | 
| Sets the current undo shortcut for the application. | |
| QString | defaultRedoShortcut () const | 
| Returns the default redo shortcut for the application. | |
| QString | redoShortcut () const | 
| Returns the current redo shortcut for the application. | |
| void | setRedoShortcut (const QString &shortcut) | 
| Sets the current redo shortcut for the application. | |
| QString | defaultCopyShortcut () const | 
| Returns the default copy shortcut for the application. | |
| QString | copyShortcut () const | 
| Returns the current copy shortcut for the application. | |
| void | setCopyShortcut (const QString &shortcut) | 
| Sets the current copy shortcut for the application. | |
| QString | defaultCutShortcut () const | 
| Returns the default cut shortcut for the application. | |
| QString | cutShortcut () const | 
| Returns the current cut shortcut for the application. | |
| void | setCutShortcut (const QString &shortcut) | 
| Sets the current cut shortcut for the application. | |
| QString | defaultPasteShortcut () const | 
| Returns the default paste shortcut for the application. | |
| QString | pasteShortcut () const | 
| Returns the current paste shortcut for the application. | |
| void | setPasteShortcut (const QString &shortcut) | 
| Sets the current paste shortcut for the application. | |
| QString | defaultOptionsShortcut () const | 
| Returns the default options shortcut for the application. | |
| QString | optionsShortcut () const | 
| Returns the current options shortcut for the application. | |
| void | setOptionsShortcut (const QString &shortcut) | 
| Sets the current options shortcut for the application. | |
| QString | defaultFullScreenShortcut () const | 
| Returns the default full screen shortcut for the application. | |
| QString | fullScreenShortcut () const | 
| Returns the current full screen shortcut for the application. | |
| void | setFullScreenShortcut (const QString &shortcut) | 
| Sets the current full screen shortcut for the application. | |
| Properties | |
| QString | language | 
| qreal | windowOpacity | 
| bool | fpsVisible | 
| QString | appTheme | 
| QString | newShortcut | 
| QString | openShortcut | 
| QString | saveShortcut | 
| QString | saveAsShortcut | 
| QString | quitShortcut | 
| QString | undoShortcut | 
| QString | redoShortcut | 
| QString | copyShortcut | 
| QString | cutShortcut | 
| QString | pasteShortcut | 
| QString | optionsShortcut | 
| QString | fullScreenShortcut | 
The Settings class is a singleton that manages the application settings.
| 
 | explicit | 
| myproject::Settings::Settings | ( | const QString & | organization, | 
| const QString & | application, | ||
| QObject * | parent = nullptr ) | 
| 
 | nodiscard | 
Returns the current app theme for the application.
| 
 | signal | 
Emitted when the app theme is changed.
| 
 | nodiscard | 
Returns the current copy shortcut for the application.
| 
 | signal | 
Emitted when the copy shortcut is changed.
| 
 | nodiscard | 
Returns the current cut shortcut for the application.
| 
 | signal | 
Emitted when the cut shortcut is changed.
| 
 | nodiscard | 
Returns the default app theme for the application.
| 
 | nodiscard | 
Returns the default copy shortcut for the application.
| 
 | nodiscard | 
Returns the default cut shortcut for the application.
| 
 | nodiscard | 
Returns the default FPS visibility for the application.
| 
 | nodiscard | 
Returns the default full screen shortcut for the application.
| 
 | nodiscard | 
Returns the default language for the application.
| 
 | nodiscard | 
Returns the default new shortcut for the application.
| 
 | nodiscard | 
Returns the default open shortcut for the application.
| 
 | nodiscard | 
Returns the default options shortcut for the application.
| 
 | nodiscard | 
Returns the default paste shortcut for the application.
| 
 | nodiscard | 
Returns the default quit shortcut for the application.
| 
 | nodiscard | 
Returns the default redo shortcut for the application.
| 
 | nodiscard | 
Returns the default save as shortcut for the application.
| 
 | nodiscard | 
Returns the default save shortcut for the application.
| 
 | nodiscard | 
Returns the default undo shortcut for the application.
| 
 | nodiscard | 
Returns the default window opacity for the application.
| 
 | signal | 
Emitted when the FPS visibility is changed.
| 
 | nodiscard | 
Returns the current full screen shortcut for the application.
| 
 | signal | 
Emitted when the full screen shortcut is changed.
| 
 | nodiscard | 
Returns the current FPS visibility for the application.
| 
 | nodiscard | 
Returns the current language for the application.
| 
 | signal | 
Emitted when the language is changed.
| 
 | nodiscard | 
Returns the current new shortcut for the application.
| 
 | signal | 
Emitted when the new shortcut is changed.
| 
 | nodiscard | 
Returns the current open shortcut for the application.
| 
 | signal | 
Emitted when the open shortcut is changed.
| 
 | nodiscard | 
Returns the current options shortcut for the application.
| 
 | signal | 
Emitted when the options shortcut is changed.
| 
 | nodiscard | 
Returns the current paste shortcut for the application.
| 
 | signal | 
Emitted when the paste shortcut is changed.
| 
 | nodiscard | 
Returns the current quit shortcut for the application.
| 
 | signal | 
Emitted when the quit shortcut is changed.
| 
 | nodiscard | 
Returns the current redo shortcut for the application.
| 
 | signal | 
Emitted when the redo shortcut is changed.
| void myproject::Settings::resetShortcutsToDefaults | ( | ) | 
Resets all shortcuts to their default values.
| 
 | nodiscard | 
Returns the current save as shortcut for the application.
| 
 | signal | 
Emitted when the save as shortcut is changed.
| 
 | nodiscard | 
Returns the current save shortcut for the application.
| 
 | signal | 
Emitted when the save shortcut is changed.
| void myproject::Settings::setAppTheme | ( | const QString & | theme | ) | 
Sets the current app theme for the application.
| theme | The new app theme. | 
| void myproject::Settings::setCopyShortcut | ( | const QString & | shortcut | ) | 
Sets the current copy shortcut for the application.
| shortcut | The new copy shortcut. | 
| void myproject::Settings::setCutShortcut | ( | const QString & | shortcut | ) | 
Sets the current cut shortcut for the application.
| shortcut | The new cut shortcut. | 
| void myproject::Settings::setFpsVisible | ( | const bool | fps_visible | ) | 
Sets the current FPS visibility for the application.
| fps_visible | The new FPS visibility. | 
| void myproject::Settings::setFullScreenShortcut | ( | const QString & | shortcut | ) | 
Sets the current full screen shortcut for the application.
| shortcut | The new full screen shortcut. | 
| void myproject::Settings::setLanguage | ( | const QString & | language | ) | 
Sets the current language for the application.
| language | The new language. | 
| void myproject::Settings::setNewShortcut | ( | const QString & | shortcut | ) | 
Sets the current new shortcut for the application.
| shortcut | The new new shortcut. | 
| void myproject::Settings::setOpenShortcut | ( | const QString & | shortcut | ) | 
Sets the current open shortcut for the application.
| shortcut | The new open shortcut. | 
| void myproject::Settings::setOptionsShortcut | ( | const QString & | shortcut | ) | 
Sets the current options shortcut for the application.
| shortcut | The new options shortcut. | 
| void myproject::Settings::setPasteShortcut | ( | const QString & | shortcut | ) | 
Sets the current paste shortcut for the application.
| shortcut | The new paste shortcut. | 
| void myproject::Settings::setQuitShortcut | ( | const QString & | shortcut | ) | 
Sets the current quit shortcut for the application.
| shortcut | The new quit shortcut. | 
| void myproject::Settings::setRedoShortcut | ( | const QString & | shortcut | ) | 
Sets the current redo shortcut for the application.
| shortcut | The new redo shortcut. | 
| void myproject::Settings::setSaveAsShortcut | ( | const QString & | shortcut | ) | 
Sets the current save as shortcut for the application.
| shortcut | The new save as shortcut. | 
| void myproject::Settings::setSaveShortcut | ( | const QString & | shortcut | ) | 
Sets the current save shortcut for the application.
| shortcut | The new save shortcut. | 
| void myproject::Settings::setUndoShortcut | ( | const QString & | shortcut | ) | 
Sets the current undo shortcut for the application.
| shortcut | The new undo shortcut. | 
| void myproject::Settings::setWindowOpacity | ( | const qreal | opacity | ) | 
Sets the current window opacity for the application.
| opacity | The new window opacity. | 
| 
 | nodiscard | 
Returns the current undo shortcut for the application.
| 
 | signal | 
Emitted when the undo shortcut is changed.
| 
 | nodiscard | 
Returns the current window opacity for the application.
| 
 | signal | 
Emitted when the window opacity is changed.
| 
 | readwrite | 
| 
 | readwrite | 
| 
 | readwrite | 
| 
 | readwrite | 
| 
 | read | 
| 
 | readwrite | 
| 
 | readwrite | 
| 
 | readwrite | 
| 
 | read | 
| 
 | readwrite | 
| 
 | readwrite | 
| 
 | readwrite | 
| 
 | readwrite | 
| 
 | readwrite | 
| 
 | readwrite | 
| 
 | readwrite |