[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] QPointArray error message
From:       Jesper Eskilson <jojo () virtutech ! se>
Date:       2000-09-21 20:27:31
[Download RAW message or body]

Phil Thompson <phil@river-bank.demon.co.uk> writes:

> The QPointArray ctor takes a list of points expressed as integers - not
> a list of QPoints. The code is trying to convert a QPoint to a single
> integer which it (correctly) can't do because QPoint does not have an
> __int__ method.

The documentation could be a *little* clearer on this point.

Also, I would love to get a little more information when receiving a
type-error from PyQt. Currently I have to guess which parameter caused a
type error and what was actually expected.

-- 
/Jesper




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic