21 #ifndef LOCALLIBRARYCONTAINER_H 22 #define LOCALLIBRARYCONTAINER_H 24 #include "Interfaces/Library/LibraryContainer/LibraryContainer.h" 25 #include "Utils/Pimpl.h" 47 QString
name()
const override;
49 QWidget*
widget()
const override;
50 QMenu*
menu()
override;
51 QFrame*
header()
const override;
52 QPixmap
icon()
const override;
55 void set_name(
const QString&
name)
override;
58 #endif // LOCALLIBRARYCONTAINER_H QMenu * menu() override
return actions menu (may be nullptr). The title does not have to be set
Definition: LibraryContainer.h:46
QPixmap icon() const override
Every library should show a icon in the combo box.
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.
QString name() const override
Should return an untranslated name used for identifying this widget.
The Info class.
Definition: LibraryInfo.h:35
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.
An interface class needed when implementing a library plugin.
Definition: LocalLibraryWatcher.h:32
bool is_local() const override
a local library is a library which writes to the library field of the database. This should be false ...
The LocalLibraryContainer class.
Definition: LocalLibraryContainer.h:36