|
tuned-switcher 1.1.0
Performance profile manager
|
#include <settings.h>


Public Member Functions | |
| Settings (QWidget *parent=nullptr) | |
| ~Settings () | |
Protected Member Functions | |
| void | keyPressEvent (QKeyEvent *) override |
Private Slots | |
| void | settingsAcceptedEvent () |
| void | settingsRejectedEvent () |
Private Member Functions | |
| void | initializeSettings () |
| void | loadFormSettings () |
| void | loadSettings () |
| void | saveFormSettings () |
| void | saveSettings () |
| void | resetSettings () |
| void | setDefaultFormPosition () |
| void | setSavedFormPosition () |
| void | setFormStyle () |
| void | setFormEvents () |
Private Attributes | |
| Ui::Settings * | ui |
| SettingsManager * | settings |
Class for working with the program settings.
|
explicit |
Main constructor of the Settings class.
| parent | Parent widget. |
| Settings::~Settings | ( | ) |
Destructor of the Settings class.
|
private |
Initialize the SettingsManager class instance.
|
overrideprotected |
Key pressed event handler.
| event | Event object instance. |
|
private |
Load form settings from file: position and size.
|
private |
Load application settings from file.
|
private |
Reset application settings.
|
private |
Save form settings to file: position and size.
|
private |
Save application settings to file.
|
private |
Set the default form position to the center of the screen.
|
private |
Initialize and connect the events for the form.
|
private |
Set custom form style.
|
private |
Set the form position based on saved settings.
|
privateslot |
Settings accepted event slot (handler).
|
privateslot |
Settings rejected event slot (handler).
|
private |
Stores pointer to the SettingsManager class instance.
|
private |
Stores the GUI application form instance.