title: Background rectangle over preformatted text on a QTextEdit?
body: <p>I want to show some preformated text (<code>&lt;pre&gt;&lt;/pre&gt;</code>) tags. and that text to be shown in side a colored rectangle. Can I do that using html in a QTextEdit? If so how? Because the html answers I found use CSS but Qt does not seem to recognize the style atrribute? (According to the documentation at least, it shouldn't).</p>