summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-05-04 11:25:50 (GMT)
committeraxis <qt-info@nokia.com>2009-05-04 13:24:59 (GMT)
commit41f5a37bed62619a67259f2dfe37e3c57e2bf9f7 (patch)
tree73cf9b6a6ef250e9d78ee40681d5a9a1ed3f1b56
parent8e5b6aca31d8558ded261920ec50fc32367e4bb0 (diff)
downloadQt-41f5a37bed62619a67259f2dfe37e3c57e2bf9f7.zip
Qt-41f5a37bed62619a67259f2dfe37e3c57e2bf9f7.tar.gz
Qt-41f5a37bed62619a67259f2dfe37e3c57e2bf9f7.tar.bz2
Updated to slightly better docs.
RevBy: denis
-rw-r--r--src/gui/kernel/qwidget.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp
index ea59589..cfe02d6 100644
--- a/src/gui/kernel/qwidget.cpp
+++ b/src/gui/kernel/qwidget.cpp
@@ -8482,7 +8482,10 @@ QVariant QWidget::inputMethodQuery(Qt::InputMethodQuery query) const
set, the input method may change its visual components to reflect
that only numbers can be entered.
- The effect may vary between input method implementations.
+ \note The flags are only hints, so the particular input method
+ implementation is free to ignore them. If you want to be
+ sure that for instance only uppercase letters are entered,
+ you should also set a QValidator on the widget.
\since 4.6