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

List:       pykde
Subject:    Re: [PyQt] PyQt5 QPainterPath missing method overload.
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2013-11-20 19:27:49
Message-ID: 0e9a0a7eb1623b90b2d74ef5acd3f1cb () localhost
[Download RAW message or body]

On Wed, 20 Nov 2013 14:19:51 -0500, Chris Colbert <sccolbert@gmail.com>
wrote:
> QPainterPath::toFillPolygon has a 1 argument overload which provides a
> default QMatrix argument. This is not present in PyQt5.
> 
> This line works in v4 but not in v5
> 
> path.toFillPolygon()
> 
> qpainterpath.sip is missing the default argument for this method.

...because QMatrix is obsolete in Qt5. Use QTransform instead.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

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