Hello Everybody
I have a scene with several items on it. I applay transformations on the scene ( move, zoomin=scale, rotation and so on ).
But I want to have some item( some cotroll like button or may be logo ) alway be at the top-right corner of the scene and has the same size and ignores any transformations.
theItem.
setFlag(QGraphicsItem::ItemIgnoresTransformations,
true);
theItem.setFlag(QGraphicsItem::ItemIgnoresTransformations, true);
To copy to clipboard, switch view to plain text mode
works good except the case: if I scale or move the scene, theItem moves as well ( make sence, it keeps it's position on the scne ).
So how can I make Item unmovable in viewport() coordinate system?
Generel task is to create some controll( like button ) and put it on top of the scene. May be to use item is not very efficient here?
Thank you!
Bookmarks