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

Method initializeParentPlot

3rdparty/qcustomplot/qcustomplot.cpp:1528–1541  ·  view source on GitHub ↗

! \internal Sets the parent plot of this layerable. Use this function once to set the parent plot if you have passed \c nullptr in the constructor. It can not be used to move a layerable from one QCustomPlot to another one. Note that, unlike when passing a non \c nullptr parent plot in the constructor, this function does not make \a parentPlot the QObject-parent of this layerable.

Source from the content-addressed store, hash-verified

1526 QCPLayout does).
1527*/
1528void QCPLayerable::initializeParentPlot(QCustomPlot *parentPlot)
1529{
1530 if (mParentPlot)
1531 {
1532 qDebug() << Q_FUNC_INFO << "called with mParentPlot already initialized";
1533 return;
1534 }
1535
1536 if (!parentPlot)
1537 qDebug() << Q_FUNC_INFO << "called with parentPlot zero";
1538
1539 mParentPlot = parentPlot;
1540 parentPlotInitialized(mParentPlot);
1541}
1542
1543/*! \internal
1544

Callers 4

foreachFunction · 0.80
adoptElementMethod · 0.80
QCustomPlotMethod · 0.80
QCPAxisRectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected