Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-3050

typing: QProgressDialog.setCancelButton() should accept None

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.9.0, 6.10.0
    • 6.8.2
    • Type hints
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cinucen Ece Cinucen
            bluebird75 Philippe Fremy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes