Aspects


vs


Qplaintextedit

QPlainTextEdit is class in QtGui module which provides a widget that is used to edit and display plain text.

Qtextedit

QTextEdit is a class from the Qt Toolkit which provides a widget that is used to edit and display both plain and rich text

Text widget features

Example

"If you want to display your file as plain text the widget qplaintextedit is better then qtextedit"

from question  

How to use Qt read file and display quickly?

"It uses most of the features of qtextedit but with a vastly better performance;using qplaintextedit is better than using qlabel for displaying large text documents as the former has many more capabilities and features for customization and formatting"

from question  

QLabel vs QTextEdit, to show long text. Which is faster?

Others

Example

You should give qplaintextedit a try;it uses the same technology as qtextedit but is a lot faster

from question  

How to fast append to QTextEdit

I have tried connecting the qscrollbars but the maximum of the qplaintextedit is smaller than the qtextedit s

from question  

Pyside scroll two qtextedits simultaneously

As implied in the comments modifying the qtextedit to a qplaintextedit fixed the issue;qtextedit is not designed for handling very large paragraphs which is effectively what i was creating

from question  

Python hanging in a loop

Back to Home
Data comes from Stack Exchange with CC-BY-SA-4.0