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

Type hinting of Property and Signal does not match

XMLWordPrintable

    • Windows
    • f1fecbc6b (dev), 9a04ef292 (6.5), c848161b3 (dev), 4fc6c45c6 (6.9), ac33a0ff1 (tqtc/lts-6.8)

      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:

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

              Created:
              Updated:
              Resolved: