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

typing: QHBoxLayout does not accept None as parent

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes