PDA

View Full Version : Zoom GraphicsView but not Items



abbapatris
15th October 2007, 20:18
I am working on a project where I need to use a graphicsView and use the zooming feature. My only problem is that some of the items need to zoom and others don't. Is there an easy way to tell object, "Ignore Scaling"?

marcel
15th October 2007, 20:22
Set this flag to those items: QGraphicsItem::ItemIgnoresTransformations

abbapatris
15th October 2007, 20:47
You're a life saver thanks so much.