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