[Qt-interest] Graphics Item wheel event doubt
Ankit Agarwal
ankit17.ag at gmail.com
Wed Jan 21 11:49:00 CET 2009
Hi,
I have a Graphics scene and is contained in a graphics view. The scene
contains a few items.
The wheelEvent of the GraphicsView is reimplemented.
Now my question is:
I want to reimplement the wheel event of one of the QGraphicsEllipseItem.
So, now what will happen when I use my wheel, as in shall the eheel event be
propagated to the view as well?
The documant says that if I call QEvent::accept(), then the wheel event
shall not be passed to the scene and shall be passed to the view.
My requirement is that the wheel event shall not be passed to the view also.
How can i achive this?
--
Regards,
Ankit Agarwal
SW Engineer
Vegayan Systems
email : ankit_agarwal at vegayan.com
Blog : http://ankit17.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090121/65c1b2e2/attachment.html
More information about the Qt-interest-old
mailing list