1 #ifndef CONTAINERINTERFACE_H 2 #define CONTAINERINTERFACE_H 28 virtual QString
name()
const=0;
30 virtual void rename(
const QString& newName)=0;
42 virtual QWidget*
widget()
const=0;
49 virtual QFrame*
header()
const=0;
55 virtual QMenu*
menu()=0;
62 virtual QPixmap
icon()
const=0;
67 virtual void init()=0;
82 #endif // CONTAINERINTERFACE_H virtual QString displayName() const =0
Should return the translated name displayed in the library view combobox.
This container is only used internally to avoid Ui dependencies in the Components....
Definition: AbstractLibraryContainer.h:19
virtual QString name() const =0
Should return an untranslated name used for identifying this widget.
virtual QMenu * menu()=0
return actions menu (may be nullptr). The title does not have to be set
virtual bool isLocal() const =0
a local library is a library which writes to the library field of the database. This should be false ...
virtual QPixmap icon() const =0
Every library should show a icon in the combo box.
An interface class needed when implementing a library plugin.
Definition: LocalLibraryWatcher.h:30
virtual QWidget * widget() const =0
Should return the UI for the library view.
virtual void init()=0
init
virtual QFrame * header() const =0
this is a frame at the top left of the container where the combo box will be located