signal and slot
What does @Slot() do? — Is the Slot decorator even necessary?
And when I connect QSocket's error signal to some of my custom slots, the signal is emitted when server sends last line and closes the connection, and in client's slot/function that reads I never read that last line.
Emit a PyQt signal from any Python thread. · GitHub
The Signal class provides a way to declare and connect Qt signals in a pythonic way. ... receiver – Python callable, @Slot or Signal.
How to connect a QML signal with a C++ slot? - qt
Connecting a QML signal to a regular C++ slot is easy: // QML Rectangle { signal foo(); } // C++ old-style QObject::connect(some_qml_container, SIGNAL(foo()), some_qobject, SLOT(fooSlot()); // works!