I heard Axel Mittendorf said:

> Hi, what is the most efficient way to display a big text in a pyqt
> app?

Did you try to set the QTextEdit widget in LogText mode?

  t=QTextEdit()
  t.setTextFormat(QTextEdit.LogText)

You may also want to turn undo/redo off:
  t.setUndoRedoEnabled(False)

How much better is the memory consumption with this?

-- S.

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to