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

Type hinting of Property and Signal does not match

    XMLWordPrintable

Details

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

    Description

      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:

      Attachments

        Issue Links

          For Gerrit Dashboard: PYSIDE-2308
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes