Makes PasswordMaskDelay configurable through TextInput
authorRisto Avila <risto.avila@digia.com>
Tue, 11 Mar 2014 10:04:52 +0000 (12:04 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 12 Mar 2014 10:15:27 +0000 (11:15 +0100)
commit405f1becac28ee324364df4e3df0446d951425e8
tree1105dfb614a3ffcdadbb01d433f1a76e05f6bc8c
parent1511dc39a62e9d14b6755d6c2335547c85331d49
Makes PasswordMaskDelay configurable through TextInput

Adds a new property to TextInput which can be used to override QPlatformTheme::PasswordMaskDelay.
The new property is TextInput.passwordMaskDelay and takes in delay (ms) which time character
is shown before masking it. This is only when echoMode is set to TextInput.Password

[ChangeLog][QtQuick][TextInput] Added passwordMaskDelay property

Change-Id: I52812b883db11fdd21b25154887c51df8a44f69c
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
src/quick/items/qquickitemsmodule.cpp
src/quick/items/qquicktextinput.cpp
src/quick/items/qquicktextinput_p.h
src/quick/items/qquicktextinput_p_p.h