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

Method valuesNumericFormatChanged

src/frontend/dockwidgets/XYCurveDock.cpp:781–787  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

779}
780
781void XYCurveDock::valuesNumericFormatChanged(int index) {
782 CONDITIONAL_LOCK_RETURN;
783
784 char format = ui.cbValuesNumericFormat->itemData(index).toChar().toLatin1();
785 for (auto* curve : m_curvesList)
786 curve->setValuesNumericFormat(format);
787}
788
789void XYCurveDock::valuesDateTimeFormatChanged(const QString& format) {
790 CONDITIONAL_LOCK_RETURN;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected