MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / setReferenceLine

Method setReferenceLine

pj_app/src/SourceTimelineController.cpp:287–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287void SourceTimelineController::setReferenceLine(std::optional<double> playback_seconds) {
288 // The widget shifts the playback-frame value into the bar frame in integer ns
289 // (via the time-frame offset), so pass it straight through.
290 if (playback_seconds.has_value()) {
291 widget_->setReferenceLine(*playback_seconds, /*visible=*/true);
292 } else {
293 widget_->setReferenceLine(0.0, /*visible=*/false);
294 }
295}
296
297void SourceTimelineController::onMergeRequested(const QList<quint64>& ids) {
298 std::vector<DatasetId> datasets;

Callers 3

MainWindowMethod · 0.45
applyGlobalTogglesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected