[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: PyQt6: QPropertyAnimation.setEasingCurve raises a SystemError
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2021-04-22 8:26:50
Message-ID: 678a7a98b0e83fc4e2d3ad719388430f () riverbankcomputing ! com
[Download RAW message or body]
On 22/04/2021 08:39, Ales Erjavec wrote:
> Hi,
>
> Calling QPropertyAnimation.setEasingCurve with a QEasingCurve.Type
> raises a SystemError:
>
> ```
> from PyQt6.QtCore import QPropertyAnimation, QEasingCurve
>
> anim = QPropertyAnimation()
> anim.setEasingCurve(QEasingCurve.Type.OutQuad)
> ```
>
> According to
> https://www.riverbankcomputing.com/static/Docs/PyQt6/api/qtcore/qvariantanimation.html#setEasingCurve
> this should work although Qt6 does not have this overload (was this
> generated based on implicit QEasingCurve constructor?)
>
> Windows 10
> Python 3.8.8
> PyQt6 6.1.0.dev2104191430
Should be fixed in the next snapshot.
Thanks,
Phil
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic