Add linkColor property to Text.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Thu, 9 Feb 2012 06:14:40 +0000 (16:14 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 9 Feb 2012 08:10:31 +0000 (09:10 +0100)
commit8550ed69156f0472450fd11aabcaa5d4dcc676db
tree91b1d6848e1ce5199db4040decb4a3cd79352788
parenta4b4932efb631a3c467c9bb4b3e4f99ca70a066d
Add linkColor property to Text.

Allows the color of links in text to be changed from the default blue.

This currently only works with StyledText and the distance field
rendererer.  It could be made to work with RichText overwriting the
specified foreground color in all instances or by not setting a default
color in the html parser.  The former would prevent the color being
set with CSS or some future means for altering text formats.  The latter
would break rendering with QPainter.

Task-number: QTBUG-23048
Change-Id: I98df215cabe8a089f648fd4a6206622b4318fb8f
Reviewed-by: Martin Jones <martin.jones@nokia.com>
examples/declarative/twitter/TwitterCore/FatDelegate.qml
src/quick/items/qquicktext.cpp
src/quick/items/qquicktext_p.h
src/quick/items/qquicktext_p_p.h
src/quick/items/qquicktextinput.cpp
src/quick/items/qquicktextnode.cpp
src/quick/items/qquicktextnode_p.h
src/quick/util/qdeclarativestyledtext.cpp
tests/auto/qtquick2/qquicktext/tst_qquicktext.cpp