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

Method updateLayerIndices

qcustomplot/qcustomplot.cpp:15543–15547  ·  view source on GitHub ↗

! \internal Assigns all layers their index (QCPLayer::mIndex) in the mLayers list. This method is thus called after every operation that changes the layer indices, like layer removal, layer creation, layer moving. */

Source from the content-addressed store, hash-verified

15541 moving.
15542*/
15543void QCustomPlot::updateLayerIndices() const
15544{
15545 for (int i=0; i<mLayers.size(); ++i)
15546 mLayers.at(i)->mIndex = i;
15547}
15548
15549/*! \internal
15550

Callers

nothing calls this directly

Calls 2

atMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected