![]() |
Sayonara Player
|
Public Member Functions | |
SomaFMLibraryContainer (QObject *parent=nullptr) | |
QString | get_name () const override |
Should return an untranslated name used for identifying this widget. More... | |
QString | get_display_name () const override |
Should return the translated name displayed in the library view combobox. More... | |
QIcon | get_icon () const override |
Should return the icon displayed in the library view combobox. More... | |
QWidget * | get_ui () const override |
Should return the UI for the library view. More... | |
QComboBox * | get_libchooser () override |
Should return the library chooser combo box. More... | |
QMenu * | get_menu () override |
return actions menu (may be nullptr). The title does not have to be set More... | |
void | init_ui () override |
Should initialize the ui. The ui constructor should be called within this function. | |
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 language has changed More... | |
QAction * | get_menu_action () const |
get the action in the player menubar. More... | |
bool | is_initialized () const |
tests, if the ui already has been initialized More... | |
|
overridevirtual |
Should return the translated name displayed in the library view combobox.
Implements LibraryContainerInterface.
|
overridevirtual |
Should return the icon displayed in the library view combobox.
Implements LibraryContainerInterface.
|
overridevirtual |
Should return the library chooser combo box.
Implements LibraryContainerInterface.
|
overridevirtual |
return actions menu (may be nullptr). The title does not have to be set
Reimplemented from LibraryContainerInterface.
|
inherited |
get the action in the player menubar.
|
overridevirtual |
Should return an untranslated name used for identifying this widget.
Implements LibraryContainerInterface.
|
overridevirtual |
Should return the UI for the library view.
Implements LibraryContainerInterface.
|
inherited |
tests, if the ui already has been initialized
|
inherited |
sets the action member field used in the player menu bar. This is called by the player if the language has changed
action | the new translated action |