Dear ,
All work well but i am not able to call Qgraphicsview Wheel event which is in else function............. i am getting
error: ‘virtual void QGraphicsView::wheelEvent(QWheelEvent*)’ is protected
Dear ,
All work well but i am not able to call Qgraphicsview Wheel event which is in else function............. i am getting
error: ‘virtual void QGraphicsView::wheelEvent(QWheelEvent*)’ is protected
What version of Qt?
I example I posted compiles and run with Qt 4.8.1 and MinGw 4.6.2.
Show us what you did?
Last edited by Santosh Reddy; 7th January 2013 at 11:48.
When you know how to do it then you may do it wrong.
When you don't know how to do it then it is not that you may do it wrong but you may not do it right.
i have QT 4.7.3(i have develop application in Linux Platform)
In my project i have taken QWidget application and on that i have added Qgraphicsview and Qgraphicsscene is added to graphicsview. and i am drawing the object in graphicsview using painterpath i have widget of size 1280x1024 . and graphicsview of 1141x991
Last edited by chirudi; 8th January 2013 at 05:30.
and what is graphicsscene rect size?
When you know how to do it then you may do it wrong.
When you don't know how to do it then it is not that you may do it wrong but you may not do it right.
Bookmarks