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

Method setLayer

src/qt/qcustomplot.cpp:1384–1387  ·  view source on GitHub ↗

! Sets the \a layer of this layerable object. The object will be placed on top of the other objects already on \a layer. If \a layer is 0, this layerable will not be on any layer and thus not appear in the plot (or interact/receive events). Returns true if the layer of this layerable was successfully changed to \a layer. */

Source from the content-addressed store, hash-verified

1382 Returns true if the layer of this layerable was successfully changed to \a layer.
1383*/
1384bool QCPLayerable::setLayer(QCPLayer *layer)
1385{
1386 return moveToLayer(layer, false);
1387}
1388
1389/*! \overload
1390 Sets the layer of this layerable object by name

Callers 4

~QCPLayerMethod · 0.80
QCustomPlotMethod · 0.80
registerPlottableMethod · 0.80
registerItemMethod · 0.80

Calls 1

layerMethod · 0.80

Tested by

no test coverage detected