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

Method numericFormatChanged

src/frontend/widgets/ValueWidget.cpp:261–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261void ValueWidget::numericFormatChanged(int index) {
262 CONDITIONAL_LOCK_RETURN;
263
264 char format = ui.cbNumericFormat->itemData(index).toChar().toLatin1();
265 for (auto* value : m_values)
266 value->setNumericFormat(format);
267}
268
269void ValueWidget::precisionChanged(int precision) {
270 CONDITIONAL_LOCK_RETURN;

Callers

nothing calls this directly

Calls 1

setNumericFormatMethod · 0.45

Tested by

no test coverage detected