Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.8.2
-
None
-
0d33ac559 (dev), 46f3b70b4 (6.9), 456ad2a79 (6.8)
Description
(reported from PySide6-stubs)
According to documentation ( https://doc.qt.io/qt-6/qprogressdialog.html#setCancelButton ), passing None to setCancelButton() is the only way to hide the cancel button.
The signature should be updated to accept None
Attachments
For Gerrit Dashboard: PYSIDE-3050 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
634803,2 | type hints: Add optional to QProgressDialog.setCancelButton | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
635056,2 | type hints: Add optional to QProgressDialog.setCancelButton | 6.9 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
635228,2 | type hints: Add optional to QProgressDialog.setCancelButton | 6.8 | pyside/pyside-setup | Status: MERGED | +2 | 0 |