I have a small application that reads in an image and allows zooming in and zooming out.
What I don't know how to implement is once the image exceeds the size of the scrollable area and the scroll bars appear, I would like the center of the image to remain constant as I continue to zoom in, and have both scroll bar "handles" remain centered in the scroll bar. As I zoom out, I would like the same behavior. I'm using Qt 4.5
Thanks
Bookmarks