MCPcopy Create free account
hub / github.com/LUX-Core/lux / layer

Method layer

src/qt/qcustomplot.cpp:13957–13965  ·  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

13955 \see addLayer, moveLayer, removeLayer
13956*/
13957QCPLayer *QCustomPlot::layer(const QString &name) const
13958{
13959 Q_FOREACH (QCPLayer *layer, mLayers)
13960 {
13961 if (layer->name() == name)
13962 return layer;
13963 }
13964 return 0;
13965}
13966
13967/*! \overload
13968

Callers 4

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

Calls 2

sizeMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected