Support preedit text in QSGTextInput
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Thu, 15 Sep 2011 09:49:12 +0000 (11:49 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 15 Sep 2011 11:37:51 +0000 (13:37 +0200)
commit77bb02ff9095db0e7b2012e7bcc8411528d8319d
treeb9c07d9357e69c8742f40ab22c5d352924fe0db2
parentdff8ec47d958be4d0861344c546b84218f41bc1e
Support preedit text in QSGTextInput

We need to support merged additional formats with backgrounds
in the QSGTextInput as well, so that code has been separated
into its own function. We also need to account for the position
in the bounding rect, so that the decorations are painted at
the correct location when there text input is scrolled.

Task-number: QTBUG-21261
Change-Id: I0799a62bf26e6a7a2c1a6eef9bbdf889c1c8e870
Reviewed-on: http://codereview.qt-project.org/4964
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
src/declarative/items/qsgtextnode.cpp
src/declarative/items/qsgtextnode_p.h