 |
Sayonara Player
|
24 #ifndef GUI_SOMAFMLIBRARY_CONTAINER_H
25 #define GUI_SOMAFMLIBRARY_CONTAINER_H
28 #include "Interfaces/Library/LibraryContainer/LibraryContainer.h"
48 QString
name()
const override;
50 QWidget*
widget()
const override;
51 QPixmap
icon()
const override;
52 QMenu*
menu()
override;
53 QFrame*
header()
const override;
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
Definition: SomaFMLibraryContainer.h:34
QString name() const override
Should return an untranslated name used for identifying this widget.
void init_ui() override
Should initialize the ui. The ui constructor should be called within this function.
QString display_name() const override
Should return the translated name displayed in the library view combobox.
Definition: GUI_SomaFM.h:40
Definition: LibraryContainer.h:46
QPixmap icon() const override
Every library should show a icon in the combo box.
QMenu * menu() override
return actions menu (may be nullptr). The title does not have to be set