| 376 | } |
| 377 | |
| 378 | void BarPlotDock::typeChanged(int index) { |
| 379 | CONDITIONAL_LOCK_RETURN; |
| 380 | |
| 381 | auto type = static_cast<BarPlot::Type>(index); |
| 382 | for (auto* barPlot : m_barPlots) |
| 383 | barPlot->setType(type); |
| 384 | } |
| 385 | |
| 386 | void BarPlotDock::orientationChanged(int index) { |
| 387 | CONDITIONAL_LOCK_RETURN; |