fix input validation to work with custom widgets

This commit is contained in:
2025-02-17 10:05:38 +00:00
parent 68ac992483
commit 679a509101
2 changed files with 22 additions and 15 deletions

View File

@ -84,6 +84,9 @@
<property name="prefix">
<string>£</string>
</property>
<property name="maximum">
<double>999.000000000000000</double>
</property>
</widget>
</item>
<item row="2" column="3">
@ -107,6 +110,9 @@
<property name="prefix">
<string>£</string>
</property>
<property name="maximum">
<double>999.000000000000000</double>
</property>
</widget>
</item>
<item row="8" column="0" colspan="2">
@ -137,6 +143,9 @@
<property name="prefix">
<string>£</string>
</property>
<property name="maximum">
<double>999.000000000000000</double>
</property>
</widget>
</item>
<item row="6" column="0" colspan="2">
@ -157,6 +166,9 @@
<property name="correctionMode">
<enum>QAbstractSpinBox::CorrectionMode::CorrectToNearestValue</enum>
</property>
<property name="maximum">
<number>999</number>
</property>
</widget>
</item>
<item row="8" column="3">
@ -210,6 +222,9 @@
<property name="suffix">
<string>%</string>
</property>
<property name="maximum">
<double>99.000000000000000</double>
</property>
</widget>
</item>
<item row="0" column="0" colspan="2">
@ -233,6 +248,9 @@
<property name="prefix">
<string>£</string>
</property>
<property name="maximum">
<double>999.000000000000000</double>
</property>
</widget>
</item>
</layout>