[PyQt] Question about the new Signals / Slots mechanism.

Rodrigo rodrigohaas at gmail.com
Mon Jan 31 19:21:39 GMT 2011


Use double quotes:

self.connect(c_Button, QtCore.SIGNAL(*"*clicked()*"*), self.doStuff)


Sometimes  gives  error  when  using  single quotes...


A hug,


Rodrigo


Em 31-01-2011 15:52, Phil Thompson escreveu:
> self.connect(c_Button, QtCore.SIGNAL('clicked()'), self.doStuff)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110131/b0afed3f/attachment.html>


More information about the PyQt mailing list