Hello.
I'm trying to create simple drawing program.
I'd like to create view of a sheet of paper on which user could draw and which could be zoomed. The similar effect like in MS Word page view.
I've tried to add QGraphicsView as a main window widget and than add QGraphicsScene with specified Rect. But unfortunately QGraphicsScene always is expanded to the QGraphicsView size. If I draw sth bigger than QGraphicsScene specified area size it always is drawn whole - I want to draw only those part of item which contains in scene area.

Is it possible to get such effect?

PS. QGraphicsView have to be expanded to whole window area because when user is zooming, scene area should growth. So QGraphicsScene should have different size than QGraphicsView.