| 132 | } |
| 133 | |
| 134 | void DatapickerCurveWidget::yErrorTypeChanged(int index) { |
| 135 | if (DatapickerCurve::ErrorType(index) != DatapickerCurve::ErrorType::NoError || m_curve->curveErrorTypes().x != DatapickerCurve::ErrorType::NoError) |
| 136 | hideErrorBarWidgets(false); |
| 137 | else |
| 138 | hideErrorBarWidgets(true); |
| 139 | |
| 140 | if (m_suppressTypeChange) |
| 141 | return; |
| 142 | |
| 143 | CONDITIONAL_LOCK_RETURN; |
| 144 | |
| 145 | DatapickerCurve::Errors errors = m_curve->curveErrorTypes(); |
| 146 | errors.y = DatapickerCurve::ErrorType(index); |
| 147 | |
| 148 | for (auto* curve : m_curveList) |
| 149 | curve->setCurveErrorTypes(errors); |
| 150 | } |
| 151 | |
| 152 | void DatapickerCurveWidget::errorBarSizeChanged(double value) { |
| 153 | CONDITIONAL_RETURN_NO_LOCK; |
nothing calls this directly
no test coverage detected