![]() |
Sayonara Player
|
#include <LibraryPluginHandler.h>
Library Plugin Manager.
Signals | |
| void | sig_idx_changed (int) |
Public Member Functions | |
| LibraryPluginHandler (QObject *parent=nullptr) | |
| void | init (const QList< LibraryContainerInterface *> &containers) |
| Search for plugins and add some predefined plugins. More... | |
| void | set_library_parent (QWidget *parent) |
| Set the parent widget for library plugins. More... | |
| QList< LibraryContainerInterface * > | get_libraries () const |
| Get a list for all found plugins. The ui is not necessarily initialized. More... | |
| LibraryContainerInterface * | get_cur_library () const |
| Get the current selected (and shown) library. More... | |
| int | get_cur_library_idx () const |
| Get the current index of the library (indicated by current index in dropdown. More... | |
Protected Attributes | |
| Settings * | _settings =nullptr |
| LibraryContainerInterface* LibraryPluginHandler::get_cur_library | ( | ) | const |
Get the current selected (and shown) library.
| int LibraryPluginHandler::get_cur_library_idx | ( | ) | const |
Get the current index of the library (indicated by current index in dropdown.
| QList<LibraryContainerInterface*> LibraryPluginHandler::get_libraries | ( | ) | const |
Get a list for all found plugins. The ui is not necessarily initialized.
| void LibraryPluginHandler::init | ( | const QList< LibraryContainerInterface *> & | containers | ) |
Search for plugins and add some predefined plugins.
| containers | Some predefined plugins |
| void LibraryPluginHandler::set_library_parent | ( | QWidget * | parent | ) |
Set the parent widget for library plugins.
| parent | Parent widget |
1.8.13