connect(&_session, SIGNAL(data_updated()),
this, SLOT(data_updated()));
+ connect(&_cursors.first, SIGNAL(time_changed()),
+ this, SLOT(marker_time_changed()));
+ connect(&_cursors.second, SIGNAL(time_changed()),
+ this, SLOT(marker_time_changed()));
+
setViewportMargins(LabelMarginWidth, RulerHeight, 0, 0);
setViewport(_viewport);
_viewport->update();
}
+void View::marker_time_changed()
+{
+ _ruler->update();
+ _viewport->update();
+}
+
} // namespace view
} // namespace pv