Base class for the bidirectional exchange between the framework and one `Plugin` instance. It utilizes a `PluginProvider` to load/unload the plugin and provides callbacks for the `PluginContext`.
Definition at line 42 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler.__init__ | ( | self, | |
parent, | |||
main_window, | |||
instance_id, | |||
application_context, | |||
container_manager, | |||
argv = None |
|||
) |
Definition at line 55 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._add_dock_widget | ( | self, | |
dock_widget, | |||
widget | |||
) | [private] |
Definition at line 297 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._add_dock_widget_to_main_window | ( | self, | |
dock_widget | |||
) | [private] |
Definition at line 315 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._add_toolbar | ( | self, | |
toolbar | |||
) | [private] |
Definition at line 365 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._call_method_on_all_dock_widgets | ( | self, | |
method_name, | |||
instance_settings | |||
) | [private] |
Definition at line 199 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._check_close | ( | self | ) | [private] |
Definition at line 395 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._create_dock_widget | ( | self | ) | [private] |
Definition at line 236 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._delete_toolbar | ( | self, | |
toolbar | |||
) | [private] |
Definition at line 149 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._delete_widget | ( | self, | |
widget | |||
) | [private] |
Definition at line 146 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._emit_close_plugin | ( | self | ) | [private] |
Definition at line 400 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._emit_help_signal | ( | self | ) | [private] |
Definition at line 288 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._emit_load_completed | ( | self, | |
exception = None |
|||
) | [private] |
Definition at line 106 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._emit_reload_signal | ( | self | ) | [private] |
Definition at line 291 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._emit_unload_completed | ( | self | ) | [private] |
Definition at line 167 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._garbage_widgets_and_toolbars | ( | self | ) | [private] |
Definition at line 116 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._load | ( | self | ) | [private] |
Definition at line 103 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._on_dock_widget_hide | ( | self, | |
dock_widget | |||
) | [private] |
Definition at line 331 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._on_dock_widget_show | ( | self, | |
dock_widget | |||
) | [private] |
Definition at line 335 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._on_dock_widget_title_changed | ( | self, | |
dock_widget | |||
) | [private] |
Definition at line 339 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._on_widget_icon_changed | ( | self, | |
widget | |||
) | [private] |
Definition at line 323 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._on_widget_title_changed | ( | self, | |
widget | |||
) | [private] |
Definition at line 327 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._remove_widget_by_dock_widget | ( | self, | |
dock_widget | |||
) | [private] |
Definition at line 284 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._restore_settings | ( | self, | |
plugin_settings, | |||
instance_settings | |||
) | [private] |
Definition at line 223 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._save_settings | ( | self, | |
plugin_settings, | |||
instance_settings | |||
) | [private] |
Definition at line 187 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._set_window_icon | ( | self, | |
widget | |||
) | [private] |
Definition at line 270 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._shutdown_plugin | ( | self | ) | [private] |
Definition at line 136 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._trigger_configuration | ( | self | ) | [private] |
Definition at line 294 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._unload | ( | self | ) | [private] |
Definition at line 164 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._update_dock_widget_features | ( | self, | |
dock_widget | |||
) | [private] |
Definition at line 243 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._update_title_bar | ( | self, | |
dock_widget, | |||
hide_help = False , |
|||
hide_reload = False |
|||
) | [private] |
Definition at line 253 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler._update_title_bars | ( | self | ) | [private] |
Definition at line 278 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler.argv | ( | self | ) |
Definition at line 82 of file plugin_handler.py.
Definition at line 226 of file plugin_handler.py.
Definition at line 190 of file plugin_handler.py.
Definition at line 139 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler.instance_id | ( | self | ) |
Definition at line 79 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler.load | ( | self, | |
plugin_provider, | |||
callback = None |
|||
) |
Load plugin. Completion is signaled asynchronously if a callback is passed.
Definition at line 91 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler.remove_toolbar | ( | self, | |
toolbar | |||
) |
Definition at line 387 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler.remove_widget | ( | self, | |
widget | |||
) |
Definition at line 344 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler.restore_settings | ( | self, | |
plugin_settings, | |||
instance_settings, | |||
callback = None |
|||
) |
Restore settings of the plugin (`Plugin.restore_settings()`) and all dock widget title bars. Completion is signaled asynchronously if a callback is passed.
Definition at line 209 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler.save_settings | ( | self, | |
plugin_settings, | |||
instance_settings, | |||
callback = None |
|||
) |
Save settings of the plugin (`Plugin.save_settings()`) and all dock widget title bars. Completion is signaled asynchronously if a callback is passed.
Definition at line 173 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler.set_minimized_dock_widgets_toolbar | ( | self, | |
toolbar | |||
) |
Definition at line 85 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler.set_plugin_descriptor | ( | self, | |
plugin_descriptor | |||
) |
Definition at line 88 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler.shutdown_plugin | ( | self, | |
callback | |||
) |
Shutdown plugin (`Plugin.shutdown_plugin()`) and remove all added widgets. Completion is signaled asynchronously if a callback is passed.
Definition at line 124 of file plugin_handler.py.
def qt_gui.plugin_handler.PluginHandler.unload | ( | self, | |
callback = None |
|||
) |
Unload plugin. Completion is signaled asynchronously if a callback is passed.
Definition at line 152 of file plugin_handler.py.
Definition at line 55 of file plugin_handler.py.
Definition at line 55 of file plugin_handler.py.
Definition at line 55 of file plugin_handler.py.
Definition at line 55 of file plugin_handler.py.
Definition at line 55 of file plugin_handler.py.
tuple qt_gui::plugin_handler.PluginHandler::_defered_check_close = Signal() [static, private] |
Definition at line 53 of file plugin_handler.py.
Definition at line 55 of file plugin_handler.py.
Definition at line 55 of file plugin_handler.py.
Definition at line 55 of file plugin_handler.py.
Definition at line 55 of file plugin_handler.py.
Definition at line 55 of file plugin_handler.py.
Definition at line 55 of file plugin_handler.py.
Definition at line 55 of file plugin_handler.py.
Definition at line 55 of file plugin_handler.py.
tuple qt_gui::plugin_handler.PluginHandler::close_signal = Signal(str) [static] |
Definition at line 50 of file plugin_handler.py.
tuple qt_gui::plugin_handler.PluginHandler::help_signal = Signal(str) [static] |
Definition at line 52 of file plugin_handler.py.
tuple qt_gui::plugin_handler.PluginHandler::label_updated = Signal(str, str) [static] |
Definition at line 49 of file plugin_handler.py.
tuple qt_gui::plugin_handler.PluginHandler::reload_signal = Signal(str) [static] |
Definition at line 51 of file plugin_handler.py.