Public Member Functions
qt_gui.plugin_provider.PluginProvider Class Reference
Inheritance diagram for qt_gui.plugin_provider.PluginProvider:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def discover
def load
def shutdown
def unload

Detailed Description

Interface for discovering, loading and unloading of plugins.

Definition at line 34 of file plugin_provider.py.


Constructor & Destructor Documentation

Definition at line 38 of file plugin_provider.py.


Member Function Documentation

def qt_gui.plugin_provider.PluginProvider.discover (   self,
  discovery_data 
)
Discover the plugins.
@param discovery_data: The settings containing any discovery data which is cached between invocations
@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
@raise PluginLoadError

Definition at line 50 of file plugin_provider.py.

Notify of shutdown.

Definition at line 62 of file plugin_provider.py.

def qt_gui.plugin_provider.PluginProvider.unload (   self,
  plugin_instance 
)
Unload a plugin.

Definition at line 58 of file plugin_provider.py.


The documentation for this class was generated from the following file:


qt_gui
Author(s): Dirk Thomas
autogenerated on Thu Jun 6 2019 18:07:34