Hey Gabor,

2011/4/22 Gabor E. Tusnady <[email protected]>:
> Dear all,
>
> I would like to use mouseWheel event in my application. However, when I
> use mouse wheel, while mouse is on my widget, my application catch the
> event and do the required functions (zoom in/ out), but the browser gets
> the event as well, and scroll up and down the page. How can I stop the
> MouseWheel signal to prevent the unwanted page scrolling?

mouseWheel().preventDefaultAction() and/or
mouseWheel().preventPropagation() should do that.

Regards,
koen

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to