MCPcopy Create free account
hub / github.com/CieNTi/serial_port_plotter / ~QCustomPlot

Method ~QCustomPlot

qcustomplot/qcustomplot.cpp:12956–12970  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12954}
12955
12956QCustomPlot::~QCustomPlot()
12957{
12958 clearPlottables();
12959 clearItems();
12960
12961 if (mPlotLayout)
12962 {
12963 delete mPlotLayout;
12964 mPlotLayout = 0;
12965 }
12966
12967 mCurrentLayer = 0;
12968 qDeleteAll(mLayers); // don't use removeLayer, because it would prevent the last layer to be removed
12969 mLayers.clear();
12970}
12971
12972/*!
12973 Sets which elements are forcibly drawn antialiased as an \a or combination of QCP::AntialiasedElement.

Callers

nothing calls this directly

Calls 1

clearMethod · 0.60

Tested by

no test coverage detected