Sorry for the delayed reply as I was not working tomorrow. I think, I could not make you understand you the exact software requirement. Ok, Here I go;
We have a lot of small graphicsViews displaying different graphicsScenes having different layouts and images. We allow user to click on any of the graphicsView (It will be presented in a listView, i think) and then display the layout and images on a bigger GraphicsScene in bigger view. The size and position of the images has to be in proportion to the small scene.
Now, the following is needed:
(1) User should be able to make any transformations on graphics items on bigger scene and all those transformations should also be performed on relavent smaller graphics scene synchronusly.
(2) When, user selects another small graphics view, all the transofrmations made on previous one should be save and then another graphics scene should be shown on bigger one.
I am following the below mentioned approach for this:
(1) As soon as user click on a smaller graphcis view, I load the big graphcis scene with similar items having similar proportation size and position.
(2) Then, I connect small view also to that bigger scene and use the function fitInView(). This makes the transformations in both views, synchronous.
(3) When user select another small view, I need to copy all the transformations from large scene (all the items) to small scene.
I hope, above makes it clear to you to help me better!
Bookmarks