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

Method autoToleranceChanged

src/frontend/dockwidgets/XYDataReductionCurveDock.cpp:456–465  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454}
455
456void XYDataReductionCurveDock::autoToleranceChanged() {
457 const auto autoTolerance = (bool)uiGeneralTab.chkAuto->isChecked();
458 m_dataReductionData.autoTolerance = autoTolerance;
459
460 if (autoTolerance) {
461 uiGeneralTab.sbTolerance->setEnabled(false);
462 updateTolerance();
463 } else
464 uiGeneralTab.sbTolerance->setEnabled(true);
465}
466
467void XYDataReductionCurveDock::toleranceChanged(double value) {
468 m_dataReductionData.tolerance = value;

Callers 1

initGeneralTabMethod · 0.95

Calls 1

setEnabledMethod · 0.45

Tested by

no test coverage detected