Results 1 to 2 of 2

Thread: Catch a row selection event in QTableView

  1. #1
    Join Date
    Dec 2008
    Location
    Paris, France
    Posts
    34
    Thanks
    3
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Catch a row selection event in QTableView

    Hello Gurus,

    Does anyone know how to catch a row selection event in a QTableView ?

    The idea is that the clicked() and pressed() signals are emitted for a cell selection, but no such signal seems to exist for a a row selection, i.e. when the user clicks on the row number on the left side of the table.

    Any clues ?

    Thanks

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

    Cupidvogel (12th June 2015)

  3. #2
    Join Date
    Dec 2006
    Posts
    849
    Thanks
    6
    Thanked 163 Times in 151 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

  4. The following user says thank you to caduel for this useful post:

    Cupidvogel (12th June 2015)

Similar Threads

  1. QTableView doubleclicked event not working
    By sgmurphy19 in forum Qt Programming
    Replies: 6
    Last Post: 15th March 2009, 10:00
  2. Replies: 4
    Last Post: 19th February 2009, 11:10
  3. QSqlTableModel and QTableView selection problems
    By innerhippy in forum Qt Programming
    Replies: 5
    Last Post: 19th December 2008, 05:48
  4. QTableView Row Selection
    By ToddAtWSU in forum Qt Programming
    Replies: 8
    Last Post: 12th December 2007, 21:27
  5. CheckBox and selection in QTableView
    By Mike Krus in forum Qt Programming
    Replies: 1
    Last Post: 21st September 2006, 20:31

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.