Public Member Functions | Private Member Functions | Private Attributes | List of all members
qt_gui.plugin_handler_direct.PluginHandlerDirect Class Reference
Inheritance diagram for qt_gui.plugin_handler_direct.PluginHandlerDirect:
Inheritance graph
[legend]

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 __init__ (self, parent, main_window, instance_id, application_context, container_manager, argv=None)
 
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 load (self, plugin_provider, callback=None)
 
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 shutdown_plugin (self, callback)
 
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)
 

Detailed Description

Handler for directly passing invocations between the framework and one `Plugin` instance.

Definition at line 39 of file plugin_handler_direct.py.

Constructor & Destructor Documentation

def qt_gui.plugin_handler_direct.PluginHandlerDirect.__init__ (   self,
  parent,
  main_window,
  instance_id,
  application_context,
  container_manager,
  argv 
)

Definition at line 43 of file plugin_handler_direct.py.

Member Function Documentation

def qt_gui.plugin_handler_direct.PluginHandlerDirect._delete_widget (   self,
  widget 
)
private

Definition at line 94 of file plugin_handler_direct.py.

def qt_gui.plugin_handler_direct.PluginHandlerDirect._emit_load_completed (   self,
  exception = None 
)
private

Definition at line 63 of file plugin_handler_direct.py.

def qt_gui.plugin_handler_direct.PluginHandlerDirect._load (   self)
private

Definition at line 54 of file plugin_handler_direct.py.

def qt_gui.plugin_handler_direct.PluginHandlerDirect._restore_settings (   self,
  plugin_settings,
  instance_settings 
)
private

Definition at line 116 of file plugin_handler_direct.py.

def qt_gui.plugin_handler_direct.PluginHandlerDirect._save_settings (   self,
  plugin_settings,
  instance_settings 
)
private

Definition at line 104 of file plugin_handler_direct.py.

def qt_gui.plugin_handler_direct.PluginHandlerDirect._shutdown_plugin (   self)
private

Definition at line 84 of file plugin_handler_direct.py.

def qt_gui.plugin_handler_direct.PluginHandlerDirect._unload (   self)
private

Definition at line 99 of file plugin_handler_direct.py.

def qt_gui.plugin_handler_direct.PluginHandlerDirect.add_toolbar (   self,
  toolbar 
)

Definition at line 140 of file plugin_handler_direct.py.

def qt_gui.plugin_handler_direct.PluginHandlerDirect.add_widget (   self,
  widget 
)

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 
)

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 
)

Definition at line 77 of file plugin_handler_direct.py.

Member Data Documentation

qt_gui.plugin_handler_direct.PluginHandlerDirect._context
private

Definition at line 47 of file plugin_handler_direct.py.

qt_gui.plugin_handler_direct.PluginHandlerDirect._plugin
private

Definition at line 48 of file plugin_handler_direct.py.

qt_gui.plugin_handler_direct.PluginHandlerDirect._plugin_has_configuration
private

Definition at line 57 of file plugin_handler_direct.py.


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


qt_gui
Author(s): Dirk Thomas
autogenerated on Sun Mar 1 2020 04:07:38