[Qt-interest] QtextEdit fills up !?!?
Scott Aron Bloom
Scott.Bloom at onshorecs.com
Tue Jan 4 02:38:19 CET 2011
document()->setMaximumBlockCount( int maximum ) should do the trick
-----Original Message-----
From: qt-interest-bounces+scott.bloom=onshorecs.com at qt.nokia.com
[mailto:qt-interest-bounces+scott.bloom=onshorecs.com at qt.nokia.com] On
Behalf Of emmanuel_mayssat at lynceantech.com
Sent: Monday, January 03, 2011 5:10 PM
To: Qt Mailing List
Subject: [Qt-interest] QtextEdit fills up !?!?
Hello,
I use a QTextEdit for output redirection of one of my shell program.
That program can run for days and in verbose/debugging mode.
When I run the program for 2 days, the entire Qt application is geyed
and not responding.
I suspect it comes from the QTextEdit which fills up until ...
is there a way to limit a TExtEdit to 5000 char for example, like we
would specify ifor a
terminal?
Thanks,
--
Emmanuel Mayssat
_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list