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

Public Member Functions

def __init__ (self, menu_bar, plugin_manager)
 
def add_instance (self, plugin_descriptor, instance_id)
 
def add_plugin (self, plugin_descriptor)
 
def add_plugin_prefix (self, plugin_descriptor)
 
def remove_instance (self, instance_id)
 
def update_plugin_instance_label (self, instance_id_str, label)
 

Static Public Attributes

 load_plugin_signal = Signal(str)
 
 unload_plugin_signal = Signal(str)
 

Private Member Functions

def _enrich_action (self, action, action_attributes, base_path=None)
 
def _get_instance_label (self, label)
 

Private Attributes

 _instances
 
 _plugin_mapper
 
 _plugin_menu_manager
 
 _running_mapper
 
 _running_menu_manager
 

Detailed Description

Menu of available plugins to load and running plugin instances to unload.

Definition at line 39 of file plugin_menu.py.

Constructor & Destructor Documentation

◆ __init__()

def qt_gui.plugin_menu.PluginMenu.__init__ (   self,
  menu_bar,
  plugin_manager 
)

Definition at line 45 of file plugin_menu.py.

Member Function Documentation

◆ _enrich_action()

def qt_gui.plugin_menu.PluginMenu._enrich_action (   self,
  action,
  action_attributes,
  base_path = None 
)
private

Definition at line 130 of file plugin_menu.py.

◆ _get_instance_label()

def qt_gui.plugin_menu.PluginMenu._get_instance_label (   self,
  label 
)
private

Definition at line 127 of file plugin_menu.py.

◆ add_instance()

def qt_gui.plugin_menu.PluginMenu.add_instance (   self,
  plugin_descriptor,
  instance_id 
)

Definition at line 103 of file plugin_menu.py.

◆ add_plugin()

def qt_gui.plugin_menu.PluginMenu.add_plugin (   self,
  plugin_descriptor 
)

Definition at line 64 of file plugin_menu.py.

◆ add_plugin_prefix()

def qt_gui.plugin_menu.PluginMenu.add_plugin_prefix (   self,
  plugin_descriptor 
)

Definition at line 95 of file plugin_menu.py.

◆ remove_instance()

def qt_gui.plugin_menu.PluginMenu.remove_instance (   self,
  instance_id 
)

Definition at line 116 of file plugin_menu.py.

◆ update_plugin_instance_label()

def qt_gui.plugin_menu.PluginMenu.update_plugin_instance_label (   self,
  instance_id_str,
  label 
)

Definition at line 122 of file plugin_menu.py.

Member Data Documentation

◆ _instances

qt_gui.plugin_menu.PluginMenu._instances
private

Definition at line 62 of file plugin_menu.py.

◆ _plugin_mapper

qt_gui.plugin_menu.PluginMenu._plugin_mapper
private

Definition at line 52 of file plugin_menu.py.

◆ _plugin_menu_manager

qt_gui.plugin_menu.PluginMenu._plugin_menu_manager
private

Definition at line 51 of file plugin_menu.py.

◆ _running_mapper

qt_gui.plugin_menu.PluginMenu._running_mapper
private

Definition at line 59 of file plugin_menu.py.

◆ _running_menu_manager

qt_gui.plugin_menu.PluginMenu._running_menu_manager
private

Definition at line 54 of file plugin_menu.py.

◆ load_plugin_signal

qt_gui.plugin_menu.PluginMenu.load_plugin_signal = Signal(str)
static

Definition at line 42 of file plugin_menu.py.

◆ unload_plugin_signal

qt_gui.plugin_menu.PluginMenu.unload_plugin_signal = Signal(str)
static

Definition at line 43 of file plugin_menu.py.


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


qt_gui
Author(s): Dirk Thomas
autogenerated on Fri Jun 24 2022 02:42:37