PyQt4: QWebView: Custom context menu
-
Assume that I have generated a html document (stored in a string). I can display it using QWebView. For each link (present in the html document), I want to add two options to the context menu (right click action), each of them will send the Url to the main application.
How can I do that in PyQt4?
I have read the thread at "Link":http://qt-project.org/forums/viewthread/15149, but I am pretty new to Qt and not very comfortable with C++.
An example in Python would be the best.
Thanks in advance!