| 311 | } |
| 312 | |
| 313 | void ProcessBehaviorChartDock::data2ColumnChanged(const QModelIndex& index) { |
| 314 | if (m_initializing) |
| 315 | return; |
| 316 | |
| 317 | auto aspect = static_cast<AbstractAspect*>(index.internalPointer()); |
| 318 | AbstractColumn* column(nullptr); |
| 319 | if (aspect) { |
| 320 | column = dynamic_cast<AbstractColumn*>(aspect); |
| 321 | Q_ASSERT(column); |
| 322 | } |
| 323 | |
| 324 | for (auto* plot : m_plots) |
| 325 | plot->setData2Column(column); |
| 326 | } |
| 327 | |
| 328 | void ProcessBehaviorChartDock::typeChanged(int index) { |
| 329 | const auto type = static_cast<ProcessBehaviorChart::Type>(ui.cbType->itemData(index).toInt()); |
nothing calls this directly
no test coverage detected