PDA

View Full Version : [Qt4] Can QTextEdit be overflowed?



naresh
7th March 2006, 12:01
Hello! I have question like in subject. I'm asking becouse my app sends sometimes a lot of text (can't exactly tell how many but its reaaly a lot... scroll bar makes realy tiny) and app is hanging then :|

zlatko
7th March 2006, 13:12
maiby you have continuously cycle there :rolleyes:

naresh
7th March 2006, 13:46
Nope... Text is send from other thread (by custom event, sending less text works well) so i can see when text appears... and in one moment it stops appear ing so the app is "hanged". I dont think its becouse my custom event is screwed (it's custom event with just one QString and method returning it). App works well, other "text postings" works fine, no hanging even when trying again and again... only if I post there tone of text... It hangs

zlatko
7th March 2006, 14:32
try output your text in console...and look on app behavior

jpn
7th March 2006, 14:37
There has been discussion about QTextEdit's performance earlier:
http://www.qtcentre.org/forum/showthread.php?t=1035

naresh
14th March 2006, 13:28
I've made a test... I printed all output to console and app didn't hang like before... it seems that QTextEdit is overflowed and it just hang app