summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qwidget.cpp')
-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