Public Member Functions | |
def | __init__ (self) |
def | add_exclude_filter (self, newfilter) |
def | add_highlight_filter (self, newfilter) |
def | data (self, proxy_index, role=None) |
def | delete_exclude_filter (self, index) |
def | delete_highlight_filter (self, index) |
def | filterAcceptsRow (self, sourcerow, sourceparent) |
def | handle_exclude_filters_changed (self) |
def | handle_highlight_filters_changed (self) |
def | set_show_highlighted_only (self, show_highlighted_only) |
def | setSourceModel (self, source_model) |
Private Attributes | |
_exclude_filters | |
_highlight_filters | |
_show_highlighted_only | |
_source_model | |
Provides sorting and filtering capabilities for the MessageDataModel. Filtering is based on a collection of exclude and highlight filters.
Definition at line 44 of file message_proxy_model.py.
def rqt_console.message_proxy_model.MessageProxyModel.__init__ | ( | self | ) |
Definition at line 51 of file message_proxy_model.py.
def rqt_console.message_proxy_model.MessageProxyModel.add_exclude_filter | ( | self, | |
newfilter | |||
) |
Definition at line 128 of file message_proxy_model.py.
def rqt_console.message_proxy_model.MessageProxyModel.add_highlight_filter | ( | self, | |
newfilter | |||
) |
Definition at line 131 of file message_proxy_model.py.
def rqt_console.message_proxy_model.MessageProxyModel.data | ( | self, | |
proxy_index, | |||
role = None |
|||
) |
Set colors of items based on highlight filters.
Definition at line 94 of file message_proxy_model.py.
def rqt_console.message_proxy_model.MessageProxyModel.delete_exclude_filter | ( | self, | |
index | |||
) |
Definition at line 134 of file message_proxy_model.py.
def rqt_console.message_proxy_model.MessageProxyModel.delete_highlight_filter | ( | self, | |
index | |||
) |
Definition at line 138 of file message_proxy_model.py.
def rqt_console.message_proxy_model.MessageProxyModel.filterAcceptsRow | ( | self, | |
sourcerow, | |||
sourceparent | |||
) |
returns: True if the row does not match any exclude filter AND (_show_highlighted_only is False OR it matches any highlight filter), ''bool''
Definition at line 71 of file message_proxy_model.py.
def rqt_console.message_proxy_model.MessageProxyModel.handle_exclude_filters_changed | ( | self | ) |
Invalidate filters and trigger refiltering.
Definition at line 107 of file message_proxy_model.py.
def rqt_console.message_proxy_model.MessageProxyModel.handle_highlight_filters_changed | ( | self | ) |
Invalidate filters and trigger refiltering.
Definition at line 113 of file message_proxy_model.py.
def rqt_console.message_proxy_model.MessageProxyModel.set_show_highlighted_only | ( | self, | |
show_highlighted_only | |||
) |
Definition at line 142 of file message_proxy_model.py.
def rqt_console.message_proxy_model.MessageProxyModel.setSourceModel | ( | self, | |
source_model | |||
) |
Definition at line 65 of file message_proxy_model.py.
|
private |
Definition at line 58 of file message_proxy_model.py.
|
private |
Definition at line 59 of file message_proxy_model.py.
|
private |
Definition at line 60 of file message_proxy_model.py.
|
private |
Definition at line 63 of file message_proxy_model.py.