![]() |
Sayonara Player
|
This container is only used internally to avoid Ui dependencies in the Components. If implementing your own library plugin, use Gui/Library/LibraryContainer.h instead. More...
#include <AbstractLibraryContainer.h>
Public Member Functions | |
virtual QString | name () const =0 |
Should return an untranslated name used for identifying this widget. More... | |
virtual void | rename (const QString &newName)=0 |
virtual QString | displayName () const =0 |
Should return the translated name displayed in the library view combobox. More... | |
virtual QWidget * | widget () const =0 |
Should return the UI for the library view. More... | |
virtual QFrame * | header () const =0 |
this is a frame at the top left of the container where the combo box will be located More... | |
virtual QMenu * | menu ()=0 |
return actions menu (may be nullptr). The title does not have to be set More... | |
virtual QPixmap | icon () const =0 |
Every library should show a icon in the combo box. More... | |
virtual void | init ()=0 |
init | |
virtual bool | isLocal () const =0 |
a local library is a library which writes to the library field of the database. This should be false for every new plugin More... | |
This container is only used internally to avoid Ui dependencies in the Components. If implementing your own library plugin, use Gui/Library/LibraryContainer.h instead.
|
pure virtual |
Should return the translated name displayed in the library view combobox.
Implemented in SC::LibraryContainer, SomaFM::LibraryContainer, LocalLibraryContainer, Library::Container, EmptyLibraryContainer, and HistoryContainer.
|
pure virtual |
this is a frame at the top left of the container where the combo box will be located
Implemented in SC::LibraryContainer, SomaFM::LibraryContainer, LocalLibraryContainer, EmptyLibraryContainer, and HistoryContainer.
|
pure virtual |
Every library should show a icon in the combo box.
Implemented in SC::LibraryContainer, SomaFM::LibraryContainer, LocalLibraryContainer, EmptyLibraryContainer, and HistoryContainer.
|
pure virtual |
a local library is a library which writes to the library field of the database. This should be false for every new plugin
Implemented in LocalLibraryContainer, and Library::Container.
|
pure virtual |
return actions menu (may be nullptr). The title does not have to be set
Implemented in SC::LibraryContainer, SomaFM::LibraryContainer, LocalLibraryContainer, Library::Container, and EmptyLibraryContainer.
|
pure virtual |
Should return an untranslated name used for identifying this widget.
Implemented in SC::LibraryContainer, SomaFM::LibraryContainer, LocalLibraryContainer, EmptyLibraryContainer, and HistoryContainer.
|
pure virtual |
Should return the UI for the library view.
Implemented in SC::LibraryContainer, SomaFM::LibraryContainer, LocalLibraryContainer, EmptyLibraryContainer, and HistoryContainer.