All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends
Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes
rqt_param.node_selector_widget.NodeSelectorWidget Class Reference
Inheritance diagram for rqt_param.node_selector_widget.NodeSelectorWidget:
Inheritance graph
[legend]

List of all members.

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']

Detailed Description

Definition at line 49 of file node_selector_widget.py.


Constructor & Destructor Documentation

Definition at line 55 of file node_selector_widget.py.


Member Function Documentation

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.

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.

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.


Member Data Documentation

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.

Definition at line 53 of file node_selector_widget.py.

Definition at line 55 of file node_selector_widget.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


rqt_param
Author(s): Isaac Saito, Ze'ev Klapow
autogenerated on Wed Dec 19 2012 23:57:05