[PyQt] Setting the space a QGraphicPixmapItem occupies in a scene

TheLonelyStar nabble2 at lonely-star.org
Sun Dec 27 18:29:54 GMT 2009


Hi,

I want to setup a QGraphicsPixmapItem to occupy the space (-1,-1) - (1,1).

I find a function "setOffset" with which (I guess) can set the (-1,-1). But
I can I tell the pixmap to expand to (1,1)?

Thanks!
-- 
View this message in context: http://old.nabble.com/Setting-the-space-a-QGraphicPixmapItem-occupies-in-a-scene-tp26936026p26936026.html
Sent from the PyQt mailing list archive at Nabble.com.



More information about the PyQt mailing list