| 155 | } |
| 156 | |
| 157 | void 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 | |
| 164 | void LineWidget::colorChangedSlot(const QColor& color) { |
| 165 | CONDITIONAL_LOCK_RETURN; |