21 #ifndef GUI_LANGUAGECHOOSER_H 22 #define GUI_LANGUAGECHOOSER_H 24 #include "Interfaces/PreferenceDialog/PreferenceWidget.h" 25 #include "Utils/Pimpl.h" 49 void skin_changed()
override;
51 void showEvent(QShowEvent*)
override;
57 #endif // GUI_LANGUAGECHOOSER_H QString action_name() const override
has to be implemented and should return the translated action text
void retranslate_ui() override
call the Qt retranslateUi method here
Definition: GUI_LanguageChooser.h:30
bool 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...
void init_ui() override
call setup_parent(this) here. initialize compoenents and connections here. After calling setup_parent...
Abstract Interface you should use when creating a preferences item.
Definition: PreferenceWidget.h:41