PDA

View Full Version : QTextDocument Html



bunjee
17th November 2007, 02:47
Hey there trolltechers,

I'm using a QTextDocument to display an Html based string.

I'd like to remove some characters of that "html string".
Can I do that without parsing the html ?

Thanks.

wysota
17th November 2007, 12:50
Yes, you can for example use QTextDocument::find to find what you seek for and then remove it using the obtained cursor.