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

typing: QProgressDialog.setCancelButton() should accept None

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.9.0, 6.10.0
    • 6.8.2
    • Type hints
    • None
    • 0d33ac559 (dev), 46f3b70b4 (6.9), 456ad2a79 (6.8)

      (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

        1. qprogressdialog.py
          0.1 kB
          Philippe Fremy
        For Gerrit Dashboard: PYSIDE-3050
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes