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);
Definition: GUI_StreamRecorderPreferences.h:53
void retranslate() override
call the Qt retranslateUi method here
QString errorString() 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.
void revert() override
This method is called, when cancel is clicked. So the gui should be re-initialized when this method i...
void initUi() override
call setup_parent(this) here. initialize compoenents and connections here. After calling setup_parent...
QString actionName() const override
has to be implemented and should return the translated action text
Abstract Interface you should use when creating a preferences item.
Definition: PreferenceWidget.h:42
QString identifier() const
return the unique identifier