25 #ifndef GUI_STREAMRECORDER_PREFERENCES_H 26 #define GUI_STREAMRECORDER_PREFERENCES_H 28 #include "Gui/Preferences/PreferenceWidget.h" 29 #include "Utils/Pimpl.h" 31 #include <QPushButton> 37 Gui::WidgetTemplate<QPushButton>
43 TagButton(
const QString& tag_name, QWidget* parent);
47 void language_changed()
override;
73 void sl_cb_activate_toggled(
bool);
74 void sl_btn_path_clicked();
75 void sl_btn_default_clicked();
76 void sl_line_edit_changed(
const QString& new_text);
QString error_string() const override
A closer description of the error.
Definition: AbstractLibrary.h:36
Definition: GUI_StreamRecorderPreferences.h:51
QString identifier() const
return the unique identifier
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 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 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:40