[PyQt] Connecting one signal to another

Patrick Stinson patrickkidd at gmail.com
Tue Jul 23 00:59:40 BST 2019


That does indeed work. I tested and convinced myself this didn’t work a couple of years ago. I was wrong.

> On Jul 22, 2019, at 1:14 PM, Florian Bruhin <me at the-compiler.org> wrote:
> 
> On Mon, Jul 22, 2019 at 12:45:33PM -0800, Patrick Stinson wrote:
>> What is the proper way to connect one signal to simply emit another?
>> Connecting to the second signal’s `emit` method causes issues when
>> disconnecting the signal again.
> 
> obj.signal1.connect(obj.signal2)
> 
> Florian
> 
> -- 
> https://www.qutebrowser.org | me at the-compiler.org (Mail/XMPP)
>   GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
>         I love long mails! | https://email.is-not-s.ms/



More information about the PyQt mailing list