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 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 thi
> 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
_
ht be better.
Then the issue is you might want the list view to wrap, rather than show
horizontal scrollbars. Or maybe not.
From: Jason Dictos
To: "interest@qt-project.org"
Sent: Wednesday, April 25, 2012 12:00 PM
Subject: [Interest] QTextEdit per
I'm trying to create a view into a rapidly changing log file. I am appending
lines to QTextEdit, and want the scrolling on the screen to be responsive. So
far I've been unable to achieve any reasonable level of performance with this
simple task.
Is there a better text style widget to use for sc