rqt_topic.models.message_detail module

class rqt_topic.models.message_detail.MessageDetailModel(*args: Any, **kwargs: Any)

Bases: QAbstractItemModel

buddy(index: python_qt_binding.QtCore.QModelIndex) python_qt_binding.QtCore.QModelIndex
canFetchMore(parent: python_qt_binding.QtCore.QModelIndex) bool
clear()
columnCount(parent: python_qt_binding.QtCore.QModelIndex = python_qt_binding.QtCore.QModelIndex) int
create_new_msg(msg: dict)
data(index: python_qt_binding.QtCore.QModelIndex, role: int = None)
fetchMore(parent: python_qt_binding.QtCore.QModelIndex)
flags(index: python_qt_binding.QtCore.QModelIndex)
get_child(field: str) MessageDetailModel | None
hasChildren(parent: python_qt_binding.QtCore.QModelIndex = python_qt_binding.QtCore.QModelIndex) bool
hasIndex(row: int, column: int, parent: python_qt_binding.QtCore.QModelIndex = python_qt_binding.QtCore.QModelIndex) bool
headerData(section, orientation, role) str
index(row, column, parent: python_qt_binding.QtCore.QModelIndex = python_qt_binding.QtCore.QModelIndex) python_qt_binding.QtCore.QModelIndex
is_new_message_type(msg) bool
parent(child: python_qt_binding.QtCore.QModelIndex = python_qt_binding.QtCore.QModelIndex) python_qt_binding.QtCore.QModelIndex
parse_msg_dict(msg: dict, parent_model: MessageDetailModel = None) MessageDetailModel

Recursively parse a given message dictionary.

reset()
row() int
rowCount(parent: python_qt_binding.QtCore.QModelIndex = python_qt_binding.QtCore.QModelIndex) int
setData(index, value: MessageDetailModel, role=python_qt_binding.QtCore.Qt.EditRole)
span(index: python_qt_binding.QtCore.QModelIndex)
update(msg: Any)
update_field(parent_model: MessageDetailModel, new_field: MessageDetailModel)
class rqt_topic.models.message_detail.MessageDetailProxy(*args: Any, **kwargs: Any)

Bases: QSortFilterProxyModel

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

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_detail.MessageDetailProxySignals(*args: Any, **kwargs: Any)

Bases: QObject

searchForStr

alias of str

class rqt_topic.models.message_detail.MessageDetailSignals(*args: Any, **kwargs: Any)

Bases: QObject

updateMsg

alias of object