@Kinesis No need to feel bad - I'm helping here voluntary :-)
I don't think you need to upload your code. If somebody has questions he/she can ask.
Thanks the code lines:
QGraphicsScene* scene = new QGraphicsScene(this);
fixed the issue as I don't know how to do the scene view bit in the form editor.
Hi and welcome
Many ways to do this, but here is my suggestion.
Add a signal to your graphicview class
and hook it up to a slot in your mainwindow with the connect function.
then in GraphicsView::wheelEvent(QWheelEvent *e)
emit MWheelActivated ( (e->delta() > 0));
and No zooming here!
Then in mainwindow slot
Hope it helps.
Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.