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

List of all members.

Public Member Functions

def __init__
def filterAcceptsColumn
def filterAcceptsRow
def set_filter

Static Public Attributes

tuple sig_filtered = Signal(int)

Private Member Functions

def _filter_row_recur
def _get_toplevel_parent_recur
def _show_params_view

Private Attributes

 _filter
 _parent
 _toplv_parent_prev

Detailed Description

Extending QSortFilterProxyModel, this provides methods to filter children
tree nodes.

QSortFilterProxyModel filters top-down direction starting from the
top-level of tree, and once a node doesn't hit the query it gets disabled.
Filtering with this class reflects the result from the bottom node.

Ex.
#TODO example needed here

Definition at line 47 of file filter_children_model.py.


Constructor & Destructor Documentation

Definition at line 64 of file filter_children_model.py.


Member Function Documentation

def rqt_reconfigure.filter_children_model.FilterChildrenModel._filter_row_recur (   self,
  src_row,
  src_parent_qmindex 
) [private]
:type src_row: int
:type src_parent_qmindex: QModelIndex

Definition at line 87 of file filter_children_model.py.

Definition at line 160 of file filter_children_model.py.

def rqt_reconfigure.filter_children_model.FilterChildrenModel._show_params_view (   self,
  src_row,
  curr_qitem 
) [private]
:type curr_qitem: QStandardItem

Definition at line 151 of file filter_children_model.py.

def rqt_reconfigure.filter_children_model.FilterChildrenModel.filterAcceptsColumn (   self,
  source_column,
  source_parent 
)
Overridden.

Doing nothing really since columns are not in use.

:type source_column: int
:type source_parent: QModelIndex

Definition at line 166 of file filter_children_model.py.

def rqt_reconfigure.filter_children_model.FilterChildrenModel.filterAcceptsRow (   self,
  src_row,
  src_parent_qmindex 
)
Overridden.

Terminology:
"Treenode" is deliberately used to avoid confusion with "Node" in ROS.

:type src_row: int
:type src_parent_qmindex: QModelIndex

Definition at line 74 of file filter_children_model.py.

Definition at line 180 of file filter_children_model.py.


Member Data Documentation

Definition at line 180 of file filter_children_model.py.

Definition at line 64 of file filter_children_model.py.

Definition at line 64 of file filter_children_model.py.

Definition at line 62 of file filter_children_model.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