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

Method onTabRenameRequested

pj_plotting/widget/src/TabbedPlotWidget.cpp:394–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392}
393
394void TabbedPlotWidget::onTabRenameRequested(PlotTabFrame* frame, const QString& new_name) {
395 TabEntry* entry = findEntry(frame);
396 if (entry == nullptr) {
397 return;
398 }
399 entry->docker->setName(new_name);
400 emit undoableChange();
401}
402
403void TabbedPlotWidget::onTabCloseRequested(PlotTabFrame* frame) {
404 TabEntry* entry = findEntry(frame);

Callers

nothing calls this directly

Calls 1

setNameMethod · 0.45

Tested by

no test coverage detected