Hi gusy,
I have a scene with custom background showing the world. When I zoom In the coordinates system changes and the whole scene is zoomed In. I choose a rectangle which should be zoomed and use "QGraphcsView::fitInView(QRectF)". But this work to slow and I do not want to zoom in the whole scene, especially when only the chosen(zoomed) rect will be visible. I thaught about creating a new scene from the chosen rectangle, hiding the (whole world scene) and setting View's new scene,etc.
First of all, I would like to ask do you think this is a good idea? If not, I would really appreciate if you could share your other ideas.
If this approach is ok, howto create a new scene from a part of the old scene? (the new scene should show the part of old scene background + items from that area).
Thank you for any help.
P.S.
Yet zooming in the whole world is just to slow.
Bookmarks