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

Method valuesTypeChanged

src/frontend/dockwidgets/XYCurveDock.cpp:627–635  ·  view source on GitHub ↗

! called when the type of the values (none, x, y, (x,y) etc.) was changed. */

Source from the content-addressed store, hash-verified

625 called when the type of the values (none, x, y, (x,y) etc.) was changed.
626*/
627void XYCurveDock::valuesTypeChanged(int index) {
628 this->updateValuesWidgets();
629
630 CONDITIONAL_LOCK_RETURN;
631
632 const auto type = XYCurve::ValuesType(index);
633 for (auto* curve : m_curvesList)
634 curve->setValuesType(type);
635}
636
637/*!
638 called when the custom column for the values was changed.

Callers

nothing calls this directly

Calls 3

updateValuesWidgetsMethod · 0.95
setValuesTypeMethod · 0.80
ValuesTypeEnum · 0.50

Tested by

no test coverage detected