 |
Sayonara Player
|
21 #ifndef EMPTYLIBRARYCONTAINER_H
22 #define EMPTYLIBRARYCONTAINER_H
24 #include "Utils/Pimpl.h"
25 #include "Interfaces/Library/LibraryContainer/LibraryContainer.h"
43 QString
name()
const override;
45 QWidget*
widget()
const override;
46 QMenu*
menu()
override;
47 QFrame*
header()
const override;
48 QPixmap
icon()
const override;
53 #endif // EMPTYLIBRARYCONTAINER_H
The EmptyLibraryContainer class.
Definition: EmptyLibraryContainer.h:31
QString name() const override
Should return an untranslated name used for identifying this widget.
QMenu * menu() override
return actions menu (may be nullptr). The title does not have to be set
void init_ui() override
Should initialize the ui. The ui constructor should be called within this function.
QWidget * widget() const override
Should return the UI for the library view.
QFrame * header() const override
this is a frame at the top left of the container where the combo box will be located
QString display_name() const override
Should return the translated name displayed in the library view combobox.
Definition: LibraryContainer.h:46
QPixmap icon() const override
Every library should show a icon in the combo box.