 |
Sayonara Player
|
21 #ifndef GUI_NOTIFICATION_PREFERENCES_H
22 #define GUI_NOTIFICATION_PREFERENCES_H
24 #include "Gui/Preferences/PreferenceWidget.h"
46 void notifications_changed();
53 #endif // GUI_NotificationPreferences_H
void revert() override
This method is called, when cancel is clicked. So the gui should be re-initialized when this method i...
Definition: NotificationHandler.h:41
Abstract Interface you should use when creating a preferences item.
Definition: PreferenceWidget.h:40
void init_ui() override
call setup_parent(this) here. initialize compoenents and connections here. After calling setup_parent...
QString action_name() const override
has to be implemented and should return the translated action text
QString identifier() const
return the unique identifier
void retranslate_ui() override
call the Qt retranslateUi method here
Definition: GUI_NotificationPreferences.h:30
bool commit() override
This method is called, when OK or apply is pressed. So all settings should be written there.