![]() |
Limb Range Analyzer
Cross-platform application for human limb range analysis.
|
Class responsible for application settings description and management. More...
#include <settings.hpp>
Public Member Functions | |
| Settings () | |
| Default class constructor for Settings module. More... | |
| ~Settings () | |
| Destructor designed for class Settings. More... | |
| void | Settings_SetDebugInformations (bool debugInformations) |
| Setter function designed for debugging informations preference changes. More... | |
| void | Settings_SetUnrestrictedLimbMovement (bool unrestrictedLimbMovement) |
| Setter function designed for unrestricted limb movement preference setting. More... | |
| void | Settings_SetLanguage (Language language) |
| Setter function meant for language preference changing. More... | |
| bool | Settings_GetDebugInformations () |
| Getter member function that returns mEnableDebugInformations member variable. More... | |
| bool | Settings_GetUnrestrictedLimbMovement () |
| Getter function that returns previously set option of unrestricted limb movement. More... | |
| QString | Settings_GetLanguage (bool getByID) |
| Getter function with parameter meant for selected language choice reading. More... | |
Private Attributes | |
| bool | mEnableDebugInformations |
| bool that keeps the information whether debugging informations are meant to be reported. | |
| bool | mEnableUnrestrictedLimbMovement |
| bool value that describes the choice of unrestricted dual limb movement. | |
| Language | mLanguage |
| Language member variable that keeps the currently selected language. | |
Class responsible for application settings description and management.
Application settings are handled through user interface section (see MainWindow), as well as permanently stored via XmlParser module. This class encapsulates possible application options, which users may change to fit their requirements.
| Settings::Settings | ( | ) |
Default class constructor for Settings module.
A default constructor function responsible for actions bound with instance creation.
| Settings::~Settings | ( | ) |
Destructor designed for class Settings.
Base destructor function with no custom-defined properties.
| bool Settings::Settings_GetDebugInformations | ( | ) |
Getter member function that returns mEnableDebugInformations member variable.
Function is designed for reading of member describing the choice of additional debugging informations.
TRUE in case of enabled debugging informations, FALSE otherwise | QString Settings::Settings_GetLanguage | ( | bool | getByID | ) |
Getter function with parameter meant for selected language choice reading.
Function accepts a parameter and returns a text string with the description of selected language. If TRUE is passed to this function, a string containing an index of selected language is returned. In case of FALSE at function input, this function returns a text string with selected and translated language description.
| getByID | - a choice of output format |
| bool Settings::Settings_GetUnrestrictedLimbMovement | ( | ) |
Getter function that returns previously set option of unrestricted limb movement.
Function returns mEnableUnrestrictedLimbMovement for its further processing.
TRUE if unrestricted movement is enabled, FALSE otherwise | void Settings::Settings_SetDebugInformations | ( | bool | debugInformations | ) |
Setter function designed for debugging informations preference changes.
This setter function accepts a parameter that is set to mEnableDebugInformations member variable.
| debugInformations | - a boolean value that in its TRUE state enables additional debugging informations, FALSE stands for its deactivation |
| void Settings::Settings_SetLanguage | ( | Language | language | ) |
Setter function meant for language preference changing.
This function changes the language of Limb Range Analyzer to value set by parameter.
| language | - enumeration item that represents the preferred language |
| void Settings::Settings_SetUnrestrictedLimbMovement | ( | bool | unrestrictedLimbMovement | ) |
Setter function designed for unrestricted limb movement preference setting.
Setter function that modifies mEnableUnrestrictedLimbMovement member through received parameter.
| unrestrictedLimbMovement | - a boolean value that in its TRUE state enables unrestricted limb movement while 3D visualization is running, FALSE sets it otherwise |