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

Connecting signals with parameters in constructor kw-args not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P5: Not important
    • 6.5.1, 6.6.0
    • 6.5.0
    • PySide
    • None
    • 64bacdf74 (dev), a5ff9fa2c (6.5)

    Description

      In PySide6, connecting signals via ctor keyword arguments doesnt work for all signals.

      Example: QComboBox(activated=some_method)  does not work and returns

      "AttributeError: PySide6.QtWidgets.QComboBox._init_(): 'activated()' is not a Qt property or a signal"
       
       

      Attachments

        1. pyside2329_diag.diff
          0.9 kB
        2. pyside2329.py
          0.8 kB
        For Gerrit Dashboard: PYSIDE-2329
        # Subject Branch Project Status CR V

        Activity

          People

            kleint Friedemann Kleint
            phil__65 Philipp Temminghoff
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes