qt5base-lts/tests/auto/gui/util/qdoublevalidator
Andy Shaw 0b70f5ada9 QDoubleValidator: Allow intermediate values as close as possible to one considered invalid
The documentation states that if you have a range of
0.00-2.00 with the number of decimals set to 2 then
any number up to 9.99 would be considered intermediate.
This is because the number of digits still matches both before
and after the decimal point. If it is 10.0 or 9.999 then
it is still considered invalid.

In the case of 9.999 being invalid in this case, the documentation
is corrected as this was incorrectly indicated as Intermediate,
as the code indicates it as Invalid.

Change-Id: I07b433e856f355916a1240deafdf4ef58e680639
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2018-04-17 15:36:34 +00:00
..
.gitignore Move QValidator tests to QtGui 2012-10-10 23:27:03 +02:00
qdoublevalidator.pro Tests: Remove CONFIG += parallel_test. 2015-09-05 07:16:50 +00:00
tst_qdoublevalidator.cpp QDoubleValidator: Allow intermediate values as close as possible to one considered invalid 2018-04-17 15:36:34 +00:00