23 #ifndef GUI_ICONPREFERENCES_H 24 #define GUI_ICONPREFERENCES_H 26 #include "Interfaces/PreferenceDialog/PreferenceWidget.h" 27 #include "Utils/Pimpl.h" 54 void theme_changed(
const QString& theme);
57 #endif // GUI_ICONPREFERENCES_H bool commit() override
This method is called, when OK or apply is pressed. So all settings should be written there...
void retranslate_ui() override
call the Qt retranslateUi method here
QString 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...
Definition: GUI_IconPreferences.h:32
Abstract Interface you should use when creating a preferences item.
Definition: PreferenceWidget.h:41
void init_ui() override
call setup_parent(this) here. initialize compoenents and connections here. After calling setup_parent...