SLOTs for changes triggered in DatapickerCurveWidget "General"-tab
| 114 | //************************************************************* |
| 115 | //"General"-tab |
| 116 | void DatapickerCurveWidget::xErrorTypeChanged(int index) { |
| 117 | if (DatapickerCurve::ErrorType(index) != DatapickerCurve::ErrorType::NoError || m_curve->curveErrorTypes().y != DatapickerCurve::ErrorType::NoError) |
| 118 | hideErrorBarWidgets(false); |
| 119 | else |
| 120 | hideErrorBarWidgets(true); |
| 121 | |
| 122 | if (m_suppressTypeChange) |
| 123 | return; |
| 124 | |
| 125 | CONDITIONAL_LOCK_RETURN; |
| 126 | |
| 127 | DatapickerCurve::Errors errors = m_curve->curveErrorTypes(); |
| 128 | errors.x = DatapickerCurve::ErrorType(index); |
| 129 | |
| 130 | for (auto* curve : m_curveList) |
| 131 | curve->setCurveErrorTypes(errors); |
| 132 | } |
| 133 | |
| 134 | void DatapickerCurveWidget::yErrorTypeChanged(int index) { |
| 135 | if (DatapickerCurve::ErrorType(index) != DatapickerCurve::ErrorType::NoError || m_curve->curveErrorTypes().x != DatapickerCurve::ErrorType::NoError) |
nothing calls this directly
no test coverage detected