[PyQt] Re: QtCore.QObject.connect, AttributeError
mezgani ali
handrix at gmail.com
Wed Apr 15 16:12:00 BST 2009
Resolved.
QtCore.QObject.connect(self.wButton,QtCore.SIGNAL("clicked()"),self.onClick)
On Wed, Apr 15, 2009 at 12:09 PM, mezgani ali <handrix at gmail.com> wrote:
> 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/
>
--
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/39d93580/attachment.html
More information about the PyQt
mailing list