I tried to use the scale() function available for QGraphicsView. But I cant figure how it exactly works and why I keep getting this weird behavior. I've connected a slider to a function that calls the scale() function of my QGraphicsView. But if you continually slide it up-down, the QGraphicsView will eventually start growing bigger and bigger, or smaller and smaller.
And besides that the scene rect doesn't scale together with the view(which is expected behavior). How can I scale both?
Bookmarks