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

Method axisRemoved

qcustomplot/qcustomplot.cpp:15257–15269  ·  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

15255 so it may clear its QCustomPlot::xAxis, yAxis, xAxis2 and yAxis2 members accordingly.
15256*/
15257void QCustomPlot::axisRemoved(QCPAxis *axis)
15258{
15259 if (xAxis == axis)
15260 xAxis = 0;
15261 if (xAxis2 == axis)
15262 xAxis2 = 0;
15263 if (yAxis == axis)
15264 yAxis = 0;
15265 if (yAxis2 == axis)
15266 yAxis2 = 0;
15267
15268 // Note: No need to take care of range drag axes and range zoom axes, because they are stored in smart pointers
15269}
15270
15271/*! \internal
15272

Callers 1

removeAxisMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected