aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-09-15 17:22:38 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-09-15 18:26:16 +0000
commiteddd5be86ee4dfaf53d95091fe2ca7ff9dcccd4e (patch)
treec3ff029a6eb6c209019da2e1e89317c0556d8350
parent7506d013bd3122a8c69d6be6e435b4d341fa26f8 (diff)
PySide6: Document QUiLoader restriction wrt signal/slot connections
Fixes: PYSIDE-1659 Change-Id: I9025e8454d7153faec8b49f0ae02bf175dae3fd8 Reviewed-by: Christian Tismer <tismer@stackless.com> (cherry picked from commit 650d22e26ce4543aa62169c99a0753de7f6891ed) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--sources/pyside6/doc/tutorials/basictutorial/uifiles.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/sources/pyside6/doc/tutorials/basictutorial/uifiles.rst b/sources/pyside6/doc/tutorials/basictutorial/uifiles.rst
index c1234f23e..30a61b1a7 100644
--- a/sources/pyside6/doc/tutorials/basictutorial/uifiles.rst
+++ b/sources/pyside6/doc/tutorials/basictutorial/uifiles.rst
@@ -191,6 +191,13 @@ command prompt:
python main.py
+.. note::
+
+ `QUiLoader` uses connect() calls taking the function signatures as string
+ arguments for signal/slot connections.
+ It is thus unable to handle Python types like `str` or `list` from
+ custom widgets written in Python since these types are internally mapped
+ to different C++ types.
.. _designer_custom_widgets: