Results 1 to 2 of 2

Thread: HTML-String in QTableWidget

  1. #1
    Join Date
    Jun 2006
    Location
    Stuttgart
    Posts
    4
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default HTML-String in QTableWidget

    Hey guys,

    has anyone an idea how to create a html-string in QTableWidget?
    I want to display a string in QTableWidget with different fonts (bold, italic, underline) and different colours.
    I have a QTextBrowser-delegate for input a html string, but how to change the paint-function?
    Has someone done something already?

    Thanks in advance.
    wojtek

  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: HTML-String in QTableWidget

    J-P Nurmi

  3. The following user says thank you to jpn for this useful post:

    wojtek (21st February 2008)

Similar Threads

  1. Insert the string into QTableWidget
    By suresh in forum Newbie
    Replies: 4
    Last Post: 5th August 2012, 15:06
  2. Select columns from a QTableWidget
    By toglez in forum Qt Programming
    Replies: 10
    Last Post: 7th October 2007, 16:15
  3. Loading images in html in a QTextBrowser
    By BasicPoke in forum Newbie
    Replies: 1
    Last Post: 6th June 2007, 22:51
  4. Reading from sockets in a multithreaded program
    By KoosKoets in forum Qt Programming
    Replies: 9
    Last Post: 4th April 2007, 21:43
  5. saving a c string of variable length in a shared memory?
    By nass in forum General Programming
    Replies: 4
    Last Post: 3rd January 2007, 15:40

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.