chore(cpn): implement ui bindings to auto widgets and apply to timers (#7331)

This commit is contained in:
Neil Horne
2026-06-16 17:14:57 +10:00
committed by GitHub
parent 4ebf3486f1
commit 892410b797
41 changed files with 791 additions and 178 deletions
@@ -114,9 +114,9 @@ void AutoPrecisionComboBox::setValue(int value)
const unsigned int val = (unsigned int)value;
if (*m_field != val) {
*m_field = rangecheckDecimals(val);
updateValue();
emit currentDataChanged(value);
dataChanged();
runPostChanged();
updateValue();
}
}
@@ -127,9 +127,9 @@ void AutoPrecisionComboBox::setValue(unsigned int value)
if (*m_field != value) {
*m_field = rangecheckDecimals(value);
updateValue();
emit currentDataChanged((int)value);
dataChanged();
runPostChanged();
updateValue();
}
}
@@ -203,7 +203,7 @@ void AutoPrecisionComboBox::onCurrentIndexChanged(int index)
if (*m_field != itemData(index).toUInt()) {
*m_field = itemData(index).toUInt();
emit currentDataChanged(index);
dataChanged();
runPostChanged();
}
}