|
Sayonara Player
|
The EmptyLibraryContainer class. More...
#include <EmptyLibraryContainer.h>
Public Member Functions | |
| EmptyLibraryContainer (Library::Manager *libraryManager, QObject *parent=nullptr) | |
| QString | name () const override |
| Should return an untranslated name used for identifying this widget. More... | |
| QString | displayName () const override |
| Should return the translated name displayed in the library view combobox. More... | |
| QWidget * | widget () const override |
| Should return the UI for the library view. More... | |
| QMenu * | menu () override |
| return actions menu (may be nullptr). The title does not have to be set More... | |
| QFrame * | header () const override |
| this is a frame at the top left of the container where the combo box will be located More... | |
| QIcon | icon () const override |
| Every library should show a icon in the combo box. More... | |
| void | initUi () override |
| Should initialize the ui. The ui constructor should be called within this function. More... | |
| void | init () override |
| init More... | |
| virtual void | rename (const QString &new_name) override |
| virtual bool | isLocal () const override |
| a local library is a library which writes to the library field of the database. This should be false for every new plugin More... | |
The EmptyLibraryContainer class.
|
overridevirtual |
Should return the translated name displayed in the library view combobox.
Reimplemented from Library::Container.
|
overridevirtual |
this is a frame at the top left of the container where the combo box will be located
Implements Library::AbstractContainer.
|
overridevirtual |
|
overridevirtualinherited |
init
Implements Library::AbstractContainer.
|
overridevirtual |
Should initialize the ui. The ui constructor should be called within this function.
Implements Library::Container.
|
overridevirtualinherited |
a local library is a library which writes to the library field of the database. This should be false for every new plugin
Implements Library::AbstractContainer.
Reimplemented in LocalLibraryContainer.
|
overridevirtual |
return actions menu (may be nullptr). The title does not have to be set
Reimplemented from Library::Container.
|
overridevirtual |
Should return an untranslated name used for identifying this widget.
Implements Library::AbstractContainer.
|
overridevirtualinherited |
Implements Library::AbstractContainer.
|
overridevirtual |
Should return the UI for the library view.
Implements Library::AbstractContainer.