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

Method handleAspectRemoved

src/backend/worksheet/Worksheet.cpp:369–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367}
368
369void Worksheet::handleAspectRemoved(const AbstractAspect* /*parent*/, const AbstractAspect* /*before*/, const AbstractAspect* child) {
370 Q_D(Worksheet);
371 if (d->layout != Worksheet::Layout::NoLayout)
372 d->updateLayout(false);
373 auto* plot = dynamic_cast<const CartesianPlot*>(child);
374 if (plot)
375 cursorModelPlotRemoved(plot->name());
376}
377
378/*!
379 * called when one of the children was moved, re-adjusts the Z-values for all children.

Callers

nothing calls this directly

Calls 2

updateLayoutMethod · 0.80
nameMethod · 0.45

Tested by

no test coverage detected