[PyQt] Table view row selection

despen at verizon.net despen at verizon.net
Fri Nov 26 22:11:03 GMT 2010


I previously asked this question, but got no answers.
This time I have a sample program.

I'm trying to create a table view with both drag and drop and
being able to select a row by clicking on the row.
(In the real program, the rows have hidden data I want to access.)

I think I'm using the wrong mechanism because the attached is
clumsy.  It actually works but I think setting a timer and trying
to figure out whether it's a click on my own can't be right.

Anyway, here's the sample:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dd_qat.py
Type: application/octet-stream
Size: 6350 bytes
Desc: sample
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20101126/772c5a06/attachment.obj>


More information about the PyQt mailing list