| 1261 | } |
| 1262 | |
| 1263 | void AxisDock::minorTicksAutoNumberChanged(int state) { |
| 1264 | bool automatic = (state == Qt::CheckState::Checked ? true : false); |
| 1265 | ui.sbMinorTicksNumber->setEnabled(!automatic); |
| 1266 | |
| 1267 | CONDITIONAL_LOCK_RETURN; |
| 1268 | |
| 1269 | for (auto* axis : m_axesList) |
| 1270 | axis->setMinorTicksAutoNumber(automatic); |
| 1271 | |
| 1272 | if (automatic) |
| 1273 | ui.sbMinorTicksNumber->setValue(m_axis->minorTicksNumber()); // set new value |
| 1274 | } |
| 1275 | |
| 1276 | void AxisDock::minorTicksNumberChanged(int value) { |
| 1277 | CONDITIONAL_LOCK_RETURN; |
nothing calls this directly
no test coverage detected