rqt_topic.models.message_list module

class rqt_topic.models.message_list.MessageListModel(*args: Any, **kwargs: Any)

Bases: QAbstractTableModel

add_new_message(msg: MessageModel)
clear()
columnCount(parent: python_qt_binding.QtCore.QModelIndex = python_qt_binding.QtCore.QModelIndex)
data(index, role)

Call for every cell in the table.

Returns different things depending on the given role.

headerData(index, orientation, role)
rowCount(parent: python_qt_binding.QtCore.QModelIndex = python_qt_binding.QtCore.QModelIndex)
update_queue(queue_size: int = 100)

Fill the message list with dummy data up to the new input queue limit.

update_row(row: int)
class rqt_topic.models.message_list.MessageListProxy(*args: Any, **kwargs: Any)

Bases: QSortFilterProxyModel

A proxy model to enable sort and filtering of the underlying MessageListModel.

filterAcceptsRow(sourceRow: int, sourceParent: python_qt_binding.QtCore.QModelIndex) bool

Return true if row should be displayed, false otherwise.

matches_query(value: str) bool
update_search_filter(search_query: str)
class rqt_topic.models.message_list.MessageListProxySignals(*args: Any, **kwargs: Any)

Bases: QObject

searchForStr

alias of str

class rqt_topic.models.message_list.MessageListSignals(*args: Any, **kwargs: Any)

Bases: QObject

addMessage

alias of MessageModel

updateQueueSize

alias of int