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

Method errorBarFillingColorChanged

src/frontend/widgets/DatapickerCurveWidget.cpp:173–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173void DatapickerCurveWidget::errorBarFillingColorChanged(const QColor& color) {
174 CONDITIONAL_LOCK_RETURN;
175
176 QBrush brush;
177 for (auto* curve : m_curveList) {
178 brush = curve->pointErrorBarBrush();
179 brush.setColor(color);
180 curve->setPointErrorBarBrush(brush);
181 }
182 GuiTools::updateBrushStyles(ui.cbErrorBarFillingStyle, color);
183}
184
185void DatapickerCurveWidget::visibilityChanged(bool state) {
186 CONDITIONAL_LOCK_RETURN;

Callers

nothing calls this directly

Calls 2

setPointErrorBarBrushMethod · 0.80
setColorMethod · 0.45

Tested by

no test coverage detected