21 #ifndef GUI_NOTIFICATIONS_H 22 #define GUI_NOTIFICATIONS_H 24 #include "Interfaces/PreferenceDialog/PreferenceWidget.h" 46 void notifications_changed();
53 #endif // GUI_NOTIFICATIONS_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
void revert() override
This method is called, when cancel is clicked. So the gui should be re-initialized when this method i...
Definition: GUI_Notifications.h:30
bool commit() override
This method is called, when OK or apply is pressed. So all settings should be written there.
void init_ui() override
call setup_parent(this) here. initialize compoenents and connections here. After calling setup_parent...
Definition: NotificationHandler.h:40
Abstract Interface you should use when creating a preferences item.
Definition: PreferenceWidget.h:41