No widgets for long string visualization?
-
Hello there,
I need to show very long strings in my GUI (thousands of charater). I also need show very long lines (a new line every 10000 - 20000 characters), so I ve setted vertical scroll as always active, and lineWrapMode = NoWrap (this mode seems to make a worse performance). You can see what I mean in the image below.
!http://i43.tinypic.com/2945vmc.png(Image)!
Well, I've tried with QTextEdit and QPlainText. This last one has a better performance, but its not enough for a good scroll moving and navigate between these long strings.
How can I use a widget with a fine performance for this kind of data?
Thanks
-
Ty kenchan for your fast reply.
I need some functions from QTextEdit or QPlainText like select data, get selected data, select a column etc... If I paint the text in a QGraphicsScene, I think I'm losing all this stuff, isn't?
-
Thanks again Ken,
I've tried with some other font with the same result.
I dont know what you mean with a plain widget. Maybe did you mean use labels?