[PyQt] Connect a signal to a signal

Jugdish jugdizh at gmail.com
Wed Jun 9 11:43:29 BST 2010


Hi, what is the proper way to connect a signal to another signal using the
new-style signal/slot syntax? I've been doing it like this:

myObj1.mySignal.connect(lambda arg1, arg2: myObj2.mySignal.emit(arg1,arg2))

but is there a way to do it without using a lambda function?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100609/6781a818/attachment.html>


More information about the PyQt mailing list