[PyQt] connect and "TypeError: argument 1 of QObject.connect() has an invalid type"

Stefan Larsson lastsys at gmail.com
Tue Oct 20 09:06:13 BST 2009


You could also inherit QObject using multiple inheritance to add the
capabilities of QObject as well...

class MyItem(QGraphicsView, QObject):
...

/Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20091020/feff9ca3/attachment.html


More information about the PyQt mailing list