Public Member Functions | Private Attributes | List of all members
rqt_console.message_proxy_model.MessageProxyModel Class Reference
Inheritance diagram for rqt_console.message_proxy_model.MessageProxyModel:
Inheritance graph
[legend]

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

def rqt_console.message_proxy_model.MessageProxyModel.__init__ (   self)

Definition at line 51 of file message_proxy_model.py.

Member Function Documentation

◆ add_exclude_filter()

def rqt_console.message_proxy_model.MessageProxyModel.add_exclude_filter (   self,
  newfilter 
)

Definition at line 128 of file message_proxy_model.py.

◆ add_highlight_filter()

def rqt_console.message_proxy_model.MessageProxyModel.add_highlight_filter (   self,
  newfilter 
)

Definition at line 131 of file message_proxy_model.py.

◆ data()

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.

◆ delete_exclude_filter()

def rqt_console.message_proxy_model.MessageProxyModel.delete_exclude_filter (   self,
  index 
)

Definition at line 134 of file message_proxy_model.py.

◆ delete_highlight_filter()

def rqt_console.message_proxy_model.MessageProxyModel.delete_highlight_filter (   self,
  index 
)

Definition at line 138 of file message_proxy_model.py.

◆ filterAcceptsRow()

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.

◆ handle_exclude_filters_changed()

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.

◆ handle_highlight_filters_changed()

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.

◆ set_show_highlighted_only()

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.

◆ setSourceModel()

def rqt_console.message_proxy_model.MessageProxyModel.setSourceModel (   self,
  source_model 
)

Definition at line 65 of file message_proxy_model.py.

Member Data Documentation

◆ _exclude_filters

rqt_console.message_proxy_model.MessageProxyModel._exclude_filters
private

Definition at line 58 of file message_proxy_model.py.

◆ _highlight_filters

rqt_console.message_proxy_model.MessageProxyModel._highlight_filters
private

Definition at line 59 of file message_proxy_model.py.

◆ _show_highlighted_only

rqt_console.message_proxy_model.MessageProxyModel._show_highlighted_only
private

Definition at line 60 of file message_proxy_model.py.

◆ _source_model

rqt_console.message_proxy_model.MessageProxyModel._source_model
private

Definition at line 63 of file message_proxy_model.py.


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


rqt_console
Author(s): Aaron Blasdel
autogenerated on Fri Mar 17 2023 02:44:51