[PyQt] Weird pyqtSignal behaviour

Giuseppe Corbelli giuseppe.corbelli at copanitalia.com
Mon Jul 4 08:16:33 BST 2011


On 01/07/2011 18:45, Demetrius Cassidy wrote:
> 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

Meaning 4.8.4 and 4.12.3?

-- 
            Giuseppe Corbelli
WASP Software Engineer, Copan Italia S.p.A
Phone: +390303666104  Fax: +390302659932
E-mail: giuseppe.corbelli at copanitalia.com


More information about the PyQt mailing list