diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2010-08-09 13:56:34 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2010-09-02 06:01:53 (GMT) |
commit | 1864ecabcaa21261629d56518a4b88b2d3e0d7ba (patch) | |
tree | 74042c4ecf1f039b54ef48b952ef7193bbef33d2 /doc/src/snippets/code/src_xmlpatterns_api_qxmlname.cpp | |
parent | 3015f695f4d2a2a776cf4bc85121ebc051706351 (diff) | |
download | Qt-1864ecabcaa21261629d56518a4b88b2d3e0d7ba.zip Qt-1864ecabcaa21261629d56518a4b88b2d3e0d7ba.tar.gz Qt-1864ecabcaa21261629d56518a4b88b2d3e0d7ba.tar.bz2 |
Add text decoration support to QStaticText
The original code path of QStaticText does not include decoration
drawing, this patch generalized the drawTextItemDecoration()
function to draw decoration for drawText(), then use that to draw
decoration for QStaticText. A helper function called
drawDecorationForGlyphs() is made to allow easier extension for
direct glyphs drawing support.
Task-number: QTBUG-12121
Reviewed-by: Eskil
(cherry picked from commit a1641e27d2e2f5e29362e3737be6b9d75714d138)
Diffstat (limited to 'doc/src/snippets/code/src_xmlpatterns_api_qxmlname.cpp')
0 files changed, 0 insertions, 0 deletions