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