Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.8.2
-
None
Description
(reported from PySide6-stubs)
QSize and QSizeF support a wide range of scalar operators. Not all of them are type described correctly.
The missing one are :
qs1 = QtCore.QSize(1,2)qs3 = QtCore.QSize(5, 6)
qs3 = 3 * qs1
qs3 = 3.0 * qs1
qs3 = qs1 / 2.0
qs3 /= 3.0
and the same for QSizeF
For a full test file, check https://github.com/python-qt-tools/PySide6-stubs/blob/main/tests/qsize.py