Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes
rqt_reconfigure.node_selector_widget.NodeSelectorWidget Class Reference
Inheritance diagram for rqt_reconfigure.node_selector_widget.NodeSelectorWidget:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def close_node
def get_paramitems
def node_deselected
def node_selected
def set_filter

Public Attributes

 selectionModel
 stretch

Static Public Attributes

tuple sig_node_selected = Signal(DynreconfClientWidget)

Private Member Functions

def _add_children_treenode
def _prune_nodetree_pernode
def _refresh_nodes
def _selection_changed_slot
def _selection_deselected
def _selection_selected
def _test_sel_index
def _update_nodetree_pernode

Private Attributes

 _filterkey_prev
 _item_model
 _nodeitems
 _nodes_previous
 _parent
 _proxy_model
 _rootitem
 _signal_msg

Static Private Attributes

list _COL_NAMES = ['Node']

Detailed Description

Definition at line 61 of file node_selector_widget.py.


Constructor & Destructor Documentation

def rqt_reconfigure.node_selector_widget.NodeSelectorWidget.__init__ (   self,
  parent,
  rospack,
  signal_msg = None 
)
@param signal_msg: Signal to carries a system msg that is shown on GUI.
@type signal_msg: QtCore.Signal

Definition at line 67 of file node_selector_widget.py.


Member Function Documentation

def rqt_reconfigure.node_selector_widget.NodeSelectorWidget._add_children_treenode (   self,
  treenodeitem_toplevel,
  treenodeitem_parent,
  child_names_left 
) [private]
Evaluate current treenode and the previous treenode at the same depth.
If the name of both nodes is the same, current node instance is
ignored (that means children will be added to the same parent). If not,
the current node gets added to the same parent node. At the end, this
function gets called recursively going 1 level deeper.

:type treenodeitem_toplevel: TreenodeQstdItem
:type treenodeitem_parent: TreenodeQstdItem.
: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 363 of file node_selector_widget.py.

Definition at line 421 of file node_selector_widget.py.

Definition at line 437 of file node_selector_widget.py.

def rqt_reconfigure.node_selector_widget.NodeSelectorWidget._selection_changed_slot (   self,
  selected,
  deselected 
) [private]
Sends "open ROS Node box" signal ONLY IF the selected treenode is the
terminal treenode.
Receives args from signal QItemSelectionModel.selectionChanged.

:param selected: All indexs where selected (could be multiple)
:type selected: QItemSelection
:type deselected: QItemSelection

Definition at line 235 of file node_selector_widget.py.

def rqt_reconfigure.node_selector_widget.NodeSelectorWidget._selection_deselected (   self,
  index_current,
  rosnode_name_selected 
) [private]
Intended to be called from _selection_changed_slot.

Definition at line 176 of file node_selector_widget.py.

def rqt_reconfigure.node_selector_widget.NodeSelectorWidget._selection_selected (   self,
  index_current,
  rosnode_name_selected 
) [private]
Intended to be called from _selection_changed_slot.

Definition at line 192 of file node_selector_widget.py.

def rqt_reconfigure.node_selector_widget.NodeSelectorWidget._test_sel_index (   self,
  selected,
  deselected 
) [private]
Method for Debug only

Definition at line 452 of file node_selector_widget.py.

Definition at line 298 of file node_selector_widget.py.

Definition at line 441 of file node_selector_widget.py.

:rtype: OrderedDict 1st elem is node's GRN name,
2nd is TreenodeQstdItem instance

Definition at line 291 of file node_selector_widget.py.

Deselect the index that corresponds to the given GRN.

:type grn: str

Definition at line 134 of file node_selector_widget.py.

Select the index that corresponds to the given GRN.

:type grn: str

Definition at line 158 of file node_selector_widget.py.

Pass fileter instance to the child proxymodel.
:type filter_: BaseFilter

Definition at line 445 of file node_selector_widget.py.


Member Data Documentation

Definition at line 62 of file node_selector_widget.py.

Definition at line 70 of file node_selector_widget.py.

Definition at line 70 of file node_selector_widget.py.

Definition at line 70 of file node_selector_widget.py.

Definition at line 70 of file node_selector_widget.py.

Definition at line 70 of file node_selector_widget.py.

Definition at line 70 of file node_selector_widget.py.

Definition at line 70 of file node_selector_widget.py.

Definition at line 70 of file node_selector_widget.py.

Definition at line 70 of file node_selector_widget.py.

Definition at line 65 of file node_selector_widget.py.

Definition at line 70 of file node_selector_widget.py.


The documentation for this class was generated from the following file:


rqt_reconfigure
Author(s): Isaac Saito, Ze'ev Klapow
autogenerated on Sat Jul 15 2017 02:25:06