* @brief Sets the stroke color. */
| 305 | * @brief Sets the stroke color. |
| 306 | */ |
| 307 | void Widgets::PlotCurve::setColor(const QColor& color) |
| 308 | { |
| 309 | if (m_color == color) |
| 310 | return; |
| 311 | |
| 312 | m_color = color; |
| 313 | Q_EMIT colorChanged(); |
| 314 | update(); |
| 315 | } |
| 316 | |
| 317 | /** |
| 318 | * @brief Sets the stroke width in logical pixels. |
no test coverage detected