CobotGuiMain class inherit QWidget. More...

Public Member Functions | |
| def | __init__ |
| The constructor. More... | |
| def | emergency_stop_event |
| Called when emergency stop status changed. More... | |
| def | resizeEvent |
| Resize application. More... | |
| def | shutdown |
| This methode call Plugins::shutdown() and Widgets::shutdown(). More... | |
Public Attributes | |
| control_mode_widget | |
| default_plugin | |
| footer_ui | |
| show_mode | |
Private Member Functions | |
| def | _get_plugin_sender_id |
| Find and return plugin selected by user. More... | |
| def | _load_plugin_on_viewer |
| Display plugin on viewer, function called when user select launcher. More... | |
| def | _parse_config_xml |
| Parser xml configuration file. More... | |
| def | _setup_dashboard |
| Setup all widgets on dashbord registered on config file. More... | |
| def | _setup_footer |
| Setup footer. More... | |
| def | _setup_launchers |
| Setup buttons plugins on launcher. More... | |
| def | _setup_plugins_connections |
| def | _setup_widgets_connections |
| def | _take_current_plugin |
| Take current plugin, called when user changed or disconnected. More... | |
Private Attributes | |
| _current_plugin | |
| _dashboard_height | |
| _default_control_mode | |
| _emergency_stop | |
| _launcher_layout | |
| _launcher_width | |
| _plugins_group_list | |
| _plugins_list | |
| _splash | |
| _widgets_list | |
CobotGuiMain class inherit QWidget.
Setup all graphics components (window, plugins, widgets).
This class setup all graphics components difinit on your config file:
Definition at line 83 of file airbus_cobot_gui_main.py.
| def airbus_cobot_gui.airbus_cobot_gui_main.CobotGuiMain.__init__ | ( | self, | |
| config_xml, | |||
| splash | |||
| ) |
The constructor.
| config | Config file (*.xml). |
Definition at line 92 of file airbus_cobot_gui_main.py.
|
private |
Find and return plugin selected by user.
| sender_id | launcher id. sender_id: String. |
Definition at line 429 of file airbus_cobot_gui_main.py.
|
private |
Display plugin on viewer, function called when user select launcher.
Definition at line 445 of file airbus_cobot_gui_main.py.
|
private |
Parser xml configuration file.
| config_xml | airbus_cobot_gui configuration path. config_xml: string. |
Definition at line 160 of file airbus_cobot_gui_main.py.
|
private |
Setup all widgets on dashbord registered on config file.
| tree | node dashbord. tree: ElementTree. |
Definition at line 261 of file airbus_cobot_gui_main.py.
|
private |
Setup footer.
| tree | node footer. tree: ElementTree. |
Definition at line 471 of file airbus_cobot_gui_main.py.
|
private |
Setup buttons plugins on launcher.
| tree | node launcher. tree: ElementTree. |
Definition at line 335 of file airbus_cobot_gui_main.py.
|
private |
Definition at line 239 of file airbus_cobot_gui_main.py.
|
private |
Definition at line 222 of file airbus_cobot_gui_main.py.
|
private |
Take current plugin, called when user changed or disconnected.
| user | user logged informations. user: User. |
Definition at line 525 of file airbus_cobot_gui_main.py.
| def airbus_cobot_gui.airbus_cobot_gui_main.CobotGuiMain.emergency_stop_event | ( | self, | |
| status | |||
| ) |
Called when emergency stop status changed.
| status | emergency stop status. status: bool. |
Definition at line 544 of file airbus_cobot_gui_main.py.
| def airbus_cobot_gui.airbus_cobot_gui_main.CobotGuiMain.resizeEvent | ( | self, | |
| event | |||
| ) |
Resize application.
| event | event object. event: QEvent. |
Definition at line 556 of file airbus_cobot_gui_main.py.
| def airbus_cobot_gui.airbus_cobot_gui_main.CobotGuiMain.shutdown | ( | self | ) |
This methode call Plugins::shutdown() and Widgets::shutdown().
Definition at line 563 of file airbus_cobot_gui_main.py.
|
private |
Definition at line 125 of file airbus_cobot_gui_main.py.
|
private |
Definition at line 117 of file airbus_cobot_gui_main.py.
|
private |
Definition at line 130 of file airbus_cobot_gui_main.py.
|
private |
Definition at line 110 of file airbus_cobot_gui_main.py.
|
private |
Definition at line 341 of file airbus_cobot_gui_main.py.
|
private |
Definition at line 116 of file airbus_cobot_gui_main.py.
|
private |
Definition at line 121 of file airbus_cobot_gui_main.py.
|
private |
Definition at line 120 of file airbus_cobot_gui_main.py.
|
private |
Definition at line 101 of file airbus_cobot_gui_main.py.
|
private |
Definition at line 128 of file airbus_cobot_gui_main.py.
| airbus_cobot_gui.airbus_cobot_gui_main.CobotGuiMain.control_mode_widget |
Definition at line 131 of file airbus_cobot_gui_main.py.
| airbus_cobot_gui.airbus_cobot_gui_main.CobotGuiMain.default_plugin |
Definition at line 123 of file airbus_cobot_gui_main.py.
| airbus_cobot_gui.airbus_cobot_gui_main.CobotGuiMain.footer_ui |
Definition at line 479 of file airbus_cobot_gui_main.py.
| airbus_cobot_gui.airbus_cobot_gui_main.CobotGuiMain.show_mode |
Definition at line 103 of file airbus_cobot_gui_main.py.