From a31fd4fb96574df44947adb7aa2ff1cd9941f605 Mon Sep 17 00:00:00 2001 From: Paul Olav Tvete Date: Wed, 11 Mar 2015 14:30:32 +0100 Subject: [PATCH] Clarify InputMethodHint documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The description of ImhHiddenText made it sound like it would change the echoMode of the input field. Task-number: QTBUG-38080 Change-Id: I379015b95e43b6eff181d51444c7e069728504ad Reviewed-by: Eskil Abrahamsen Blomfeldt Reviewed-by: Topi Reiniƶ Reviewed-by: Christian Stromme --- src/corelib/global/qnamespace.qdoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index 24de2541b8..514d630fbd 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -2411,8 +2411,9 @@ Flags that alter the behavior: - \value ImhHiddenText Characters should be hidden, as is typically used when entering passwords. + \value ImhHiddenText The input method should not show the characters while typing. This is automatically set when setting QLineEdit::echoMode to \c Password. + Note that setting \c ImhHiddenText does not change the echo mode. \value ImhSensitiveData Typed text should not be stored by the active input method in any persistent storage like predictive user dictionary. \value ImhNoAutoUppercase The input method should not try to automatically switch to upper case