Results 1 to 3 of 3

Thread: How to know editing of QTableWidgetItem is finished

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2008
    Location
    Munich
    Posts
    73
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    3

    Default How to know editing of QTableWidgetItem is finished

    My tableWidget is updated by certain actions. One of them is to edit the "Name" column by mouse double click.

    I want update the new name in somewhere else when the edit is finished. But it seems that, signal cellDoubleClicked(int, int) can only catch the old name. How can I get the new name the moment when the editing is finished? Thanks in advance.

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

    Default Re: How to know editing of QTableWidgetItem is finished


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

    stella1016 (27th March 2012)

  4. #3
    Join Date
    Jul 2008
    Location
    Munich
    Posts
    73
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    3

    Default Re: How to know editing of QTableWidgetItem is finished

    Thanks a lot. This is exactly what I am looking for!
    Quote Originally Posted by Lykurg View Post

Similar Threads

  1. Editing a QTableWidgetItem and memory leaks
    By AndresBarbaRoja in forum Newbie
    Replies: 1
    Last Post: 28th June 2011, 18:09
  2. application finished, now what?
    By jbca in forum Newbie
    Replies: 2
    Last Post: 11th August 2010, 06:09
  3. QTableWidgetItem editing problem
    By fmariusd in forum Qt Programming
    Replies: 8
    Last Post: 4th September 2009, 08:10
  4. Problems editing QTableWidgetItem
    By SCV in forum Qt Programming
    Replies: 0
    Last Post: 27th June 2009, 21:06
  5. QTableWidgetItem Text Editing
    By ToddAtWSU in forum Qt Programming
    Replies: 2
    Last Post: 17th March 2009, 02:23

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.