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

Public Member Functions

def __init__ (self, parent, main_window, instance_id, application_context, container_manager, argv, dbus_object_path)
 
def embed_toolbar (self, pid, toolbar_object_name)
 
def embed_widget (self, pid, widget_object_name)
 
def emit_restore_settings_completed (self)
 
def emit_save_settings_completed (self)
 
def emit_shutdown_plugin_completed (self)
 
def load_completed (self, loaded, has_configuration)
 
def unembed_toolbar (self, toolbar_object_name)
 
def unembed_widget (self, widget_object_name)
 
def update_embedded_widget_icon (self, widget_object_name, icon_str)
 
def update_embedded_widget_title (self, widget_object_name, title)
 
- 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 _add_dbus_connection (self, conn)
 
def _load (self)
 
def _on_toolbar_orientation_changed (self, toolbar_object_name)
 
def _print_process (self, data, method)
 
def _print_process_error (self)
 
def _print_process_output (self)
 
def _restore_settings (self, plugin_settings, instance_settings)
 
def _save_settings (self, plugin_settings, instance_settings)
 
def _shutdown_plugin (self)
 
def _trigger_configuration (self)
 
def _unload (self)
 

Private Attributes

 _dbus_container_service
 
 _dbus_instance_settings_service
 
 _dbus_object_path
 
 _dbus_plugin_settings_service
 
 _dbus_server
 
 _embed_containers
 
 _embed_toolbars
 
 _pid
 
 _plugin_has_configuration
 
 _process
 
 _signal_mapper_toolbars
 

Static Private Attributes

int _serial_number = 0
 

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

Server part of the `PluginHandlerXEmbed`.

Starts the plugin in a subprocess and provides the `PluginHandlerDBusService` through a
peer-to-peer DBus connection.

Definition at line 45 of file plugin_handler_xembed_container.py.

Constructor & Destructor Documentation

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer.__init__ (   self,
  parent,
  main_window,
  instance_id,
  application_context,
  container_manager,
  argv,
  dbus_object_path 
)

Definition at line 56 of file plugin_handler_xembed_container.py.

Member Function Documentation

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._add_dbus_connection (   self,
  conn 
)
private

Definition at line 127 of file plugin_handler_xembed_container.py.

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._load (   self)
private

Definition at line 76 of file plugin_handler_xembed_container.py.

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._on_toolbar_orientation_changed (   self,
  toolbar_object_name 
)
private

Definition at line 243 of file plugin_handler_xembed_container.py.

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._print_process (   self,
  data,
  method 
)
private

Definition at line 140 of file plugin_handler_xembed_container.py.

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._print_process_error (   self)
private

Definition at line 137 of file plugin_handler_xembed_container.py.

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._print_process_output (   self)
private

Definition at line 134 of file plugin_handler_xembed_container.py.

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._restore_settings (   self,
  plugin_settings,
  instance_settings 
)
private

Definition at line 188 of file plugin_handler_xembed_container.py.

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._save_settings (   self,
  plugin_settings,
  instance_settings 
)
private

Definition at line 177 of file plugin_handler_xembed_container.py.

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._shutdown_plugin (   self)
private

Definition at line 155 of file plugin_handler_xembed_container.py.

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._trigger_configuration (   self)
private

Definition at line 199 of file plugin_handler_xembed_container.py.

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._unload (   self)
private

Definition at line 173 of file plugin_handler_xembed_container.py.

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer.embed_toolbar (   self,
  pid,
  toolbar_object_name 
)

Definition at line 229 of file plugin_handler_xembed_container.py.

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer.embed_widget (   self,
  pid,
  widget_object_name 
)

Definition at line 202 of file plugin_handler_xembed_container.py.

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer.emit_restore_settings_completed (   self)

Definition at line 194 of file plugin_handler_xembed_container.py.

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer.emit_save_settings_completed (   self)

Definition at line 183 of file plugin_handler_xembed_container.py.

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer.emit_shutdown_plugin_completed (   self)

Definition at line 160 of file plugin_handler_xembed_container.py.

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer.load_completed (   self,
  loaded,
  has_configuration 
)

Definition at line 148 of file plugin_handler_xembed_container.py.

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer.unembed_toolbar (   self,
  toolbar_object_name 
)

Definition at line 249 of file plugin_handler_xembed_container.py.

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer.unembed_widget (   self,
  widget_object_name 
)

Definition at line 224 of file plugin_handler_xembed_container.py.

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer.update_embedded_widget_icon (   self,
  widget_object_name,
  icon_str 
)

Definition at line 211 of file plugin_handler_xembed_container.py.

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer.update_embedded_widget_title (   self,
  widget_object_name,
  title 
)

Definition at line 220 of file plugin_handler_xembed_container.py.

Member Data Documentation

qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._dbus_container_service
private

Definition at line 63 of file plugin_handler_xembed_container.py.

qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._dbus_instance_settings_service
private

Definition at line 65 of file plugin_handler_xembed_container.py.

qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._dbus_object_path
private

Definition at line 61 of file plugin_handler_xembed_container.py.

qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._dbus_plugin_settings_service
private

Definition at line 64 of file plugin_handler_xembed_container.py.

qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._dbus_server
private

Definition at line 62 of file plugin_handler_xembed_container.py.

qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._embed_containers
private

Definition at line 70 of file plugin_handler_xembed_container.py.

qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._embed_toolbars
private

Definition at line 72 of file plugin_handler_xembed_container.py.

qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._pid
private

Definition at line 68 of file plugin_handler_xembed_container.py.

qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._plugin_has_configuration
private

Definition at line 151 of file plugin_handler_xembed_container.py.

qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._process
private

Definition at line 67 of file plugin_handler_xembed_container.py.

int qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._serial_number = 0
staticprivate

Definition at line 53 of file plugin_handler_xembed_container.py.

qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._signal_mapper_toolbars
private

Definition at line 73 of file plugin_handler_xembed_container.py.


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


qt_gui
Author(s): Dirk Thomas
autogenerated on Thu Jun 6 2019 19:54:27