I currently have a QGraphicsView with a QGraphicsScene set on it. I'm currently using the wheelevent to zoom in/out. However, whenever I use the wheel it first tries to move the image up or down (respective to scrolling wheel up or down). I don't want it to move the image up or down, I only want to use the wheel for zooming. Is there a way in my wheelEvent(QWheelEvent *event) function to only state to run the zoom code, and nothing else?
Thanks in advance.
Bookmarks