MCPcopy Create free account
hub / github.com/Audio4Linux/JDSP4Linux / colorMaps

Method colorMaps

3rdparty/qcustomplot/qcustomplot.cpp:20388–20398  ·  view source on GitHub ↗

! Returns a list of all the color maps associated with this color scale. */

Source from the content-addressed store, hash-verified

20386 Returns a list of all the color maps associated with this color scale.
20387*/
20388QList<QCPColorMap*> QCPColorScale::colorMaps() const
20389{
20390 QList<QCPColorMap*> result;
20391 for (int i=0; i<mParentPlot->plottableCount(); ++i)
20392 {
20393 if (QCPColorMap *cm = qobject_cast<QCPColorMap*>(mParentPlot->plottable(i)))
20394 if (cm->colorScale() == this)
20395 result.append(cm);
20396 }
20397 return result;
20398}
20399
20400/*!
20401 Changes the data range such that all color maps associated with this color scale are fully mapped

Callers

nothing calls this directly

Calls 3

plottableCountMethod · 0.80
plottableMethod · 0.80
appendMethod · 0.80

Tested by

no test coverage detected