[PyQt] QtCore.QObject.connect, AttributeError

mezgani ali handrix at gmail.com
Wed Apr 15 13:09:01 BST 2009


Hi,

I'm working on a python application, and i use Qt user interface.
Well when i try to run my script i got this error:

Traceback (most recent call last):
  File "app.py", line 545, in <module>
    ui.setupUi(window)
  File "app.py", line 490, in setupUi

QtCore.QObject.connect(self.wButton,QtCore.SIGNAL("clicked()"),self.output.onClick)
AttributeError: onClick

And i have the function noClick already defined in my app.py file.
Can you help me to identify the problem ?
Thanks in advance

-- 
Ali MEZGANI
Network Engineering/Security
http://securfox.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090415/afcde81f/attachment.html


More information about the PyQt mailing list