PythonfromPython GUIs2 days agoWhat does @pyqtSlot() do?Use @pyqtSlot to create native Qt slots for threaded contexts and to reduce memory usage and slightly improve performance; otherwise plain Python callables work.
PythonfromPython GUIs8 months agoWhat does @Slot() do?The @Slot decorator in PySide6 marks Python methods as slots for Qt signals, offering performance benefits.Omitting @Slot means any callable can still be a slot but lacks certain optimizations.