pyside signal slot: PyQt6 Signals, Slots and Events. Don't delete QtCore.{pyqtSignal,pyqtSlot,pyqtProperty} · Issue ... . Why Does Qt Use Moc for Signals and Slots? | Qt 6.9 - doc.qt.io.
PyQt6 Signals, Slots and Events
Events and signals in PyQt6 demonstrates the usage of events and signals. The examples connect a signal to a slot, reimplement an event handler, and emit a custom signal.
Equivalently, you could import PySide's Signal: ... PySide (and eventually PySide2) will use Signal and Slot (which feels much better).
Why Does Qt Use Moc for Signals and Slots? | Qt 6.9 - doc.qt.io
Qt::DirectConnection : A direct connection is established between the signal and slot, and the slot is invoked immediately when the signal is emitted, even if the sender and receiver are in different threads.