diff options
author | axis <qt-info@nokia.com> | 2009-04-20 14:06:27 (GMT) |
---|---|---|
committer | axis <qt-info@nokia.com> | 2009-05-04 13:24:40 (GMT) |
commit | ce4faedea2b652c1d7fc5430bbd906972a3c93bf (patch) | |
tree | 9259c7222ef5601f2c6145f13b2df133a7593ebb /doc | |
parent | 82840fcce074658bd39ad6425fd50022b9250dcf (diff) | |
download | Qt-ce4faedea2b652c1d7fc5430bbd906972a3c93bf.zip Qt-ce4faedea2b652c1d7fc5430bbd906972a3c93bf.tar.gz Qt-ce4faedea2b652c1d7fc5430bbd906972a3c93bf.tar.bz2 |
Added inputMethodHints API.
RevBy: denis
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/qnamespace.qdoc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/src/qnamespace.qdoc b/doc/src/qnamespace.qdoc index 674169e..5ffae83 100644 --- a/doc/src/qnamespace.qdoc +++ b/doc/src/qnamespace.qdoc @@ -2392,6 +2392,30 @@ */ /*! + \enum Qt::InputMethodHint + + \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 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 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. + \value ImhDialableCharactersOnly Only characters suitable for phone dialling are allowed. + + \note If several flags ending with \c Only are ORed together, the resulting character set will + consist of the union of the specified sets. For instance specifying \c ImhNumbersOnly and + \c ImhUppercaseOnly would yield a set consisting of numbers and uppercase letters. + + \sa QWidget::inputMethodHints +*/ + +/*! \enum Qt::InputMethodQuery \value ImMicroFocus The rectangle covering the area of the input cursor in widget coordinates. |