<div dir="ltr">Resolved.<br>QtCore.QObject.connect(self.wButton,QtCore.SIGNAL("clicked()"),self.onClick)<br><br><br><div class="gmail_quote">On Wed, Apr 15, 2009 at 12:09 PM, mezgani ali <span dir="ltr"><<a href="mailto:handrix@gmail.com">handrix@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr">Hi,<br><br>I'm working on a python application, and i use Qt user interface.<br>
Well when i try to run my script i got this error:<br><br>Traceback (most recent call last):<br> File "app.py", line 545, in <module><br>
ui.setupUi(window)<br> File "app.py", line 490, in setupUi<br> QtCore.QObject.connect(self.wButton,QtCore.SIGNAL("clicked()"),self.output.onClick)<br>AttributeError: onClick<br clear="all"><br>
And i have the function noClick already defined in my app.py file.<br>Can you help me to identify the problem ?<br>Thanks in advance<br><br>-- <br>Ali MEZGANI<br>Network Engineering/Security <br><a href="http://securfox.wordpress.com/" target="_blank">http://securfox.wordpress.com/</a><br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Ali MEZGANI<br>Network Engineering/Security <br><a href="http://securfox.wordpress.com/">http://securfox.wordpress.com/</a><br>
</div>