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

Method numericFormatChanged

src/frontend/dockwidgets/ColumnDock.cpp:432–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430}
431
432void ColumnDock::numericFormatChanged(int index) {
433 CONDITIONAL_LOCK_RETURN;
434
435 char format = ui.cbNumericFormat->itemData(index).toChar().toLatin1();
436 for (auto* col : std::as_const(m_columnsList)) {
437 auto* filter = static_cast<Double2StringFilter*>(col->outputFilter());
438 filter->setNumericFormat(format);
439 }
440}
441
442void ColumnDock::precisionChanged(int digits) {
443 CONDITIONAL_LOCK_RETURN;

Callers

nothing calls this directly

Calls 2

outputFilterMethod · 0.45
setNumericFormatMethod · 0.45

Tested by

no test coverage detected