Thanks. I got the panning to work by first calling the relevant QGraphicsView mouse events first in the overriden functions eg. QGraphicsView::mousePressEvent(event). But zooming still a problem. I can zoom with the mouse wheel (and of course then only up and down)but not by pressing the zoom toolbuttons. In the application zooming with mouse wheel is not allowed but first must get it working properly with the buttons. Do I maybe have to override key pressed events in the view and send a key pressed event from the dialog?
Bookmarks