PDA

View Full Version : How to handle Large Immutable Document in QTextEdit



rcjohns
5th April 2010, 18:12
Hi-

I am guessing this belongs her, but if it is more of a newbie question, please move it...

I am writing a wrapper for a command line tool that produces an output file that is typically in the thousands of pages-

As it captures what was previously done; The users should not be able to edit ithe output file, but I was wanting to add hyperlinked navigation within the document, hence I believe that a QLabel inside a QScrollArea wouldn't work- Whats the best way to make a QTextEdit/QTextDocument un-editable / immutable?

Is there a better approach??


TIA

-Russ Johns

Kumosan
5th April 2010, 20:35
Have you tried to set your QTextEdit read only?