23 #ifndef GUI_PLAYERPREFERENCES_H
24 #define GUI_PLAYERPREFERENCES_H
26 #include "Interfaces/PreferenceDialog/PreferenceWidgetInterface.h"
27 #include "GUI/Preferences/PlayerPreferences/ui_GUI_PlayerPreferences.h"
58 #endif // GUI_PLAYERPREFERENCES_H
Definition: ui_GUI_PlayerPreferences.h:70
void commit() override
This method is called, when OK or apply is pressed. So all settings should be written there...
void language_changed()
automatically called when language has changed. When overriding this method. Overriding this method s...
Definition: PreferenceInterface.h:116
Definition: GUI_PlayerPreferences.h:30
Template class for implementing preference dialogs and preference widgets.
Definition: PreferenceInterface.h:70
void init_ui()
call setup_parent(this) here. initialize compoenents and connections here. After calling setup_parent...
void revert() override
This method is called, when cancel is clicked. So the gui should be re-initialized when this method i...
QString get_action_name() const override
has to be implemented and should return the translated action text