[PyQt] Simple example of subclassing

Wolfgang Rohdewald wolfgang at rohdewald.de
Mon Nov 25 11:59:57 GMT 2013


Am Montag, 25. November 2013, 11:21:24 schrieb Brendan Donegan:
>     def __init__(self, text, parent=None):
>         QGraphicsTextItem.__init__(text, parent)

try

QGraphicsTextItem.__init__(self, text, parent)

-- 
Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20131125/f2ce5974/attachment.html>


More information about the PyQt mailing list