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

Method yPlusColumnChanged

src/frontend/widgets/ErrorBarWidget.cpp:328–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326}
327
328void ErrorBarWidget::yPlusColumnChanged(const QModelIndex& index) {
329 CONDITIONAL_LOCK_RETURN;
330
331 auto* aspect = static_cast<AbstractAspect*>(index.internalPointer());
332 auto* column = dynamic_cast<AbstractColumn*>(aspect);
333 Q_ASSERT(column);
334
335 for (auto* errorBar : m_errorBars)
336 errorBar->setYPlusColumn(column);
337}
338
339void ErrorBarWidget::yMinusColumnChanged(const QModelIndex& index) {
340 CONDITIONAL_LOCK_RETURN;

Callers

nothing calls this directly

Calls 1

setYPlusColumnMethod · 0.80

Tested by

no test coverage detected