[Qt-interest] Is this QTextEdit bug or what ?

Zeljko zeljko at holobit.net
Tue Jun 8 14:32:20 CEST 2010


Hi all,
I don't want to use QPlainTextEdit since it does not have alignment
property, so I'm using QTextEdit as simple text editor.

QTextEdit::acceptRichText property is setted up as "False".
I've setted up some text via setPlainText("blabla") and then 
append("some more text which <b> have some </b> html tags inside");
Problem is that I don't want to format that html text, I want to see it as
it is (plain text).Currently (qt-4.6.2, linux) "have some" is rendered as
bold text.
Anyone ?

zeljko




More information about the Qt-interest-old mailing list