21 #ifndef LOCALLIBRARYCONTAINER_H 22 #define LOCALLIBRARYCONTAINER_H 24 #include "Gui/Library/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 rename(
const QString& new_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:37
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 name() const override
Should return an untranslated name used for identifying this widget.
The Info class.
Definition: LibraryInfo.h:35
bool isLocal() const override
a local library is a library which writes to the library field of the database. This should be false ...
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.
QWidget * widget() const override
Should return the UI for the library view.
An interface class needed when implementing a library plugin.
Definition: LocalLibraryWatcher.h:30
The LocalLibraryContainer class.
Definition: LocalLibraryContainer.h:36