Relative Content

Tag Archive for pythonpyqt5signals-slots

PyQt5 Good practices to where define the connection of custom Signals and Slots

tldr When I emit a signal in script A and catch it script B to execute a slot there. Where should the mysignalA.connect(myslotB) go? In script A as: self.mysignalA.connect(B.myslotB) or in script B as: A.mysignalA.connnect(self.myslotB) Context My Code is working properly and realiably, but: I have a big project with multiple Qthreads split up over […]