Hi all,
i have added a QGraphicsPixmapItem to Qgraphicsscene.
Now i need to know the X,Y position of the Pixmap Item located in the graphics scene. how do i get it..
i will use it in setPos(x,y) to move the pixmap item...
Regards,
Augus
Hi all,
i have added a QGraphicsPixmapItem to Qgraphicsscene.
Now i need to know the X,Y position of the Pixmap Item located in the graphics scene. how do i get it..
i will use it in setPos(x,y) to move the pixmap item...
Regards,
Augus
What's about QGraphicsItem::pos()? In Qt classes you always have setFoo() and foo().
EDIT: ah, sceene coordinates...
Bookmarks