Results 1 to 4 of 4

Thread: Set Table Cell Color based off Value

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    May 2011
    Posts
    19
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Re: Set Table Cell Color based off Value

    void QTableWidgetItem::setData ( int role, const QVariant & value ) and look at doc for explanation of roles (Qt::ItemDataRole).

  2. The following user says thank you to m.p for this useful post:

    Sarol (12th May 2011)

Similar Threads

  1. Replies: 1
    Last Post: 7th December 2009, 18:56
  2. QTreeView cell as table
    By ^NyAw^ in forum Qt Programming
    Replies: 2
    Last Post: 26th June 2009, 09:45
  3. Replies: 9
    Last Post: 21st June 2007, 10:27
  4. Table cell merge/join
    By larry104 in forum Qt Programming
    Replies: 6
    Last Post: 16th June 2006, 22:35
  5. Highlighting the border of cell in Table
    By ankurjain in forum Qt Programming
    Replies: 8
    Last Post: 21st March 2006, 08:20

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
  •  
Qt is a trademark of The Qt Company.