QtGui.QFont.Stretch does not inherit from int

Phil Thompson phil at riverbankcomputing.com
Mon Jan 24 18:02:15 GMT 2022


On 24/01/2022 16:13, Matthieu Dartiailh wrote:
> Hi,
> 
> I noticed that in PyQt 6.2.2 the enum QtGui.QFont.Stretch does not
> inherit from int and as a consequence variants cannot be used as
> argument to QFont.setStretch whicj expects an int.
> 
> Is this something that could be fixed ?

...in the next snapshot.

Thanks,
Phil


More information about the PyQt mailing list