[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Connecting one signal to another
From:       Patrick Stinson <patrickkidd () gmail ! com>
Date:       2019-07-22 23:59:40
Message-ID: 016B8FDA-CAEA-4B31-94FD-EC24B0568413 () gmail ! com
[Download RAW message or body]

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@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@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/

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic