Results 1 to 3 of 3

Thread: Load HTML to QTextEdit

  1. #1
    Join Date
    Jun 2008
    Posts
    10
    Qt products
    Qt4
    Platforms
    Windows

    Default Load HTML to QTextEdit

    Hey All

    in QTextEdit there is a Method called "setHtml" which take HTML as a string input, but what if i want to Load HTML page to view in my control "QTextEdit" ??

    IS there are any mean to do that ??

    Thanks
    Last edited by Gamalof; 5th July 2008 at 15:52.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Load HTML to QTextEdit

    With "load HTML page" you mean something like that you would like to pass a URL? Have you noticed QWebView in Qt 4.4.?
    J-P Nurmi

  3. #3
    Join Date
    Jun 2008
    Posts
    10
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Load HTML to QTextEdit

    Thats it.

    Thanks

Similar Threads

  1. put html text into a qtextedit
    By dreamer in forum Qt Programming
    Replies: 2
    Last Post: 8th May 2008, 19:44
  2. Program not compiling on Fresh install of Leopard
    By dvmorris in forum Qt Programming
    Replies: 1
    Last Post: 22nd November 2007, 10:22
  3. Loading images in html in a QTextBrowser
    By BasicPoke in forum Newbie
    Replies: 1
    Last Post: 6th June 2007, 21:51
  4. QTextEdit produces incorrect html
    By ccf_h in forum Qt Programming
    Replies: 5
    Last Post: 8th February 2006, 15:18
  5. [Qt 4.1]using html in QTextEdit from designer
    By patcito in forum Qt Programming
    Replies: 5
    Last Post: 16th January 2006, 22:36

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.