On Sun, 07 Jun 2009 10:46:19 +0400, Alexey Nikitenko <[email protected]> wrote: > Hi! > I found this: > class GItem(QtGui.QGraphicsRectItem): > event = QtCore.pyqtSignal() > gitem = GItem() > gitem.event.emit() > > throws TypeError: pyqtSignal must be bound to a QObject, not 'GItem'. > Fresh PyQt 4.5 SIP 4.8, Python 2.5, mingw. > Thanks.
That's not a bug. You can only define Qt signals for QObject sub-classes. Phil _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
