Delay masking the last character in Password echo mode.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Mon, 25 Jul 2011 03:25:15 +0000 (13:25 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 25 Jul 2011 03:31:46 +0000 (05:31 +0200)
commita150880ae6ea698a2e979c93498db4f3bb66c1b0
tree15d11535db1e3c3b2640b6b9f29bca1fddcb4d68
parentbe76c09981eab137abda0e855aa0aa4e5d11a2e7
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)

Conflicts:

src/declarative/graphicsitems/qdeclarativetextinput.cpp
tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp

Change-Id: I3683223189b7176e4ef5081ee315c95a0efb9cfe
Reviewed-on: http://codereview.qt.nokia.com/2060
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
src/gui/widgets/qlinecontrol.cpp
src/gui/widgets/qlinecontrol_p.h
tests/auto/qlineedit/tst_qlineedit.cpp