diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2021-09-14 11:45:24 +0200 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2021-09-17 09:55:11 +0200 |
commit | fb3549fc47b19de2956cd2dda07ef67ec529cf3e (patch) | |
tree | 02beef1e21a4436f55b23f9f388e38f8f1d373a7 /src/gui/math3d | |
parent | d47278fd09f73ddc34011ab980dafc23aa453e71 (diff) |
Introduce QDoubleValidator::fixup()
The provided implementation tries to fix positions for the group
separator.
In case of scientific notation it can also converts the value to
normalized form.
It uses QLocale::FloatingPointShortest internally to convert the
double value back to string, so the number of decimals may change
after calling this method.
Change-Id: I963bc5f97b653e2bb912f4b95b09a4d1ee201e7f
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/gui/math3d')
0 files changed, 0 insertions, 0 deletions