diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2010-08-09 13:56:34 (GMT) |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2010-08-10 07:32:14 (GMT) |
commit | a1641e27d2e2f5e29362e3737be6b9d75714d138 (patch) | |
tree | 102bca29bcfc048dead2a77d57ab4bb008662dd2 /mkspecs | |
parent | 031b62a32b9f20401cadd5a424a5f4746b018b56 (diff) | |
download | Qt-a1641e27d2e2f5e29362e3737be6b9d75714d138.zip Qt-a1641e27d2e2f5e29362e3737be6b9d75714d138.tar.gz Qt-a1641e27d2e2f5e29362e3737be6b9d75714d138.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
Diffstat (limited to 'mkspecs')
0 files changed, 0 insertions, 0 deletions