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

Method styleChanged

src/frontend/widgets/LineWidget.cpp:157–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157void LineWidget::styleChanged(int index) {
158 CONDITIONAL_LOCK_RETURN;
159 auto style = static_cast<Qt::PenStyle>(index);
160 for (auto* line : m_lines)
161 line->setStyle(style);
162}
163
164void LineWidget::colorChangedSlot(const QColor& color) {
165 CONDITIONAL_LOCK_RETURN;

Callers

nothing calls this directly

Calls 1

setStyleMethod · 0.45

Tested by

no test coverage detected