Say hello to ImhNoEditMenu & ImhNoTextHandles

The actual implementation for Android will come later.

Change-Id: Ia68fcb03ea5d769d302ec6f77e5666292b567ffa
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
This commit is contained in:
BogDan Vatra 2017-12-11 13:09:43 +02:00
parent 6f03740a19
commit 38c6d10bc8
2 changed files with 6 additions and 0 deletions

View File

@ -1406,6 +1406,9 @@ public:
ImhMultiLine = 0x400,
ImhNoEditMenu = 0x800,
ImhNoTextHandles = 0x1000,
ImhDigitsOnly = 0x10000,
ImhFormattedNumbersOnly = 0x20000,
ImhUppercaseOnly = 0x40000,

View File

@ -2595,6 +2595,9 @@
\value ImhMultiLine Multiple lines can be entered into the text field.
\value ImhNoEditMenu Do not use built-in edit menu. This flag was introduced in Qt 5.11.
\value ImhNoTextHandles Do not use built-in text cursor and selection handles. This flag was introduced in Qt 5.11.
Flags that restrict input (exclusive flags):
\value ImhDigitsOnly Only digits are allowed.