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

Method columnChanged

src/frontend/widgets/ValueWidget.cpp:222–230  ·  view source on GitHub ↗

! called when the custom column for the values was changed. */

Source from the content-addressed store, hash-verified

220 called when the custom column for the values was changed.
221*/
222void ValueWidget::columnChanged(const QModelIndex& index) {
223 CONDITIONAL_LOCK_RETURN;
224
225 this->updateWidgets();
226
227 auto* column = static_cast<Column*>(index.internalPointer());
228 for (auto* value : m_values)
229 value->setColumn(column);
230}
231
232void ValueWidget::positionChanged(int index) {
233 CONDITIONAL_LOCK_RETURN;

Callers

nothing calls this directly

Calls 2

updateWidgetsMethod · 0.95
setColumnMethod · 0.45

Tested by

no test coverage detected