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 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

◆ __init__()

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 55 of file plugin_handler_xembed_container.py.

Member Function Documentation

◆ _add_dbus_connection()

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.

◆ _load()

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

Reimplemented from qt_gui.plugin_handler.PluginHandler.

Definition at line 76 of file plugin_handler_xembed_container.py.

◆ _on_toolbar_orientation_changed()

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.

◆ _print_process()

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.

◆ _print_process_error()

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

Definition at line 137 of file plugin_handler_xembed_container.py.

◆ _print_process_output()

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

Definition at line 134 of file plugin_handler_xembed_container.py.

◆ _restore_settings()

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

Reimplemented from qt_gui.plugin_handler.PluginHandler.

Definition at line 188 of file plugin_handler_xembed_container.py.

◆ _save_settings()

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

Reimplemented from qt_gui.plugin_handler.PluginHandler.

Definition at line 177 of file plugin_handler_xembed_container.py.

◆ _shutdown_plugin()

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

Reimplemented from qt_gui.plugin_handler.PluginHandler.

Definition at line 155 of file plugin_handler_xembed_container.py.

◆ _trigger_configuration()

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

Reimplemented from qt_gui.plugin_handler.PluginHandler.

Definition at line 199 of file plugin_handler_xembed_container.py.

◆ _unload()

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

Reimplemented from qt_gui.plugin_handler.PluginHandler.

Definition at line 173 of file plugin_handler_xembed_container.py.

◆ embed_toolbar()

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.

◆ embed_widget()

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.

◆ emit_restore_settings_completed()

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer.emit_restore_settings_completed (   self)

Reimplemented from qt_gui.plugin_handler.PluginHandler.

Definition at line 194 of file plugin_handler_xembed_container.py.

◆ emit_save_settings_completed()

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer.emit_save_settings_completed (   self)

Reimplemented from qt_gui.plugin_handler.PluginHandler.

Definition at line 183 of file plugin_handler_xembed_container.py.

◆ emit_shutdown_plugin_completed()

def qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer.emit_shutdown_plugin_completed (   self)

Reimplemented from qt_gui.plugin_handler.PluginHandler.

Definition at line 160 of file plugin_handler_xembed_container.py.

◆ load_completed()

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.

◆ unembed_toolbar()

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.

◆ unembed_widget()

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.

◆ update_embedded_widget_icon()

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.

◆ update_embedded_widget_title()

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

◆ _dbus_container_service

qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._dbus_container_service
private

Definition at line 62 of file plugin_handler_xembed_container.py.

◆ _dbus_instance_settings_service

qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._dbus_instance_settings_service
private

Definition at line 64 of file plugin_handler_xembed_container.py.

◆ _dbus_object_path

qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._dbus_object_path
private

Definition at line 60 of file plugin_handler_xembed_container.py.

◆ _dbus_plugin_settings_service

qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._dbus_plugin_settings_service
private

Definition at line 63 of file plugin_handler_xembed_container.py.

◆ _dbus_server

qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._dbus_server
private

Definition at line 61 of file plugin_handler_xembed_container.py.

◆ _embed_containers

qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._embed_containers
private

Definition at line 69 of file plugin_handler_xembed_container.py.

◆ _embed_toolbars

qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._embed_toolbars
private

Definition at line 71 of file plugin_handler_xembed_container.py.

◆ _pid

qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._pid
private

Definition at line 67 of file plugin_handler_xembed_container.py.

◆ _plugin_has_configuration

qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._plugin_has_configuration
private

Definition at line 151 of file plugin_handler_xembed_container.py.

◆ _process

qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._process
private

Definition at line 66 of file plugin_handler_xembed_container.py.

◆ _serial_number

int qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._serial_number = 0
staticprivate

Definition at line 53 of file plugin_handler_xembed_container.py.

◆ _signal_mapper_toolbars

qt_gui.plugin_handler_xembed_container.PluginHandlerXEmbedContainer._signal_mapper_toolbars
private

Definition at line 72 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 Sat Jun 25 2022 02:15:05