[PyKDE] QRect contains(int x, int y, bool proper=FALSE ) broken?

Phil Thompson phil at river-bank.demon.co.uk
Mon Nov 19 08:07:39 GMT 2001


Jason Stock wrote:
> 
> When using the overloaded QRect function "contains(int x, int y, bool
> proper=FALSE )" I get the error: "TypeError: Argument 1 of
> QRect.contains() has an invalid type"  However, the contains function
> with the prototype bool QRect::contains ( const QPoint & p, bool
> proper=FALSE ) const works fine.  Here is a simple test case that
> demonstrates the behavior, and I doing something wrong?

Nope - it's just missing. It will be in the final version of PyQt v3.0.

Thanks,
Phil




More information about the PyQt mailing list