qt-interest@trolltech.com
[Top] [All Lists]

Scrolling text window?

Subject: Scrolling text window?
From: Mark Thompson
Date: Tue, 31 Oct 2006 14:57:03 -0800

I need to have a text window where a calculation can send text updates that are shown as the calculation proceeds.
As new text is added, the window scrolls the old text up and off the screen.

Also, I generally want to keep only the last 200-1000 lines of text and anything older than that is removed from the top as new text is added to the end.

I've used a QTextEdit window and it's easy to append new text.

Questions:
I have not figured out how to easily remove text from the "top" or beginning of the text buffer.

Is QTextEdit a bit of overkill? (I don't really need a full-blown editor). Is there some other component that would function better?

Thanks in advance for help and suggestions.
Mark

--



************************************
Mark Thompson
Planaria Software LLC
http://www.arguslab.com
mark@xxxxxxxxxxxx
************************************



--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>