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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -