 |
Sayonara Player
|
21 #ifndef GUI_LIBRARYPREFERENCES_H
22 #define GUI_LIBRARYPREFERENCES_H
24 #include "Gui/Preferences/PreferenceWidget.h"
25 #include "Utils/Pimpl.h"
53 void skinChanged()
override;
55 void showEvent(QShowEvent* e)
override;
66 void editDialogAccepted();
67 void selectedIndexChanged(
const QModelIndex& idx);
70 int currentRow()
const;
73 #endif // GUI_LIBRARYPREFERENCES_H
QString actionName() const override
has to be implemented and should return the translated action text
void initUi() override
call setup_parent(this) here. initialize compoenents and connections here. After calling setup_parent...
An interface class needed when implementing a library plugin.
Definition: LocalLibraryWatcher.h:31
QString errorString() const override
A closer description of the error.
void retranslate() override
call the Qt retranslateUi method here
Abstract Interface you should use when creating a preferences item.
Definition: PreferenceWidget.h:42
bool commit() override
This method is called, when OK or apply is pressed. So all settings should be written there.
Definition: LibraryManager.h:40
void revert() override
This method is called, when cancel is clicked. So the gui should be re-initialized when this method i...
Definition: GUI_LibraryPreferences.h:36
QString identifier() const
return the unique identifier