Delay masking the last character in Password echo mode.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Tue, 19 Jul 2011 05:15:58 +0000 (15:15 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 6 Sep 2011 00:58:47 +0000 (02:58 +0200)
commit249754bf7fe4a195c723eea73f2dd55a2bd905cb
treec51ba606064b5fbb258f31c3de8019ec246a5c25
parentc0fe60cad2c48f18e618c3ca4589abe73752389e
Delay masking the last character in Password echo mode.

If QT_GUI_PASSWORD_ECHO_DELAY is defined in qplatformdefs.h with an
integer value in milliseconds, QLineEdit and TextInput will display
the last character entered unmasked for that delay period and then
mask the character as normal.  If QT_GUI_PASSWORD_ECHO_DELAY is
not defined then the behaviour is unchanged.

Task-number: QTBUG-17003
Reviewed-by: Martin Jones

(cherry picked from commit f9e7aee2019d321edd655bfde7de43f20a106971)

Change-Id: Iddfa0daa1b39f0589cab27e5003fdd86ad81ff89
Reviewed-on: http://codereview.qt.nokia.com/4170
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
src/declarative/items/qsgtextinput.cpp
src/qtquick1/graphicsitems/qdeclarativetextinput.cpp
tests/auto/declarative/qsgtextinput/tst_qsgtextinput.cpp
tests/auto/qtquick1/qdeclarativetextinput/tst_qdeclarativetextinput.cpp