I've got an application that uses a QTextEdit that gets text inserted in it, often only 4-20 characters at a time quite frequently. Normally, I'm setting a different color, inserting about 20 characters, changing colors, inserting more text, etc. Problem is that the text inserts pretty slowly. I'd say it takes about 100 lines of differently colored text about 1sec to be drawn in. Thats running on my laptop ~PentiumM 1.7Ghz. It just seems really, really slow. As far as I can tell, it seems to be a problem with the QTextEdit just being slow. I read somewhere that theres some horrible performance issues with the scrollbars. I'm trying to append text to the QTextEdit and keep the QTextEdit scrolled down to the bottom of the text, So I'm often calling
Qt Code:
  1. QTextEdit->verticalScrollbar->setValue( mp_scrollBar->maximum() );
To copy to clipboard, switch view to plain text mode 
I'm inserting all plaintext, no HTML by the QTextEdit's insertPlainText method... Am I doing this the wrong way? Should I be inserting text into the QTextDocument that the QTextEdit uses instead? Or is the QTextEdit just slow for inserting new text?

Thanks,
Paul