summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2011-02-01 01:23:53 (GMT)
committerAndrew den Exter <andrew.den-exter@nokia.com>2011-02-01 01:44:50 (GMT)
commitfc7f72b663ec934d2d7e41645cb3ca94b96ae6d6 (patch)
tree4d202ab15147614691adc378241f770a41f46dd9 /src/declarative
parentba63becc13221ca6538fb40c790275465dd47703 (diff)
downloadQt-fc7f72b663ec934d2d7e41645cb3ca94b96ae6d6.zip
Qt-fc7f72b663ec934d2d7e41645cb3ca94b96ae6d6.tar.gz
Qt-fc7f72b663ec934d2d7e41645cb3ca94b96ae6d6.tar.bz2
Clarify that IntValidator performs locale specific validation.
Task-number: QTBUG-16873 Reviewed-by: Martin Jones
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/graphicsitems/qdeclarativetextinput.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextinput.cpp b/src/declarative/graphicsitems/qdeclarativetextinput.cpp
index 9e62291..012d408 100644
--- a/src/declarative/graphicsitems/qdeclarativetextinput.cpp
+++ b/src/declarative/graphicsitems/qdeclarativetextinput.cpp
@@ -613,6 +613,11 @@ void QDeclarativeTextInput::setAutoScroll(bool b)
\ingroup qml-basic-visual-elements
This element provides a validator for integer values.
+
+ IntValidator uses the \l {QLocale::setDefault()}{default locale} to interpret the number and
+ will accept locale specific digits, group separators, and positive and negative signs. In
+ addition, IntValidator is always guaranteed to accept a number formatted according to the "C"
+ locale.
*/
/*!
\qmlproperty int IntValidator::top