[PyQt] star delegate example for current PyQt snapshot
hpj at urpla.net
Wed Oct 20 17:41:31 BST 2010
Hi Phil et al.,
now, that you added __lshift__ for QPolygonF()'s, here's the star
delegate example in return, using this feature of course.
I did change the behavior a minor bit, but it feels silly to be forced
to select _and_ double click an item in order to trigger editing.
Double clicking should suffice, no matter if a row is selected or not,
Also these stars gets activated, if the pointer crosses its center
horizontally. Hence, a zero star voting is possible, too.
I hope, you like it,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3015 bytes
Desc: not available
More information about the PyQt