[Qt-interest] Installing an event filter for specific dom elements

Zaid Amir z.alamir at genie-soft.com
Mon Mar 15 16:10:37 CET 2010


Hi

I would like to know if it is possible in QTWebKit to install an event
filter or capture events that occur from specific Dom elements. For example,
my webview is showing a webpage that has text, images and an edit box, I
want to disable the right-clicking functionality on the text and images but
at the same time when the user right-clicks inside the edit box, I want to
display my context menu.

How can I achieve such goal?

Regards





More information about the Qt-interest-old mailing list