Base class for install widget. More...
Public Member Functions | |
| def | __init__ |
| The constructor. More... | |
| def | get_widget |
| Get widget user interface. More... | |
| def | install |
| Install widget configuration. More... | |
| def | set_widget |
| Sets content user interface. More... | |
Private Attributes | |
| _description | |
| _label | |
| _restriction | |
| _user | |
| _user_change_cb | |
| _widget | |
Base class for install widget.
Interface for Python widgets which use the ROS client library. User-defined plugins may either subclass `airbus_cobot_gui::Widget` or according to duck typing implement only the needed methods. A widget must not call rospy.init_node() as this is performed once by the framework. The name of the ROS node consists of the prefix "airbus_cobot_gui_py_node_" and the process id.
Definition at line 30 of file widget_installer.py.
| def airbus_cobot_gui.widget.widget_installer.WidgetInstaller.__init__ | ( | self, | |
| user_changed_cb | |||
| ) |
The constructor.
Definition at line 39 of file widget_installer.py.
| def airbus_cobot_gui.widget.widget_installer.WidgetInstaller.get_widget | ( | self | ) |
Get widget user interface.
Definition at line 65 of file widget_installer.py.
| def airbus_cobot_gui.widget.widget_installer.WidgetInstaller.install | ( | self, | |
widget_descriptors = {} |
|||
| ) |
Install widget configuration.
| widget_descriptors | widget descriptors. widget_descriptors: dict{strings}. |
Definition at line 48 of file widget_installer.py.
| def airbus_cobot_gui.widget.widget_installer.WidgetInstaller.set_widget | ( | self, | |
| widget | |||
| ) |
Sets content user interface.
| window_ui | user interface object. window_ui: QObject. |
Definition at line 58 of file widget_installer.py.
|
private |
Definition at line 42 of file widget_installer.py.
|
private |
Definition at line 41 of file widget_installer.py.
|
private |
Definition at line 43 of file widget_installer.py.
|
private |
Definition at line 44 of file widget_installer.py.
|
private |
Definition at line 45 of file widget_installer.py.
|
private |
Definition at line 46 of file widget_installer.py.