[PyQt] LightMaps example

Hans-Peter Jansen hpj at urpla.net
Tue Oct 5 17:07:25 BST 2010


On Tuesday 05 October 2010, 17:34:36 Phil Thompson wrote:
> On Tue, 5 Oct 2010 10:42:43 +0200, "Hans-Peter Jansen" <hpj at urpla.net>
> >
> > here's another nice example for the collection.
> >
> > LightMaps 
>
> Thanks - it will be in tonight's snapshot.
>
> > Phil: it might be a good idea to consider adding __hash__ to assorted
> > Qt
> >
> > classes in order to improve their pythonic appearance, e,g, QPoint,
>
> QRect,
>
> > QColor. What do you think?
>
> __hash__ is implemented for all classes that implement qHash(). I assume
> that that covers the sensible ones.

Unfortunately qHash(QPoint) is missing. :-(

What a pity. Would you take one?

Pete


More information about the PyQt mailing list