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

Method xPlusColumnChanged

src/frontend/widgets/ErrorBarWidget.cpp:272–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270}
271
272void ErrorBarWidget::xPlusColumnChanged(const QModelIndex& index) {
273 CONDITIONAL_LOCK_RETURN;
274
275 auto* aspect = static_cast<AbstractAspect*>(index.internalPointer());
276 auto* column = dynamic_cast<AbstractColumn*>(aspect);
277 Q_ASSERT(column);
278
279 for (auto* errorBar : m_errorBars)
280 errorBar->setXPlusColumn(column);
281}
282
283void ErrorBarWidget::xMinusColumnChanged(const QModelIndex& index) {
284 CONDITIONAL_LOCK_RETURN;

Callers

nothing calls this directly

Calls 1

setXPlusColumnMethod · 0.80

Tested by

no test coverage detected