Public Member Functions | |
def | __init__ |
def | close_node |
def | get_full_grn_recur |
Public Attributes | |
stretch | |
Static Public Attributes | |
tuple | sig_node_selected = Signal(str) |
Private Member Functions | |
def | _add_tree_node |
def | _refresh_nodes |
def | _selection_changed_slot |
def | _update_nodetree |
Private Attributes | |
_nodes_previous | |
_rootitem | |
_std_model | |
Static Private Attributes | |
list | _COL_NAMES = ['Node'] |
Definition at line 49 of file node_selector_widget.py.
Definition at line 55 of file node_selector_widget.py.
def rqt_param.node_selector_widget.NodeSelectorWidget._add_tree_node | ( | self, | |
param_item_full, | |||
stditem_parent, | |||
child_names_left | |||
) | [private] |
Evaluate current node and the previous node on the same depth. If the name of both nodes is the same, current node instance is ignored. If not, the current node gets added to the same parent node. At the end, this function gets called recursively going down 1 level. :type param_item_full: ParameterItem :type stditem_parent: QStandardItem. :type child_names_left: List of str :param child_names_left: List of strings that is sorted in hierarchical order of params.
Definition at line 171 of file node_selector_widget.py.
def rqt_param.node_selector_widget.NodeSelectorWidget._refresh_nodes | ( | self | ) | [private] |
Definition at line 218 of file node_selector_widget.py.
def rqt_param.node_selector_widget.NodeSelectorWidget._selection_changed_slot | ( | self, | |
selected, | |||
deselected | |||
) | [private] |
Overriden from QItemSelectionModel. :type new_item_select: QItemSelection :type old_item_select: QItemSelection
Definition at line 89 of file node_selector_widget.py.
def rqt_param.node_selector_widget.NodeSelectorWidget._update_nodetree | ( | self | ) | [private] |
Definition at line 143 of file node_selector_widget.py.
Definition at line 229 of file node_selector_widget.py.
def rqt_param.node_selector_widget.NodeSelectorWidget.get_full_grn_recur | ( | self, | |
model_index, | |||
str_grn | |||
) |
Create full path format of GRN (Graph Resource Names, see http://www.ros.org/wiki/Names). An example: /wide_stereo/left/image_color/compressed Bulid GRN by recursively transcending parents & children of QModelIndex instance. Upon its very 1st call, the argument is the index where user clicks on on the view object (here QTreeView is used but should work with other View). str_grn can be 0-length string. :type model_index: QModelIndex :type str_grn: str :param str_grn: This could be an incomplete or a complete GRN format.
Definition at line 115 of file node_selector_widget.py.
list rqt_param::node_selector_widget.NodeSelectorWidget::_COL_NAMES = ['Node'] [static, private] |
Definition at line 50 of file node_selector_widget.py.
Definition at line 55 of file node_selector_widget.py.
Definition at line 55 of file node_selector_widget.py.
Definition at line 55 of file node_selector_widget.py.
tuple rqt_param::node_selector_widget.NodeSelectorWidget::sig_node_selected = Signal(str) [static] |
Definition at line 53 of file node_selector_widget.py.
Definition at line 55 of file node_selector_widget.py.