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

Method data2ColumnChanged

src/frontend/dockwidgets/ProcessBehaviorChartDock.cpp:313–326  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311}
312
313void 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
328void ProcessBehaviorChartDock::typeChanged(int index) {
329 const auto type = static_cast<ProcessBehaviorChart::Type>(ui.cbType->itemData(index).toInt());

Callers

nothing calls this directly

Calls 1

setData2ColumnMethod · 0.80

Tested by

no test coverage detected