I want to change behaviour of QGraphicsView (in subclass) to enable zooming via overriding wheelEvent. I want to zoom like in AutoCAD, i.e. point in scene under mouse cursor same before and after zooming. Also when scene view resized, sceneRect remain same (but expanding if nessessary to keep original aspect ratio of scene).
I tried several math equations all of them works far for normal especially when scroll bars appears.
Please, give some code snippets and what else i need to override in subclass?