Made QQuickTextInput follow input direction changes
authorPekka Vuorela <pekka.ta.vuorela@nokia.com>
Mon, 9 Jan 2012 11:41:36 +0000 (13:41 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 17 Jan 2012 12:15:30 +0000 (13:15 +0100)
commit6a5b9cb96434b5e36646fdbe66b23d0c6a1bdcd1
treee9f7543f6423862f9a688f5d82a0c6b03711ed2f
parentdc7aecd0886db44f7729f16b42ea4a6be622f3ba
Made QQuickTextInput follow input direction changes

Cursor of empty field should align based on input method
direction. Now input method allowed to change direction
on run time.

Also earlier cursor wasn't properly drawn on correct alignment
at all.

Change-Id: I4601f10e6b5dde09591bd484b05f001add6c1573
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
Reviewed-by: Joona Petrell <joona.t.petrell@nokia.com>
src/quick/items/qquicktextinput.cpp
src/quick/items/qquicktextinput_p.h
src/quick/items/qquicktextinput_p_p.h
tests/auto/qtquick2/qquicktextinput/tst_qquicktextinput.cpp
tests/auto/shared/platforminputcontext.h