I develop an application on PyQt, I like the signal-slot model, but is there any way to
determine the emitter of signal? I hope that there is a way, because it will let to write more generic code without defining lots of slots for each similar signal.
I develop an application on PyQt, I like the signal-slot model, but is there
Share
I think that I opened a question too early, because I found an answer on google by myself.
When slot is activated by emitter, the pointer of emitter stored, and can be retrieved by
and as a result can be accessed in PyQt by: