QQuickTextControl - mouse events to override input context
authorPekka Vuorela <pekka.ta.vuorela@nokia.com>
Fri, 9 Dec 2011 13:28:13 +0000 (15:28 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 14 Dec 2011 14:03:02 +0000 (15:03 +0100)
commitdddc1cb4522e0950228c51839799d4f8556ba73e
tree944adebff8683c1b364243a74d409762243aa437
parent9dfebdb6c51aa217ae83bb2bae09bd6411a2079f
QQuickTextControl - mouse events to override input context

 - Selection can start on top of preedit
 - Mouse press outside preedit commits
 - Double click to commit on top of preedit
 - Focus out to commit preedit

Similar to qtbase 4b3d88a9c67402b6a234d597bab25846f039bbdb and
b5c37d9e137dee2754335e83b8437dfd0e6cc7e7 for QTextEdit

Change-Id: Ib9c37528ba7fd588ee993b7ff33f79f96857e421
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
Reviewed-by: Joona Petrell <joona.t.petrell@nokia.com>
src/quick/items/qquicktextcontrol.cpp
src/quick/items/qquicktextcontrol_p_p.h