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

Method remove

3rdparty/qcustomplot/qcustomplot.cpp:3760–3768  ·  view source on GitHub ↗

! Removes and deletes the provided \a element. Returns true on success. If \a element is not in the layout, returns false. This function internally uses \ref takeAt to remove the element from the layout and then deletes the element. Note that some layouts don't remove the respective cell right away but leave an empty cell after successful removal of the layout element. To collapse emp

Source from the content-addressed store, hash-verified

3758 \see removeAt, take
3759*/
3760bool QCPLayout::remove(QCPLayoutElement *element)
3761{
3762 if (take(element))
3763 {
3764 delete element;
3765 return true;
3766 } else
3767 return false;
3768}
3769
3770/*!
3771 Removes and deletes all layout elements in this layout. Finally calls \ref simplify to make sure

Callers 5

foreachFunction · 0.45
getTickLabelDataMethod · 0.45
removeChildXMethod · 0.45
removeChildYMethod · 0.45
getChannelFillPolygonMethod · 0.45

Calls 2

setBarsGroupMethod · 0.80
containsMethod · 0.45

Tested by

no test coverage detected