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

typing: QInputDialog.getText() should accept None as parent widget

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • 6.9.1, 6.10.0
    • 6.8.2
    • Type hints
    • None
    • All
    • bb292c4f9 (dev), 9771b7ea1 (6.9)

    Description

      (reported from PySide6)

      Static method QInputDialog.getText() does not accept None as parent widget argument.

      See example attached which should type-check correctly but does not.

      The problem also exists for the other static QInputDialog.get* methods.

       

      Attachments

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

        Activity

          People

            ctismer Christian Tismer
            bluebird75 Philippe Fremy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes