MCPcopy Create free account
hub / github.com/collin80/SavvyCAN / removeAt

Method removeAt

qcustomplot.cpp:3713–3721  ·  view source on GitHub ↗

! Removes and deletes the element at the provided \a index. Returns true on success. If \a index is invalid or points to an empty cell, returns false. This function internally uses \ref takeAt to remove the element from the layout and then deletes the returned element. Note that some layouts don't remove the respective cell right away but leave an empty cell after successful removal o

Source from the content-addressed store, hash-verified

3711 \see remove, takeAt
3712*/
3713bool QCPLayout::removeAt(int index)
3714{
3715 if (QCPLayoutElement *el = takeAt(index))
3716 {
3717 delete el;
3718 return true;
3719 } else
3720 return false;
3721}
3722
3723/*!
3724 Removes and deletes the provided \a element. Returns true on success. If \a element is not in the

Callers 15

deleteCurrentScriptMethod · 0.80
removeSelectedSignalMethod · 0.80
clearGridMethod · 0.80
qcustomplot.cppFile · 0.80
simplifyMethod · 0.80
takeAtMethod · 0.80
btnDeleteCurrSeqMethod · 0.80
deleteCurrentValueMethod · 0.80
removeSignalMethod · 0.80
removeMessageByIndexMethod · 0.80
removeMessageMethod · 0.80
removeDBCFileMethod · 0.80

Calls

no outgoing calls

Tested by 1

handleStartButtonMethod · 0.64