[PyQt] catch mouse click on invalid index (QtableView)

Sam Sterckval sammy113 at gmail.com
Mon Aug 24 15:35:06 BST 2009


Hi,
I'm trying to make a table view witch expands a cell if its selected.
The expanding works, the contracting works also if you click another cell,
but wont work if you click outside a cell (in a 'invalid index'), because
there is no signal emitted if the index is invalid.

Can anyone give me some help how to solve this?

Thanks in advance!
Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090824/f490fef8/attachment.html


More information about the PyQt mailing list