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 |
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.
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.
def rqt_reconfigure.filter_children_model.FilterChildrenModel._get_toplevel_parent_recur | ( | self, | |
qmindex | |||
) | [private] |
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.
def rqt_reconfigure.filter_children_model.FilterChildrenModel.set_filter | ( | self, | |
filter_ | |||
) |
Definition at line 180 of file filter_children_model.py.
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.
tuple rqt_reconfigure::filter_children_model.FilterChildrenModel::sig_filtered = Signal(int) [static] |
Definition at line 62 of file filter_children_model.py.