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

Method xErrorColumnChanged

src/frontend/dockwidgets/XYFitCurveDock.cpp:543–553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

541}
542
543void XYFitCurveDock::xErrorColumnChanged(const QModelIndex& index) {
544 CONDITIONAL_LOCK_RETURN;
545
546 auto* aspect = static_cast<AbstractAspect*>(index.internalPointer());
547 auto* column = dynamic_cast<AbstractColumn*>(aspect);
548
549 for (auto* curve : m_curvesList)
550 static_cast<XYFitCurve*>(curve)->setXErrorColumn(column);
551
552 cbXErrorColumn->setInvalid(false);
553}
554
555void XYFitCurveDock::yErrorColumnChanged(const QModelIndex& index) {
556 CONDITIONAL_LOCK_RETURN;

Callers

nothing calls this directly

Calls 2

setXErrorColumnMethod · 0.80
setInvalidMethod · 0.45

Tested by

no test coverage detected