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

Method numericFormatChanged

src/frontend/dockwidgets/MatrixDock.cpp:154–160  ·  view source on GitHub ↗

format

Source from the content-addressed store, hash-verified

152
153// format
154void MatrixDock::numericFormatChanged(int index) {
155 CONDITIONAL_LOCK_RETURN;
156
157 char format = ui.cbFormat->itemData(index).toChar().toLatin1();
158 for (auto* matrix : m_matrixList)
159 matrix->setNumericFormat(format);
160}
161
162void MatrixDock::precisionChanged(int precision) {
163 CONDITIONAL_LOCK_RETURN;

Callers

nothing calls this directly

Calls 1

setNumericFormatMethod · 0.45

Tested by

no test coverage detected