30  explicit 
Settings(QObject *parent = 
nullptr);
 
   37  [[nodiscard]] QString 
language() const;
 
 
The Settings class is a wrapper around QSettings that provides a more convenient interface for access...
Definition settings.h:12
 
void fullScreenShortcutChanged()
Emitted when the full screen shortcut is changed.
 
qreal defaultWindowOpacity() const
Returns the default window opacity for the application.
Definition settings.cpp:26
 
bool defaultFpsVisible() const
Returns the default FPS visibility for the application.
Definition settings.cpp:39
 
void setWindowOpacity(const qreal opacity)
Sets the current window opacity for the application.
Definition settings.cpp:32
 
void setOptionsShortcut(const QString &shortcut)
Sets the current options shortcut for the application.
Definition settings.cpp:86
 
void setLanguage(const QString &language)
Sets the current language for the application.
Definition settings.cpp:19
 
void setFullScreenShortcut(const QString &shortcut)
Sets the current full screen shortcut for the application.
Definition settings.cpp:103
 
void setFpsVisible(const bool fps_visible)
Sets the current FPS visibility for the application.
Definition settings.cpp:46
 
QString defaultFullScreenShortcut() const
Returns the default full screen shortcut for the application.
Definition settings.cpp:95
 
bool fpsVisible
Definition settings.h:20
 
QString defaultLanguage() const
Returns the default language for the application.
Definition settings.cpp:13
 
QString defaultOptionsShortcut() const
Returns the default options shortcut for the application.
Definition settings.cpp:78
 
void setQuitShortcut(const QString &shortcut)
Sets the current quit shortcut for the application.
Definition settings.cpp:70
 
QString defaultQuitShortcut() const
Returns the default quit shortcut for the application.
Definition settings.cpp:62
 
void fpsVisibleChanged()
Emitted when the FPS visibility is changed.
 
bool isFpsVisible() const
Returns the current FPS visibility for the application.
Definition settings.cpp:41
 
QString language
Definition settings.h:16
 
void languageChanged()
Emitted when the language is changed.
 
QString fullScreenShortcut
Definition settings.h:27
 
QString optionsShortcut
Definition settings.h:25
 
void optionsShortcutChanged()
Emitted when the options shortcut is changed.
 
qreal windowOpacity
Definition settings.h:18
 
void windowOpacityChanged()
Emitted when the window opacity is changed.
 
void quitShortcutChanged()
Emitted when the quit shortcut is changed.
 
Q_INVOKABLE void resetShortcutsToDefaults()
Resets all shortcuts to their default values.
Definition settings.cpp:53
 
QString quitShortcut
Definition settings.h:23
 
Definition backend.cpp:11