Hi All,
I am trying to detect changes to the viewport of my QGraphicsView. I am able to get movement by looking at the valueChanged signal from the scroll bars. But how can I also get resize events. Sometime a resize causes the scrollbar position to change but not always.
Any suggestions? I would rather not have to subclass if I don't need to. Essentially all I want it to know anytime the viewport->rect() changes.
What I am trying to do is look at the same scene with 2 different QGraphicsView windows and show on one view where the viewport is located in the other view ( one is zoomed in, the other is scaled to fit display )
Thanks
Bookmarks