Let's say i have two QGraphicsViews:
QGraphicsView *view1;
QGraphicsView *view2;
where view1
is big view that has vertical scroll bar(this view is guaranteed to contain an image that is bigger than viewport) and is to contain some drawing, put by user, and view2
is ruler-like view that represents y value of the according part of view1
. What i want is to simultaneously scroll view2
, once view1
is scrolled. I also don't want view1
to have any scroll bars. Is that possible? If so - how? Any help is appreciated.