From 650d22e26ce4543aa62169c99a0753de7f6891ed Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 15 Sep 2021 17:22:38 +0200 Subject: PySide6: Document QUiLoader restriction wrt signal/slot connections Fixes: PYSIDE-1659 Pick-to: 6.1 5.15 Change-Id: I9025e8454d7153faec8b49f0ae02bf175dae3fd8 Reviewed-by: Christian Tismer --- sources/pyside6/doc/tutorials/basictutorial/uifiles.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sources/pyside6/doc/tutorials/basictutorial') diff --git a/sources/pyside6/doc/tutorials/basictutorial/uifiles.rst b/sources/pyside6/doc/tutorials/basictutorial/uifiles.rst index b3429ac1f..84f81df07 100644 --- a/sources/pyside6/doc/tutorials/basictutorial/uifiles.rst +++ b/sources/pyside6/doc/tutorials/basictutorial/uifiles.rst @@ -196,6 +196,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: -- cgit v1.2.3