Results 1 to 2 of 2

Thread: QTableWidget signal

  1. #1
    Join Date
    Jan 2011
    Posts
    23
    Qt products
    Platforms
    Windows

    Question QTableWidget signal

    hi guys,
    i am new for pyqt
    i want to trigger a function when value inside QTableWidget cell is changed, which signal shall i use?
    i tried currentItemChanged, but it triggers when i am double clicking the cell to change the signal and not after chaging value and hitting ENTER key

    thnx in advance
    ad3d

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: QTableWidget signal

    Current item means the current "selected" item. It has nothing to do with the data inside the item. For what you trying use QTableWidget::itemChanged().

Similar Threads

  1. QTableWidget signal when item dropped
    By Jeffb in forum Qt Programming
    Replies: 5
    Last Post: 17th February 2012, 09:36
  2. Signal from a ComboBox cell in a QTableWidget
    By thebra in forum Qt Programming
    Replies: 5
    Last Post: 21st October 2008, 08:48
  3. Can't See QToolButton pressed Signal from QTableWidget
    By mbrusati in forum Qt Programming
    Replies: 0
    Last Post: 23rd September 2008, 20:06
  4. QTableWidget signal cellActivated?
    By abrou in forum Newbie
    Replies: 2
    Last Post: 14th February 2008, 21:12
  5. QTableWidget signal/slot question
    By twells55555 in forum Qt Programming
    Replies: 8
    Last Post: 6th August 2007, 21:58

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.