PDA

View Full Version : extract data from sqlTablemodel



peace_comp
13th May 2008, 18:24
hi..
I wanna to implements a Slot that recieve a double click on a row (in a sqlTableModel).. but I dnt know if there is already some methode in sqlTableModel that return the data row I had cliked on or I had select ?
if some one could help?
thanks

jpn
13th May 2008, 20:25
Please start with taking a look at QAbstractItemView and QItemSelectionModel docs. These two classes provide signals when double clicking or when the selection changes.