Public Member Functions | |
def | __init__ |
def | discover |
def | load |
def | unload |
Interface for discovering, loading and unloading of plugins.
Definition at line 34 of file plugin_provider.py.
def qt_gui.plugin_provider.PluginProvider.__init__ | ( | self | ) |
Definition at line 38 of file plugin_provider.py.
def qt_gui.plugin_provider.PluginProvider.discover | ( | self | ) |
Discover the plugins. @return: Dictionary of plugin ids to `PluginDescriptor`s
Definition at line 42 of file plugin_provider.py.
def qt_gui.plugin_provider.PluginProvider.load | ( | self, | |
plugin_id, | |||
plugin_context | |||
) |
Load a plugin and pass the `PluginContext`. @return: The created plugin instance
Definition at line 49 of file plugin_provider.py.
def qt_gui.plugin_provider.PluginProvider.unload | ( | self, | |
plugin_instance | |||
) |
Unload a plugin.
Definition at line 56 of file plugin_provider.py.