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

Method ensurePlotWidget

pj_plotting/widget/src/DockWidget.cpp:378–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378PlotWidget* DockWidget::ensurePlotWidget() {
379 if (plot_widget_ == nullptr) {
380 setPlotWidget(new PlotWidget(session_, catalog_, this));
381 setName(QStringLiteral("..."));
382 }
383 return plot_widget_;
384}
385
386void DockWidget::onCatalogItemsDropped(const QStringList& keys) {
387 if (catalog_ == nullptr || keys.empty()) {

Callers

nothing calls this directly

Calls 1

setNameFunction · 0.85

Tested by

no test coverage detected