Results 1 to 3 of 3

Thread: Which signal to use when table item is checked

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2008
    Posts
    13
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Which signal to use when table item is checked

    Hi, I am using QTableWidget and I am creating table items like this:
    Qt Code:
    1. QTableWidgetItem *cgname = new QTableWidgetItem(desc);
    To copy to clipboard, switch view to plain text mode 
    then i set it checked:
    Qt Code:
    1. cgname->setCheckState(Qt::Checked);
    To copy to clipboard, switch view to plain text mode 
    and intset to table
    Qt Code:
    1. cgTableWidget->setItem(row, 0, cgname);
    To copy to clipboard, switch view to plain text mode 
    I want to modify some data when checkbox becomes checked/unchecked, so i probably need to use some signal for this, but which one? I have looked at QTableWidgetItem documentation and have not found it Hope you can help me.
    Last edited by zolookas; 6th September 2008 at 11:44. Reason: spelling error

Similar Threads

  1. Item Delegate Painting
    By stevey in forum Qt Programming
    Replies: 3
    Last Post: 9th May 2008, 07:37
  2. Checked item in QTreeWidget?
    By vishal.chauhan in forum Qt Programming
    Replies: 18
    Last Post: 3rd January 2008, 20:18

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.