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

Method makeSeededEmptyObjectDock

pj_app/src/MainWindow.cpp:1323–1329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1321}
1322
1323IDataWidget* MainWindow::makeSeededEmptyObjectDock(const QString& kind, QWidget* parent) {
1324 IDataWidget* widget = makeSceneDock(kind, parent);
1325 if (widget != nullptr) {
1326 widget->onTrackerTime(toAxisDouble(session_->playbackEngine().currentTime()));
1327 }
1328 return widget;
1329}
1330
1331void MainWindow::onObjectFamilyRequested(DockWidget* dock, VisualizationKind family) {
1332 if (dock == nullptr) {

Callers

nothing calls this directly

Calls 3

toAxisDoubleFunction · 0.85
currentTimeMethod · 0.80
onTrackerTimeMethod · 0.45

Tested by

no test coverage detected