MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / setLayerName

Method setLayerName

src/openms_gui/source/VISUAL/PlotCanvas.cpp:512–519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510 }
511
512 void PlotCanvas::setLayerName(Size i, const String& name)
513 {
514 getLayer(i).setName(name);
515 if (i == 0 && spectrum_widget_)
516 {
517 spectrum_widget_->setWindowTitle(name.toQString());
518 }
519 }
520
521 String PlotCanvas::getLayerName(const Size i)
522 {

Callers 2

contextMenuEventMethod · 0.80
showCurrentPeaksAsDIAMethod · 0.80

Calls 2

setNameMethod · 0.45
toQStringMethod · 0.45

Tested by

no test coverage detected