MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / axisRemoved

Method axisRemoved

3rdparty/qcustomplot/qcustomplot.cpp:16007–16019  ·  view source on GitHub ↗

! \internal This method is used by \ref QCPAxisRect::removeAxis to report removed axes to the QCustomPlot so it may clear its QCustomPlot::xAxis, yAxis, xAxis2 and yAxis2 members accordingly. */

Source from the content-addressed store, hash-verified

16005 so it may clear its QCustomPlot::xAxis, yAxis, xAxis2 and yAxis2 members accordingly.
16006*/
16007void QCustomPlot::axisRemoved(QCPAxis *axis)
16008{
16009 if (xAxis == axis)
16010 xAxis = nullptr;
16011 if (xAxis2 == axis)
16012 xAxis2 = nullptr;
16013 if (yAxis == axis)
16014 yAxis = nullptr;
16015 if (yAxis2 == axis)
16016 yAxis2 = nullptr;
16017
16018 // Note: No need to take care of range drag axes and range zoom axes, because they are stored in smart pointers
16019}
16020
16021/*! \internal
16022

Callers 1

removeAxisMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected