[Qt-interest] QPlainTextEdit is dramatically slow...
Iurii Gordiienko
hordi at ukr.net
Fri Jan 23 08:20:09 CET 2009
Hi Now, that not help, because the main problem is a slow draw (loading of text by setPlainText is processing very quickly)...
--- Original Message ---
From: Zeljko <zeljko at holobit.net>
To: qt-interest at trolltech.com
Date: 22 january, 21:46:40
Subject: Re: [Qt-interest] QPlainTextEdit is dramatically slow...
Iurii Gordiienko wrote:
> Hi I use QPlainTextEdit for showing file's contents and for some files
> it has very low speed... Attached file consists a small example with
> loadind file ~250Kb. Under Windows Code2DUO, 2GB of memory I have ~100%
> loading of CPU whith scrolling and loading... Qt-win-commercial-4.4.3
> Thanks
Maybe this can help:
setUpdatesEnabled(false);
LoadMyQPlainEditText();
setUpdatesEnabled(true);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090123/5c7d40cb/attachment.html
More information about the Qt-interest-old
mailing list