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

Type hinting of Property and Signal does not match

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • Some future version
    • 6.5.0, 6.4.3
    • Type hints
    • None
    • Windows
    • f1fecbc6b (dev), 9a04ef292 (6.5)

      The example on https://doc.qt.io/qtforpython-6/PySide6/QtCore/Property.html with QML Properties does not work as expected when enabling type checking in Python. The Signal class or the notify parameter seem to have the wrong signature. See attached screenshot:

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

            ctismer Christian Tismer
            sven.wanzenried Sven Wanzenried
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes