23 #ifndef GUI_LIBRARYPREFERENCES_H
24 #define GUI_LIBRARYPREFERENCES_H
26 #include "Interfaces/PreferenceDialog/PreferenceWidgetInterface.h"
27 #include "GUI/Preferences/LibraryPreferences/ui_GUI_LibraryPreferences.h"
54 #endif // GUI_LIBRARYPREFERENCES_H
void commit() override
This method is called, when OK or apply is pressed. So all settings should be written there...
virtual void init_ui()=0
call setup_parent(this) here. initialize compoenents and connections here. After calling setup_parent...
Definition: ui_GUI_LibraryPreferences.h:107
void language_changed()
automatically called when language has changed. When overriding this method. Overriding this method s...
Definition: PreferenceInterface.h:116
Template class for implementing preference dialogs and preference widgets.
Definition: PreferenceInterface.h:70
Definition: GUI_LibraryPreferences.h:30
virtual QString get_action_name() const =0
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...