Results 1 to 6 of 6

Thread: QTableWidget cell clicked

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Feb 2007
    Location
    Karlsruhe, Germany
    Posts
    469
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    17
    Thanked 90 Times in 88 Posts

    Default Re: QTableWidget cell clicked

    Qt Code:
    1. connect(table, SIGNAL(cellClicked(int,int)), this, SLOT(previousWeek(int,int)));
    2.  
    3. void YourClass::previousWeek(int row,int col)
    4. {
    5. ...
    6. }
    To copy to clipboard, switch view to plain text mode 

    Joh

  2. The following user says thank you to JohannesMunk for this useful post:

    Archa4 (6th April 2011)

Similar Threads

  1. qtablewidget cell's x() , y()
    By BalaQT in forum Qt Programming
    Replies: 1
    Last Post: 7th December 2010, 13:23
  2. Replies: 1
    Last Post: 19th May 2010, 16:10
  3. Replies: 1
    Last Post: 7th December 2009, 19:56
  4. Replies: 1
    Last Post: 21st April 2008, 23:43
  5. How can I get the value of the clicked cell in a QListView
    By murari2002 in forum Qt Programming
    Replies: 2
    Last Post: 27th September 2007, 18: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.