Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
None
-
6.5.1.1
-
None
Description
The variables that correspond to Public Variables of the C++ implementation don't have type annotations generated.
One example would be the `QStyleOption` class:
The C++ doc: https://doc.qt.io/qt-6/qstyleoption.html#public-variables
The PySides6 doc: https://doc.qt.io/qtforpython-6/PySide6/QtWidgets/QStyleOption.html#PySide6.QtWidgets.PySide6.QtWidgets.QStyleOption.version
Stubs: https://github.com/python-qt-tools/PySide6-stubs/blob/main/PySide6-stubs/QtWidgets.pyi#L7038-L7086
But other classes seem to miss these variables as well, e.g., `QStyleHintReturnVariant`, `PixmapFragment`.
Attachments
Issue Links
- duplicates
-
PYSIDE-2263 QColorConstants type hints are incomplete
- Closed