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

Method curveFromTitle

pj_plotting/widget/src/PlotWidgetBase.cpp:294–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292}
293
294PlotWidgetBase::CurveInfo* PlotWidgetBase::curveFromTitle(const QString& title) {
295 for (auto& info : plot_->curve_list) {
296 if (info.curve->title().text() == title || info.source_name == title) {
297 return &info;
298 }
299 }
300 return nullptr;
301}
302
303void PlotWidgetBase::resetZoom() {
304 updateMaximumZoomArea();

Callers 2

onSwatchClickedMethod · 0.80
TESTFunction · 0.80

Calls 2

textMethod · 0.45
titleMethod · 0.45

Tested by 1

TESTFunction · 0.64