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