Re: [PySide] What if a slot is not decorated with @Slot()?

2022-11-16 Thread Zhao Lee
I initially expect that the aim of the decorator @Slot() is to make things easier like this https://uwsgi-docs.readthedocs.io/en/latest/PythonDecorators.html#notes and without the decorator , you'd expect write a little more code like

Re: [PySide] What if a slot is not decorated with @Slot()?

2022-11-16 Thread Cristián Maureira-Fredes via PySide
Hello, The answer can be found in https://code.qt.io/cgit/pyside/pyside-setup.git/tree/sources/pyside6/libpyside/dynamicqmetaobject.cpp#n557 The main idea is to register Slots (and signals) at parsing time, before the connection is done. An old issue can be find here: