32 from .message_view
import MessageView
34 from python_qt_binding.QtGui
import QIcon
35 from python_qt_binding.QtWidgets
import QAction, QToolBar
41 A message view with a toolbar for navigating messages in a single topic. 45 MessageView.__init__(self, timeline, topic)
49 self.
_name = parent.objectName()
64 parent.layout().addWidget(self.
toolbar)
77 _, _, self.
_stamp = msg_details[:3]
82 self.
timeline._timeline_frame.playhead = entry.time
88 if entry.time < self.
timeline._timeline_frame.playhead:
92 self.
timeline._timeline_frame.playhead = last_entry.time
96 if entry.time > self.
timeline._timeline_frame.playhead:
97 self.
timeline._timeline_frame.playhead = entry.time
106 self.
timeline._timeline_frame.playhead = last_entry.time
def navigate_previous(self)
def message_viewed(self, bag, msg_details)
def __init__(self, timeline, parent, topic)