[Qt-interest] Customize the HTML generated by QTextEdit?
Grant Limberg
glimberg at cedrus.com
Thu Feb 3 18:58:12 CET 2011
Is it possible to customize the HTML generated by QTextEdit?
For example, when calling text_editor->setFontWeight(QFont::Bold), QTextEdit generates the following:
<span style=" font-weight:600;">bold text</span>
whereas I'd like it to generate the following:
<strong>bold text</strong>
Is this possible?
Grant Limberg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cedrus_masthead_logo.jpg
Type: image/jpeg
Size: 14398 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110203/12c6330d/attachment.jpg
-------------- next part --------------
glimberg at cedrus.com
http://www.cedrus.com/
More information about the Qt-interest-old
mailing list