Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
6.2.1
-
None
-
-
943aa9ef6fef7533a3566f230aaf878efe46725e (pyside/pyside-setup/dev) 1c1134fe90e9f185ab4b052a829dd8bf5ff0e0e8 (pyside/pyside-setup/6.2)
Description
The C++ API provides {c}begin() and {c}end() to iterate over all the QRects in a QRegion.
The PySide API provides no way of doing this as far as I can see. In PySide begin() always returns the first QRect. PySide1 had a rects() method which provided all the QRects.
I am porting a PySide/Qt4 application to PySide6/Qt6 and this is a show-stopper for me.
Attachments
For Gerrit Dashboard: PYSIDE-1714 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
382032,3 | PySide6: Add a sequence protocol for QRegion | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
382270,2 | PySide6: Add a sequence protocol for QRegion | 6.2 | pyside/pyside-setup | Status: MERGED | +2 | 0 |