![]() |
Sayonara Player
|
Friends | |
| class | PluginHandler |
Public Member Functions | |
| Container (QObject *parent=nullptr) | |
| virtual QString | name () const =0 |
| Should return an untranslated name used for identifying this widget. More... | |
| virtual QString | display_name () const |
| Should return the translated name displayed in the library view combobox. More... | |
| virtual QWidget * | widget () const =0 |
| Should return the UI for the library view. More... | |
| virtual QFrame * | header () const =0 |
| virtual QPixmap | icon () const =0 |
| virtual QMenu * | menu () |
| return actions menu (may be nullptr). The title does not have to be set More... | |
| 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 * | menu_action () const |
| get the action in the player menubar. More... | |
| virtual void | init_ui ()=0 |
| Should initialize the ui. The ui constructor should be called within this function. | |
| bool | is_initialized () const |
| tests, if the ui already has been initialized More... | |
| virtual void | show () |
| virtual void | hide () |
Protected Attributes | |
| Settings * | _settings =nullptr |
|
virtual |
Should return the translated name displayed in the library view combobox.
Reimplemented in SomaFM::LibraryContainer, SC::LibraryContainer, Library::DirectoryContainer, LocalLibraryContainer, and EmptyLibraryContainer.
| bool Library::Container::is_initialized | ( | ) | const |
tests, if the ui already has been initialized
|
virtual |
return actions menu (may be nullptr). The title does not have to be set
Reimplemented in SomaFM::LibraryContainer, SC::LibraryContainer, LocalLibraryContainer, and EmptyLibraryContainer.
| QAction* Library::Container::menu_action | ( | ) | const |
get the action in the player menubar.
|
pure virtual |
Should return an untranslated name used for identifying this widget.
Implemented in SomaFM::LibraryContainer, SC::LibraryContainer, Library::DirectoryContainer, LocalLibraryContainer, and EmptyLibraryContainer.
| void Library::Container::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
| action | the new translated action |
|
pure virtual |
Should return the UI for the library view.
Implemented in SomaFM::LibraryContainer, SC::LibraryContainer, Library::DirectoryContainer, LocalLibraryContainer, and EmptyLibraryContainer.
1.8.14