Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
4.7.4
-
None
-
Windows 7
Description
Test
====
- Create a lineEdit object with assigned QIntValidatir like this:
ui->lineEdit->setValidator(new QIntValidator(0, 999999, this));
- Insert different numbers with leading zeros. Most are accepted as they are, with some the QIntValidator deletes the leading zeros
00123 => 00123
00128 => 128
001587 => 1.587
Conclusion
==========
All numbers that have leasing zeros and contain either the digit 8 or the digit 9 get reformatted by the QIntValidator
Suggestion
==========
Please make the QIntValidator to always delete the leading zeros without inserting a decimal.