MCPcopy Create free account
hub / github.com/KDE/labplot / dataColumnAboutToBeRemoved

Method dataColumnAboutToBeRemoved

src/backend/worksheet/plots/cartesian/BoxPlot.cpp:610–621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

608// ##############################################################################
609
610void BoxPlot::dataColumnAboutToBeRemoved(const AbstractAspect* aspect) {
611 Q_D(BoxPlot);
612 for (int i = 0; i < d->dataColumns.size(); ++i) {
613 if (aspect == d->dataColumns.at(i)) {
614 d->dataColumns[i] = nullptr;
615 d->retransform();
616 Q_EMIT dataChanged();
617 Q_EMIT changed();
618 break;
619 }
620 }
621}
622
623// ##############################################################################
624// ###### SLOTs for changes triggered via QActions in the context menu ########

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
retransformMethod · 0.45

Tested by

no test coverage detected