[PyQt] Disable context menu of a plugin in QWebview

Gelonida N gelonida at gmail.com
Tue Apr 19 23:12:57 BST 2011


Hi Hans-Peter,

Thanks for your answer.

On 04/19/2011 03:00 PM, Hans-Peter Jansen wrote:
> 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).

Not sure, whether ld-preloading works under Windows.
I know this technique only from Linux.

> 
> Good luck,
> Pete




More information about the PyQt mailing list