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 languageChanged()
override;
70 void skinChanged()
override;
75 void activeToggled(
bool);
76 void pathButtonClicked();
77 void defaultButtonClicked();
78 void lineEditChanged(
const QString& text);
QString actionName() const override
has to be implemented and should return the translated action text
void retranslate() override
call the Qt retranslateUi method here
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...
QString errorString() const override
A closer description of the error.
void initUi() 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