qt - How to detect doubleClick in QTableView -
i'm using pyqt create gui application. in view inherited qtableview, need detect row user has selected when double click row. table has sorting, no editing.
how do it?
note - tried doubleclicked(int) signal. emitted mouse buttons, not data cells, never fired. :(
ian
i dont understand. doubleclicked signal of qtableview has signature
void doubleclicked ( const qmodelindex & index )
if connect signal should obtain correct qmodelindex.
Comments
Post a Comment