| 157 | } |
| 158 | |
| 159 | void DatapickerCurveWidget::errorBarFillingStyleChanged(int index) { |
| 160 | auto brushStyle = Qt::BrushStyle(index); |
| 161 | ui.kcbErrorBarFillingColor->setEnabled(!(brushStyle == Qt::NoBrush)); |
| 162 | |
| 163 | CONDITIONAL_LOCK_RETURN; |
| 164 | |
| 165 | QBrush brush; |
| 166 | for (auto* curve : m_curveList) { |
| 167 | brush = curve->pointErrorBarBrush(); |
| 168 | brush.setStyle(brushStyle); |
| 169 | curve->setPointErrorBarBrush(brush); |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | void DatapickerCurveWidget::errorBarFillingColorChanged(const QColor& color) { |
| 174 | CONDITIONAL_LOCK_RETURN; |
nothing calls this directly
no test coverage detected