[PyQt] Disable context menu of a plugin in QWebview

Hans-Peter Jansen hpj at urpla.net
Tue Apr 19 14:00:54 BST 2011


On Monday 18 April 2011, 11:16:17 Gelonida N wrote:
> Hi,
>
> Now I am able to activate a flash plugin in my QWebview browser and
> things work as they should.
>
> There is just one minor problem
>
>
> The browser should always display a given context menu when the user
> clicks on the riht mouse button.
>
>
> The flash plugin however grabs the right mouse click and displays the
> plugin's menu.
>
> Is there any way to just display the default browser context menu.
>
> If really desired, then I could perhaps allow a second path (sub menu of
> my context menu) to access the plugins context menu.

I don't believe, that this is possible without getting very, very dirty, but 
if you found a solution, let us know. (ld preloading comes to my mind).

Good luck,
Pete


More information about the PyQt mailing list