[Interest] QTextEdit performance

1+1=2 dbzhang800 at gmail.com
Wed Apr 25 22:54:03 CEST 2012


Yes, QPlainTextEdit instead of QTextEdit should be used here. And
setting a proper maximumBlockCount is helpful.

On Wed, Apr 25, 2012 at 10:42 AM, Kimmo Viitanen <kviitanen at gmail.com> wrote:
>> Is there a better text style widget to use for scrolling log type scenarios?
>>
>> Is there a trick I need to use to make this perform better?
>
> Perhaps you could try QPlainTextEdit. You could also try playing with
> the wordWrapMode property.
>
> Regards,
>
> Kimmo
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list