On Monday 13 July 2009 16:41:21 TheLonelyStar wrote:
> I have a QGraphicsScene to which I add QGraphicsItems using
                                                        ^^^^^
>
> newItem=QtGui.QGraphicsEllipseItem(event.scenePos().x()-10,event.scenePos()
>.y()-10,20,20)

Are you sure you added the item ? You *created* it but from the code you can't 
see that it has been actually *added* to the scene, and until you do that, 
the null parent/scene means a pos of (0,0) if I understand correctly.

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to