Results 1 to 2 of 2

Thread: show different status on one QTreeWidgetItem

  1. #1
    Join Date
    Mar 2012
    Location
    china
    Posts
    54
    Thanks
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default show different status on one QTreeWidgetItem

    How can I show different status on one QTreeWidgetItem with different icons?
    Like,QTreeWidgetItem represent a user, the user is online and the user use phone and other status,which one icon represent one status ? sorry my poor English..

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: show different status on one QTreeWidgetItem

    Do you want to show mulitple icons?
    or
    Show status by changing the same icon (single icon)?
    When you know how to do it then you may do it wrong.
    When you don't know how to do it then it is not that you may do it wrong but you may not do it right.

Similar Threads

  1. Replies: 11
    Last Post: 3rd March 2012, 22:21
  2. QGraphicsView - show mouse cursor position in status bar
    By mwgobetti in forum Qt Programming
    Replies: 5
    Last Post: 19th November 2011, 18:34
  3. Replies: 5
    Last Post: 23rd September 2010, 13:58
  4. Replies: 3
    Last Post: 8th July 2010, 07:41
  5. Replies: 4
    Last Post: 13th April 2009, 19:37

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.