MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / layer

Method layer

qcustomplot/qcustomplot.cpp:13968–13976  ·  view source on GitHub ↗

! Returns the layer with the specified \a name. If there is no layer with the specified name, 0 is returned. Layer names are case-sensitive. \see addLayer, moveLayer, removeLayer */

Source from the content-addressed store, hash-verified

13966 \see addLayer, moveLayer, removeLayer
13967*/
13968QCPLayer *QCustomPlot::layer(const QString &name) const
13969{
13970 foreach (QCPLayer *layer, mLayers)
13971 {
13972 if (layer->name() == name)
13973 return layer;
13974 }
13975 return 0;
13976}
13977
13978/*! \overload
13979

Callers 4

setLayerMethod · 0.80
processRectSelectionMethod · 0.80
registerPlottableMethod · 0.80
registerItemMethod · 0.80

Calls 2

atMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected