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

Method take

3rdparty/qcustomplot/qcustomplot.cpp:4661–4677  ·  view source on GitHub ↗

inherits documentation from base class */

Source from the content-addressed store, hash-verified

4659
4660/* inherits documentation from base class */
4661bool QCPLayoutGrid::take(QCPLayoutElement *element)
4662{
4663 if (element)
4664 {
4665 for (int i=0; i<elementCount(); ++i)
4666 {
4667 if (elementAt(i) == element)
4668 {
4669 takeAt(i);
4670 return true;
4671 }
4672 }
4673 qDebug() << Q_FUNC_INFO << "Element not in this layout, couldn't take";
4674 } else
4675 qDebug() << Q_FUNC_INFO << "Can't take nullptr element";
4676 return false;
4677}
4678
4679/* inherits documentation from base class */
4680QList<QCPLayoutElement*> QCPLayoutGrid::elements(bool recursive) const

Callers 4

~QCPLayoutElementMethod · 0.80
addElementMethod · 0.80
drawLabelMaybeCachedMethod · 0.80
placeTickLabelMethod · 0.80

Calls 1

elementCountFunction · 0.85

Tested by

no test coverage detected