Qt QTextEdit Qt4.2 Valid HTML String
Posted
by
Matthew Hoggan
on Stack Overflow
See other posts from Stack Overflow
or by Matthew Hoggan
Published on 2012-11-05T22:21:56Z
Indexed on
2012/11/05
23:00 UTC
Read the original article
Hit count: 298
I am trying to generate the correct HTML to render to a QTextEdit Using Qt 4.2 on RHEL 5.3. So far my algorithm generates the following html. I am not an expert web developer, but to me this string seems valid.
319:14:27:22: <font color="rgb(255,0,0)" bgcolor="rgb(255,0,0)">Message</font><br>
What needs to change to get the colours to render. Currently it just renders as black text on a white background.
© Stack Overflow or respective owner