QtGui.QFont.Stretch does not inherit from int

Matthieu Dartiailh m.dartiailh at gmail.com
Mon Jan 24 16:13:43 GMT 2022


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 ?

Best

Matthieu


More information about the PyQt mailing list