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

Method append

qcustomplot.cpp:23307–23319  ·  view source on GitHub ↗

! Adds the specified \a bars plottable to this group. Alternatively, you can also use \ref QCPBars::setBarsGroup on the \a bars instance. \see insert, remove */

Source from the content-addressed store, hash-verified

23305 \see insert, remove
23306*/
23307void QCPBarsGroup::append(QCPBars *bars)
23308{
23309 if (!bars)
23310 {
23311 qDebug() << Q_FUNC_INFO << "bars is 0";
23312 return;
23313 }
23314
23315 if (!mBars.contains(bars))
23316 bars->setBarsGroup(this);
23317 else
23318 qDebug() << Q_FUNC_INFO << "bars plottable is already in this bars group:" << reinterpret_cast<quintptr>(bars);
23319}
23320
23321/*!
23322 Inserts the specified \a bars plottable into this group at the specified index position \a i.

Callers 15

changeCurrentScriptMethod · 0.80
loadNewScriptMethod · 0.80
createNewScriptMethod · 0.80
saveScriptMethod · 0.80
addSignalMethod · 0.80
updateCursorMethod · 0.80
saveGridMethod · 0.80
loadGridMethod · 0.80
saveSenderFileMethod · 0.80
processModifierTextMethod · 0.80
processTriggerTextMethod · 0.80
updateGridRowMethod · 0.80

Calls 2

containsMethod · 0.80
setBarsGroupMethod · 0.80

Tested by 2

handleStartButtonMethod · 0.64
calculateResultsMethod · 0.64