37 from python_qt_binding
import loadUi
38 from python_qt_binding.QtCore
import Signal, Slot
39 from python_qt_binding.QtWidgets
import QWidget
48 This class defines the pane where timeline and its related components
51 status_updated = Signal(list)
52 pause_changed = Signal(bool)
53 position_changed = Signal(int)
58 Because this class is intended to be instantiated via Qt's .ui file,
59 taking argument other than parent widget is not possible, which is
60 ported to set_timeline_data method. That said, set_timeline_data must
61 be called (soon) after an object of this is instantiated.
63 super(TimelinePane, self).
__init__(parent=parent)
66 ui_file = os.path.join(rp.get_path(
'rqt_robot_monitor'),
71 self._timeline_view.show()
78 self._pause_button.setChecked(paused)
90 self._pause_button.setChecked(paused)
95 :param levels: List of status levels
101 self._timeline_view.set_marker_pos(position)
105 self._timeline_view.redraw.emit()