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

typing: QHBoxLayout does not accept None as parent

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P4: Low
    • None
    • None
    • Type hints
    • None

    Description

      Reported from PySide6-stubs

       

      Example of failing code :

      https://github.com/python-qt-tools/PySide6-stubs/blob/main/tests/qlayout.py

       

      It looks like most of Qt have been fixed now to accept a parent as None. But this one not yet.

      Attachments

        Issue Links

          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:

                Gerrit Reviews

                  There are no open Gerrit changes