Details
-
Bug
-
Resolution: Done
-
P4: Low
-
None
-
5.15.2
-
None
-
Qt Designer 5.15.2
Pyside2 5.15.2
-
-
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
For Gerrit Dashboard: PYSIDE-1659 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
371169,2 | PySide6: Document QUiLoader restriction wrt signal/slot connections | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
371196,2 | PySide6: Document QUiLoader restriction wrt signal/slot connections | 6.1 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
371197,3 | PySide6: Document QUiLoader restriction wrt signal/slot connections | tqtc/lts-5.15 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |