Two QDeclarativeViews with one scene - how differ their cameras?
is it possible to have two QDeclarativeViews sharing one scene but displaying differenr parts of scene?
Thanks in advance for thousands of replies,
Yes, I have – I just simply can’t set different parts of one scene to be visible on two QGraphicViews. Of course I’ve read the documentation, but none of solutions which are there helped me.
Let’s say I have a scene which’s 2×2 and two views 1×1. Now I want to display upper left square in first view and upper right square in second – how can I achieve this?
Neither setSceneRect() nor setTransform( QTransform().translate(1,1) ) works. Actually, if it comes to transformations, scale() and rotate() works fine, but translate() seems to do nothing.