[PyQt] Newbie - QGraphicsItem & QGraphicsScene problems

Hans Meine meine at informatik.uni-hamburg.de
Tue May 13 20:28:40 BST 2008


On Dienstag 13 Mai 2008, Aysun Bascetincelik wrote:
> Sorry, I was not sure about attaching files. Here are the files.

Your mistake is simply that you have made "pointToDraw" a class variable, not 
an object/instance one (use self.pointToDraw, not MyPoint.pointToDraw).  This 
is not [Py]Qt related.

Ciao, /  /                                                    .o.
     /--/                                                     ..o
    /  / ANS                                                  ooo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080513/68d9532b/attachment-0001.bin


More information about the PyQt mailing list