Delay masking the last character in Password echo mode.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Fri, 16 Dec 2011 03:57:54 +0000 (13:57 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 20 Dec 2011 06:33:37 +0000 (07:33 +0100)
commit657f6d7111a4ee6f3e8ef0919956990fc8abbf3d
treec0707088f5bdae59523a35226eb1a8d499d1a1e8
parent59e607a2ce1e1fbb5324040c26554ecc22d8b1fd
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
Task-number: QTBUG-20719
(cherry picked from commit f9e7aee2019d321edd655bfde7de43f20a106971)

Change-Id: I9a8647a0adeb94fc6beea949cdce7336671c898e
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/quick/items/qquicktextinput.cpp
src/quick/items/qquicktextinput_p_p.h
tests/auto/qtquick2/qquicktextinput/tst_qquicktextinput.cpp