Results 1 to 2 of 2

Thread: Any widget to show notifications for all cells in a column in QTableWidget?

  1. #1
    Join Date
    Sep 2011
    Location
    Bangalore
    Posts
    254
    Thanks
    92
    Thanked 16 Times in 16 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Any widget to show notifications for all cells in a column in QTableWidget?

    I want to add different kinds of notifications for each cell in a column of a QTableWidget. Are there any options available like in the pic attached herewith ?
    QTableWidget.png

  2. #2
    Join Date
    Mar 2010
    Location
    Heredia, Costa Rica
    Posts
    257
    Thanks
    24
    Thanked 17 Times in 14 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Any widget to show notifications for all cells in a column in QTableWidget?

    Hi,

    There are many ways to do that. QTableWidgetItem has icon and you can draw the icon using svg or having pngs for each state. Also if you use model-view you can have a custom delegate that draw the state based on the state.

    Carlos.

Similar Threads

  1. Replies: 0
    Last Post: 10th June 2011, 10:58
  2. Replies: 3
    Last Post: 9th May 2011, 18:23
  3. Merging cells in QTableWidget
    By lyucs in forum Newbie
    Replies: 1
    Last Post: 22nd January 2010, 20:15
  4. Focus of cells in a QTableWidget
    By SailinShoes in forum Qt Programming
    Replies: 4
    Last Post: 9th June 2008, 09:19

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.