Results 1 to 2 of 2

Thread: How to handle Large Immutable Document in QTextEdit

  1. #1
    Join Date
    Mar 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default How to handle Large Immutable Document in QTextEdit

    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

  2. #2
    Join Date
    Aug 2006
    Posts
    221
    Thanks
    3
    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, 23:58
  2. Help document
    By weixj2003ld in forum Qt Programming
    Replies: 5
    Last Post: 17th May 2009, 13:04
  3. Sending large datagrams(very large)
    By marcel in forum General Programming
    Replies: 1
    Last Post: 16th February 2008, 22:55
  4. Replies: 6
    Last Post: 18th January 2008, 00:46
  5. QTextEdit setCurrentFont() for entire document
    By sunil.thaha in forum Qt Programming
    Replies: 3
    Last Post: 9th August 2006, 08:53

Tags for this Thread

Bookmarks

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.