Results 1 to 2 of 2

Thread: How to handle Large Immutable Document in QTextEdit

  1. #1
    Join Date
    Mar 2010
    Qt products

    Default How to handle Large Immutable Document in QTextEdit


    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??


    -Russ Johns

  2. #2
    Join Date
    Aug 2006
    Thanked 29 Times in 19 Posts

    Default Re: How to handle Large Immutable Document in QTextEdit

    Have you tried to set your QTextEdit read only?

Similar Threads

  1. QTextEdit Performance handling large paragraphs
    By netuno in forum Qt Programming
    Replies: 14
    Last Post: 1st September 2010, 22:58
  2. Help document
    By weixj2003ld in forum Qt Programming
    Replies: 5
    Last Post: 17th May 2009, 12:04
  3. Sending large datagrams(very large)
    By marcel in forum General Programming
    Replies: 1
    Last Post: 16th February 2008, 21:55
  4. Replies: 6
    Last Post: 17th January 2008, 23:46
  5. QTextEdit setCurrentFont() for entire document
    By sunil.thaha in forum Qt Programming
    Replies: 3
    Last Post: 9th August 2006, 07:53

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.