 |
Sayonara Player
|
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);
Definition: GUI_StreamRecorderPreferences.h:51
QString error_string() const override
A closer description of the error.
bool commit() override
This method is called, when OK or apply is pressed. So all settings should be written there.
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...
Abstract Interface you should use when creating a preferences item.
Definition: PreferenceWidget.h:40
void retranslate_ui() override
call the Qt retranslateUi method here
QString identifier() const
return the unique identifier
void init_ui() override
call setup_parent(this) here. initialize compoenents and connections here. After calling setup_parent...