summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-05-05 13:55:44 (GMT)
committeraxis <qt-info@nokia.com>2009-05-06 09:03:05 (GMT)
commit54a61942de75faf2d7f8d1a58ec15f36505e1d38 (patch)
tree314b3c3cca08ad4227dc33b73906dcf9b1bcaba6 /doc
parent8731f4ca737d032ffdf12fa9f2dfb2fa550931dd (diff)
downloadQt-54a61942de75faf2d7f8d1a58ec15f36505e1d38.zip
Qt-54a61942de75faf2d7f8d1a58ec15f36505e1d38.tar.gz
Qt-54a61942de75faf2d7f8d1a58ec15f36505e1d38.tar.bz2
Split ImhNumbersOnly into DigitsOnly and FormattedNumbersOnly.
This was discussed with denis, and we found out that PIN codes on phones are a use case where it would be an advantage to have digits only. S60 already supports this mode of operation in their VK.
Diffstat (limited to 'doc')
-rw-r--r--doc/src/qnamespace.qdoc7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/src/qnamespace.qdoc b/doc/src/qnamespace.qdoc
index 5ffae83..346c425 100644
--- a/doc/src/qnamespace.qdoc
+++ b/doc/src/qnamespace.qdoc
@@ -2397,12 +2397,15 @@
\value ImhNone No hints.
\value ImhHiddenText Characters should be hidden, as is typically used when entering passwords.
This is automatically set when setting QLineEdit::echoMode to \c Password.
- \value ImhNumbersOnly Only number input is allowed.
+ \value ImhDigitsOnly Only digit input is allowed.
+ \value ImhFormattedNumbersOnly Only number input (including integers and real numbers) is allowed.
\value ImhUppercaseOnly Only upper case letter input is allowed.
\value ImhLowercaseOnly Only lower case letter input is allowed.
\value ImhNoAutoUppercase The input method should not try to automatically switch to upper case
when a sentence ends.
- \value ImhPreferNumbers Numbers are preferred (but not required).
+ \value ImhPreferNumbers Numbers are preferred (but not required). This can include only digits,
+ or all numbers, depending on which one of the \c ImhDigitsOnly and
+ \c ImhFormattedNumbersOnly flags is given.
\value ImhPreferUppercase Upper case letters are preferred (but not required).
\value ImhPreferLowercase Lower case letters are preferred (but not required).
\value ImhNoPredictiveText Do not use predictive text (i.e. dictionary lookup) while typing.