25 #ifndef GUI_STREAMRECORDER_H_ 26 #define GUI_STREAMRECORDER_H_ 28 #include "Interfaces/PreferenceDialog/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;
70 QString error_string()
const 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);
void init_ui() override
call setup_parent(this) here. initialize compoenents and connections here. After calling setup_parent...
Definition: GUI_ControlsBase.h:43
bool commit() override
This method is called, when OK or apply is pressed. So all settings should be written there...
void retranslate_ui() override
call the Qt retranslateUi method here
Definition: GUI_StreamRecorder.h:51
Abstract Interface you should use when creating a preferences item.
Definition: PreferenceWidget.h:41
QString action_name() const override
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...