21 #ifndef LIBRARYCONTAINER_H 22 #define LIBRARYCONTAINER_H 48 QAction* _action=
nullptr;
55 void set_initialized();
58 void language_changed();
87 virtual QWidget*
get_ui()
const=0;
132 #endif // LIBRARYCONTAINER_H virtual QWidget * get_ui() const =0
Should return the UI for the library view.
Library Plugin Manager.
Definition: LibraryPluginHandler.h:35
virtual void init_ui()=0
Should initialize the ui. The ui constructor should be called within this function.
virtual QComboBox * get_libchooser()=0
Should return the library chooser combo box.
An interface class needed when implementing a library plugin.
Definition: LibraryContainer.h:40
The Settings class.
Definition: Settings.h:34
virtual QMenu * get_menu()
return actions menu (may be nullptr). The title does not have to be set
virtual QIcon get_icon() const =0
Should return the icon displayed in the library view combobox.
virtual QString get_name() const =0
Should return an untranslated name used for identifying this widget.
bool is_initialized() const
tests, if the ui already has been initialized
void set_menu_action(QAction *action)
sets the action member field used in the player menu bar. This is called by the player if the languag...
QAction * get_menu_action() const
get the action in the player menubar.
virtual QString get_display_name() const =0
Should return the translated name displayed in the library view combobox.