Public Member Functions | |
def | __init__ (self, parent, main_window, instance_id, application_context, container_manager, argv) |
def | add_toolbar (self, toolbar) |
def | add_widget (self, widget) |
def | close_plugin (self) |
def | eventFilter (self, watched, event) |
def | load (self, plugin_provider, callback=None) |
def | reload_plugin (self) |
def | shutdown_plugin (self, callback) |
Public Member Functions inherited from qt_gui.plugin_handler.PluginHandler | |
def | argv (self) |
def | emit_restore_settings_completed (self) |
def | emit_save_settings_completed (self) |
def | emit_shutdown_plugin_completed (self) |
def | instance_id (self) |
def | remove_toolbar (self, toolbar) |
def | remove_widget (self, widget) |
def | restore_settings (self, plugin_settings, instance_settings, callback=None) |
def | save_settings (self, plugin_settings, instance_settings, callback=None) |
def | set_minimized_dock_widgets_toolbar (self, toolbar) |
def | set_plugin_descriptor (self, plugin_descriptor) |
def | unload (self, callback=None) |
Private Member Functions | |
def | _delete_widget (self, widget) |
def | _emit_load_completed (self, exception=None) |
def | _load (self) |
def | _restore_settings (self, plugin_settings, instance_settings) |
def | _save_settings (self, plugin_settings, instance_settings) |
def | _shutdown_plugin (self) |
def | _unload (self) |
Private Attributes | |
_context | |
_plugin | |
_plugin_has_configuration | |
Additional Inherited Members | |
Static Public Attributes inherited from qt_gui.plugin_handler.PluginHandler | |
close_signal = Signal(str) | |
help_signal = Signal(str) | |
label_updated = Signal(str, str) | |
reload_signal = Signal(str) | |
Handler for directly passing invocations between the framework and one `Plugin` instance.
Definition at line 39 of file plugin_handler_direct.py.
def qt_gui.plugin_handler_direct.PluginHandlerDirect.__init__ | ( | self, | |
parent, | |||
main_window, | |||
instance_id, | |||
application_context, | |||
container_manager, | |||
argv | |||
) |
Reimplemented from qt_gui.plugin_handler.PluginHandler.
Definition at line 42 of file plugin_handler_direct.py.
|
private |
Reimplemented from qt_gui.plugin_handler.PluginHandler.
Definition at line 94 of file plugin_handler_direct.py.
|
private |
Reimplemented from qt_gui.plugin_handler.PluginHandler.
Reimplemented in qt_gui.plugin_handler_xembed_client.PluginHandlerXEmbedClient.
Definition at line 63 of file plugin_handler_direct.py.
|
private |
Reimplemented from qt_gui.plugin_handler.PluginHandler.
Reimplemented in qt_gui.plugin_handler_xembed_client.PluginHandlerXEmbedClient.
Definition at line 54 of file plugin_handler_direct.py.
|
private |
Reimplemented from qt_gui.plugin_handler.PluginHandler.
Definition at line 116 of file plugin_handler_direct.py.
|
private |
Reimplemented from qt_gui.plugin_handler.PluginHandler.
Definition at line 104 of file plugin_handler_direct.py.
|
private |
Reimplemented from qt_gui.plugin_handler.PluginHandler.
Definition at line 84 of file plugin_handler_direct.py.
|
private |
Reimplemented from qt_gui.plugin_handler.PluginHandler.
Definition at line 99 of file plugin_handler_direct.py.
def qt_gui.plugin_handler_direct.PluginHandlerDirect.add_toolbar | ( | self, | |
toolbar | |||
) |
Reimplemented in qt_gui.plugin_handler_xembed_client.PluginHandlerXEmbedClient.
Definition at line 140 of file plugin_handler_direct.py.
def qt_gui.plugin_handler_direct.PluginHandlerDirect.add_widget | ( | self, | |
widget | |||
) |
Reimplemented in qt_gui.plugin_handler_xembed_client.PluginHandlerXEmbedClient.
Definition at line 130 of file plugin_handler_direct.py.
def qt_gui.plugin_handler_direct.PluginHandlerDirect.close_plugin | ( | self | ) |
Definition at line 148 of file plugin_handler_direct.py.
def qt_gui.plugin_handler_direct.PluginHandlerDirect.eventFilter | ( | self, | |
watched, | |||
event | |||
) |
Definition at line 69 of file plugin_handler_direct.py.
def qt_gui.plugin_handler_direct.PluginHandlerDirect.load | ( | self, | |
plugin_provider, | |||
callback = None |
|||
) |
Load plugin. Completion is signaled asynchronously if a callback is passed.
Reimplemented from qt_gui.plugin_handler.PluginHandler.
Definition at line 50 of file plugin_handler_direct.py.
def qt_gui.plugin_handler_direct.PluginHandlerDirect.reload_plugin | ( | self | ) |
Definition at line 154 of file plugin_handler_direct.py.
def qt_gui.plugin_handler_direct.PluginHandlerDirect.shutdown_plugin | ( | self, | |
callback | |||
) |
Shut down the plugin and remove all added widgets. Completion is signaled asynchronously if a callback is passed.
Reimplemented from qt_gui.plugin_handler.PluginHandler.
Reimplemented in qt_gui.plugin_handler_xembed_client.PluginHandlerXEmbedClient.
Definition at line 77 of file plugin_handler_direct.py.
|
private |
Definition at line 46 of file plugin_handler_direct.py.
|
private |
Definition at line 47 of file plugin_handler_direct.py.
|
private |
Definition at line 57 of file plugin_handler_direct.py.