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

QUiLoader does not connect signals/slots connections with Python types

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • None
    • 5.15.2
    • PySide
    • None
    • Qt Designer 5.15.2
      Pyside2 5.15.2
    • Windows
    • 650d22e26ce4543aa62169c99a0753de7f6891ed (pyside/pyside-setup/dev) eddd5be86ee4dfaf53d95091fe2ca7ff9dcccd4e (pyside/pyside-setup/6.1) e837e10ba5bd9ca617ef7cf9ce9d7263f9c275b1 (pyside/tqtc-pyside-setup/5.15)

    Description

      When creating a UI file with Qt Designer, it is convenient to promote native widgets in order to use custom widgets, to add their signals and slots and to use the signals & slots editor in Qt Designer to connect the various signals and slots of native and / or custom widgets.

      Unfortunately, importing a UI file directly fails to properly connect the signals and slots as declared in Qt Designer. Converting the UI file into a Python class works properly (see the two ways of using a Qt Designer-made UI file in the documentation). It seems that the QUiLoader used in direct import may be failing.

      I have created a minimalistic example on GitHub which files I will attach here as well.

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            limeylime Clément Jacquard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes