Public Member Functions | |
def | __init__ |
def | close |
def | contextMenuEvent |
def | display |
def | update_configuration |
def | update_value |
Public Attributes | |
cmenu | |
old_value | |
param_default | |
param_description | |
param_name | |
Private Member Functions | |
def | _set_to_default |
def | _update_paramserver |
Private Attributes | |
_updater |
This class is abstract -- its child classes should be instantiated. There exist two kinds of "update" methods: - _update_paramserver for Parameter Server. - update_value for the value displayed on GUI.
Definition at line 69 of file param_editors.py.
def rqt_reconfigure.param_editors.EditorWidget.__init__ | ( | self, | |
updater, | |||
config | |||
) |
@param updater: A class that extends threading.Thread. @type updater: rqt_reconfigure.param_updater.ParamUpdater
Reimplemented in rqt_reconfigure.param_editors.EnumEditor, rqt_reconfigure.param_editors.DoubleEditor, rqt_reconfigure.param_editors.IntegerEditor, rqt_reconfigure.param_editors.StringEditor, and rqt_reconfigure.param_editors.BooleanEditor.
Definition at line 78 of file param_editors.py.
def rqt_reconfigure.param_editors.EditorWidget._set_to_default | ( | self | ) | [private] |
Definition at line 140 of file param_editors.py.
def rqt_reconfigure.param_editors.EditorWidget._update_paramserver | ( | self, | |
value | |||
) | [private] |
Update the value on Parameter Server.
Definition at line 96 of file param_editors.py.
def rqt_reconfigure.param_editors.EditorWidget.close | ( | self | ) |
Should be overridden in subclass.
Definition at line 134 of file param_editors.py.
def rqt_reconfigure.param_editors.EditorWidget.contextMenuEvent | ( | self, | |
e | |||
) |
Definition at line 143 of file param_editors.py.
def rqt_reconfigure.param_editors.EditorWidget.display | ( | self, | |
grid | |||
) |
Should be overridden in subclass. :type grid: QFormLayout
Definition at line 119 of file param_editors.py.
def rqt_reconfigure.param_editors.EditorWidget.update_configuration | ( | self, | |
value | |||
) |
Definition at line 116 of file param_editors.py.
def rqt_reconfigure.param_editors.EditorWidget.update_value | ( | self, | |
value | |||
) |
To be implemented in subclass, but still used. Update the value that's displayed on the arbitrary GUI component based on user's input. This method is not called from the GUI thread, so any changes to QObjects will need to be done through a signal.
Reimplemented in rqt_reconfigure.param_editors.EnumEditor, rqt_reconfigure.param_editors.DoubleEditor, rqt_reconfigure.param_editors.IntegerEditor, rqt_reconfigure.param_editors.StringEditor, and rqt_reconfigure.param_editors.BooleanEditor.
Definition at line 104 of file param_editors.py.
Definition at line 81 of file param_editors.py.
Definition at line 81 of file param_editors.py.
Definition at line 81 of file param_editors.py.
Definition at line 81 of file param_editors.py.
Definition at line 81 of file param_editors.py.
Definition at line 81 of file param_editors.py.