[PyQt] Weird pyqtSignal behaviour

Demetrius Cassidy dcassidy36 at gmail.com
Fri Jul 1 17:45:29 BST 2011


On WinXP Pro and Python 2.7.1 this is what I get:

>>> class CX(QtCore.QObject):
... asig = QtCore.pyqtSignal()
... def __init__(self):
... QtCore.QObject.__init__(self)
... print self.asig
...
>>> k = CX()
<bound signal asig of CX object at 0x00B91420>

Using latest stable SIP and PyQt4 with Qt 4.7.2

On Mon, Jun 27, 2011 at 3:29 PM, Giuseppe Corbelli <
giuseppe.corbelli at copanitalia.com> wrote:

> On 27/06/2011 17:23, Giuseppe Corbelli wrote:
> > Hi all
> >
> > I have two boxes:
> > Linux with PyQt-GPL 4.8.3/Qt 4.7.0/Python 2.6.6
> > Windows 7 with PyQt-Commercial 4.8.4/Qt 4.7.3/ActivePython 2.6.6.18
>
> Forgot:
> sip 4.12.1 on Linux machine
> sip 4.12.3 on Linux machine
>
> --
>            Giuseppe Corbelli
> WASP Software Engineer, Copan Italia S.p.A
> Phone: +390303666104  Fax: +390302659932
> E-mail: giuseppe.corbelli at copanitalia.com
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110701/57bd1a2c/attachment.html>


More information about the PyQt mailing list