Scrolling QGraphicsView
-
Hi,
I have such problem: on custom QGraphicsView I add QGraphicsScene and put to the screen multiple custom items such that I expect my QGraphicsView scolls to see all the items, but they does not. I set ScrollBarAlwaysOn. I see scrollbars, but they doesn't updated. The same set QTreeView does update on scroll, but QGraphicsView doesn't. Maybe to do something with viewport() ? How to call setWidgetResizable(true) on QGraphicsView?.See video example attached:
https://www.box.com/s/mhumghw4ad3nlj5ttl83Please hint how to make custom QGraphicsVIew scrollable as in 40000 chips Qt demo for example...
-
for example, in this video it is depicted how the QGraphicsView moves horizontally, but it doesn't move vertically, disregards, that there are several items downmost.
"https://www.box.com/s/o35b0p5pwyl5upn02z8z":https://www.box.com/s/o35b0p5pwyl5upn02z8z
What are the reasons ?