Limb Range Analyzer
Cross-platform application for human limb range analysis.
settings.hpp
Go to the documentation of this file.
1
10#ifndef SETTINGS_HPP
11#define SETTINGS_HPP
12
13/*Private includes: ---------------------------------------------------------*/
14#include <QObject>
15
16/*Enumeration declarations: -------------------------------------------------*/
25enum class Language
26{
27 eEnglish = 1,
28 eCzech
29};
30
31/*Class declaration: --------------------------------------------------------*/
42{
43 public:
53 Settings();
54
64 ~Settings();
65
66
79 void Settings_SetDebugInformations(bool debugInformations);
80
93 void Settings_SetUnrestrictedLimbMovement(bool unrestrictedLimbMovement);
94
106 void Settings_SetLanguage(Language language);
107
120
133
149 QString Settings_GetLanguage(bool getByID);
150
151 private:
158
165
172};
173
174#endif // SETTINGS_HPP
Class responsible for application settings description and management.
Definition: settings.hpp:42
void Settings_SetDebugInformations(bool debugInformations)
Setter function designed for debugging informations preference changes.
Definition: settings.cpp:17
Language mLanguage
Language member variable that keeps the currently selected language.
Definition: settings.hpp:171
void Settings_SetUnrestrictedLimbMovement(bool unrestrictedLimbMovement)
Setter function designed for unrestricted limb movement preference setting.
Definition: settings.cpp:18
~Settings()
Destructor designed for class Settings.
Definition: settings.cpp:15
void Settings_SetLanguage(Language language)
Setter function meant for language preference changing.
Definition: settings.cpp:19
bool mEnableDebugInformations
bool that keeps the information whether debugging informations are meant to be reported.
Definition: settings.hpp:157
bool Settings_GetUnrestrictedLimbMovement()
Getter function that returns previously set option of unrestricted limb movement.
Definition: settings.cpp:22
Settings()
Default class constructor for Settings module.
Definition: settings.cpp:14
bool mEnableUnrestrictedLimbMovement
bool value that describes the choice of unrestricted dual limb movement.
Definition: settings.hpp:164
QString Settings_GetLanguage(bool getByID)
Getter function with parameter meant for selected language choice reading.
Definition: settings.cpp:23
bool Settings_GetDebugInformations()
Getter member function that returns mEnableDebugInformations member variable.
Definition: settings.cpp:21
Language
Language enumeration type distinguishes between possible Limb Range Analyzer UI languages.
Definition: settings.hpp:26