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

Method autoTolerance2Changed

src/frontend/dockwidgets/XYDataReductionCurveDock.cpp:472–481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470}
471
472void XYDataReductionCurveDock::autoTolerance2Changed() {
473 const auto autoTolerance2 = (bool)uiGeneralTab.chkAuto2->isChecked();
474 m_dataReductionData.autoTolerance2 = autoTolerance2;
475
476 if (autoTolerance2) {
477 uiGeneralTab.sbTolerance2->setEnabled(false);
478 updateTolerance2();
479 } else
480 uiGeneralTab.sbTolerance2->setEnabled(true);
481}
482
483void XYDataReductionCurveDock::tolerance2Changed(double value) {
484 m_dataReductionData.tolerance2 = value;

Callers 1

initGeneralTabMethod · 0.95

Calls 1

setEnabledMethod · 0.45

Tested by

no test coverage detected