Results 1 to 2 of 2

Thread: QTreeWidgetItem signal or event

  1. #1
    Join Date
    Feb 2007
    Posts
    48
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QTreeWidgetItem signal or event

    What event or signal is generated when a QTreWidgetItem that has its checkbox 'checked" or "unchecked"??

    I would like to be able to catch the event and do some additional processing at the time of the "checking"?

    Thanks

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTreeWidgetItem signal or event

    CConnect a slot to QTreeWidget::itemClicked and inside the slot test the check state of the clicked tree widget item via QTreeWidgetItem::checkState

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

    db (22nd October 2007)

Similar Threads

  1. Custom QTreeWidgetItem context menu?
    By AaronMK in forum Qt Programming
    Replies: 4
    Last Post: 1st February 2010, 04:42
  2. From extends QTreeWidgetItem emit signal?
    By patrik08 in forum Qt Programming
    Replies: 4
    Last Post: 19th May 2006, 14:54
  3. Replies: 2
    Last Post: 17th May 2006, 21:01
  4. Workload in a QThread blocks main application's event loop ?
    By 0xBulbizarre in forum Qt Programming
    Replies: 14
    Last Post: 9th April 2006, 21:55
  5. QTreeWidget SIGNAL
    By raphaelf in forum Newbie
    Replies: 6
    Last Post: 5th March 2006, 17:35

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.