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;
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:46
QString display_name() const override
Should return the translated name displayed in the library view combobox.
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 init_ui() override
Should initialize the ui. The ui constructor should be called within this function.
Definition: SomaFMLibrary.h:31
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.