Public Member Functions | |
def | __init__ (self, parent) |
def | filterAcceptsColumn (self, source_column, source_parent) |
def | filterAcceptsRow (self, src_row, src_parent_qmindex) |
def | set_filter (self, filter_) |
Static Public Attributes | |
sig_filtered = Signal(int) | |
Private Member Functions | |
def | _filter_row_recur (self, src_row, src_parent_qmindex) |
def | _get_toplevel_parent_recur (self, qmindex) |
def | _show_params_view (self, src_row, curr_qitem) |
Private Attributes | |
_filter | |
_parent | |
_toplv_parent_prev | |
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.
def rqt_reconfigure.filter_children_model.FilterChildrenModel.__init__ | ( | self, | |
parent | |||
) |
Definition at line 64 of file filter_children_model.py.
|
private |
:type src_row: int :type src_parent_qmindex: QModelIndex
Definition at line 87 of file filter_children_model.py.
|
private |
Definition at line 158 of file filter_children_model.py.
|
private |
:type curr_qitem: QStandardItem
Definition at line 149 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 164 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.
def rqt_reconfigure.filter_children_model.FilterChildrenModel.set_filter | ( | self, | |
filter_ | |||
) |
Definition at line 179 of file filter_children_model.py.
|
private |
Definition at line 180 of file filter_children_model.py.
|
private |
Definition at line 71 of file filter_children_model.py.
|
private |
Definition at line 72 of file filter_children_model.py.
|
static |
Definition at line 62 of file filter_children_model.py.