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

QState.assignProperty - incorrect type annotation

    XMLWordPrintable

Details

    • Windows
    • 55dd4740f (dev), 1a97f4d37 (6.5), 7645cbc0f (tqtc/lts-6.2)

    Description

      This signature is incorrect: `PySide6.QtStateMachine.QState.assignProperty(PySide6.QtCore.QObject, bytes, Any)`

       

      The second argument must be a `str`, otherwise a ValueError is raised.

      class QState:
      
       void assignProperty(QObject *object, const char *name, const QVariant &value)
      
       QSignalTransition *addTransition(const QObject *sender, const char *signal, QAbstractState *target)
      

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            ad_ ad_
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes