[PyQt] Connecting one signal to another

Florian Bruhin me at the-compiler.org
Mon Jul 22 22:14:19 BST 2019


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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20190722/e2f29b12/attachment.sig>


More information about the PyQt mailing list