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

Method firstPlotOfActiveTab

pj_app/src/MainWindow.cpp:4060–4064  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4058}
4059
4060PlotWidget* MainWindow::firstPlotOfActiveTab() const {
4061 auto* docker = ui_->tabbedPlotWidget->currentTab();
4062 auto* dock = (docker != nullptr && docker->plotCount() > 0) ? docker->plotAt(0) : nullptr;
4063 return dock != nullptr ? dock->plotWidget() : nullptr;
4064}
4065
4066DockWidget* MainWindow::activeFocusedDock() const {
4067 auto* docker = ui_->tabbedPlotWidget->currentTab();

Callers

nothing calls this directly

Calls 4

currentTabMethod · 0.80
plotCountMethod · 0.80
plotAtMethod · 0.80
plotWidgetMethod · 0.80

Tested by

no test coverage detected