[PyQt] LightMaps example

Phil Thompson phil at riverbankcomputing.com
Tue Oct 5 17:20:30 BST 2010


On Tue, 5 Oct 2010 18:07:25 +0200, "Hans-Peter Jansen" <hpj at urpla.net>
wrote:
> 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?

No. Raise it as a bug against Qt.

Phil


More information about the PyQt mailing list