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

Method labelsFormatAutoChanged

src/frontend/dockwidgets/AxisDock.cpp:1324–1333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1322}
1323
1324void AxisDock::labelsFormatAutoChanged(bool automatic) {
1325 // Must be above the lock, because if the axis changes the value without interacting with the
1326 // dock, this should also change
1327 ui.cbLabelsFormat->setEnabled(!automatic);
1328
1329 CONDITIONAL_LOCK_RETURN;
1330
1331 for (auto* axis : m_axesList)
1332 axis->setLabelsFormatAuto(automatic);
1333}
1334
1335void AxisDock::labelsPrecisionChanged(int value) {
1336 CONDITIONAL_LOCK_RETURN;

Callers

nothing calls this directly

Calls 2

setLabelsFormatAutoMethod · 0.80
setEnabledMethod · 0.45

Tested by

no test coverage detected