Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
5.0.0
-
None
Description
QIntValidator and QDoubleValidator support locale specific validation but there is no way to change the locale used from QML.
IntValidator and DoubleValidator should have a property for setting this which takes a takes either a locale string or object.
Something like:
IntValidator {
locale: Qt.locale("de_DE")
}
Or possibly just:
IntValidator {
locale: "de_DE"
}
Attachments
For Gerrit Dashboard: QTBUG-23713 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
13625,4 | Add a locale property to IntValidator and DoubleValidator. | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |