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

Method deselectAll

qcustomplot.cpp:14389–14396  ·  view source on GitHub ↗

! Deselects all layerables (plottables, items, axes, legends,...) of the QCustomPlot. Since calling this function is not a user interaction, this does not emit the \ref selectionChangedByUser signal. The individual selectionChanged signals are emitted though, if the objects were previously selected. \see setInteractions, selectedPlottables, selectedItems, selectedAxes, selectedLege

Source from the content-addressed store, hash-verified

14387 \see setInteractions, selectedPlottables, selectedItems, selectedAxes, selectedLegends
14388*/
14389void QCustomPlot::deselectAll()
14390{
14391 foreach (QCPLayer *layer, mLayers)
14392 {
14393 foreach (QCPLayerable *layerable, layer->children())
14394 layerable->deselectEvent(0);
14395 }
14396}
14397
14398/*!
14399 Causes a complete replot into the internal paint buffer(s). Finally, the widget surface is

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected