Results 1 to 2 of 2

Thread: Loading content into QTextBrowser on demand

  1. #1
    Join Date
    Apr 2009
    Posts
    10
    Thanks
    3
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Unhappy Loading content into QTextBrowser on demand

    I have a QTextBrowser loading a fairly large file about 2 mb's and it uses too much memory and loading time is not acceptable.... No problem I figured...I'd find a way to append content into it as the user scrolls down and remove the old content...Sounds good in theory, but I'v failed to do it properly.......
    It seems like everything I'v tried has an issue like content not lineing up etc... I thought I had it once then I zoomed the text and it was all wrong again Also I can't find a way to remove the old content... I'm sure it's out there since QT seems to have the ability to do anything. I just haven't come up with it yet...Perhaps making a type of list view model that renders html is the only option...I could append items to that with paragraphs of html in them or something and remove the list item at the top and add new ones to the bottom but I'm sure that would be just as diffacult....

    Thank You!
    Jon

  2. #2
    Join Date
    Apr 2009
    Posts
    10
    Thanks
    3
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Loading content into QTextBrowser on demand

    Any Ideas?

Similar Threads

  1. Loading images in html in a QTextBrowser
    By BasicPoke in forum Newbie
    Replies: 1
    Last Post: 6th June 2007, 21:51
  2. Loading images in QTextBrowser
    By nisha0609 in forum Qt Programming
    Replies: 1
    Last Post: 3rd January 2007, 09:44

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.