Support rich text elements in QSGTextNode
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Mon, 19 Sep 2011 14:46:38 +0000 (16:46 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 30 Sep 2011 08:37:05 +0000 (10:37 +0200)
commit9619737a4c951d7f2abc80b59e287896b735e01d
tree2968202682f39e7fa4bbb47fdf2418681e065019
parentec1e7f3b37e9a432568c873e554a3351e4b80179
Support rich text elements in QSGTextNode

In order to have the same text rendering mechanism regardless
of the contents of the document, we need to implement rich
text layout elements in the scene graph.

Currently we support the following:
- Text objects, floating and inline (including images)
- Tables
- Lists
- Only solid borders
- Frame background colors
- All the HTML text/text layout/font manipulation

Not supported yet:
- Other border types
- Border radius
- <hr />

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