Hi, Prologue:
Back in November I tried to intercept linkClicked signal by writing my own QML WebView component, as it is not exposed by QML. Unfortunately writing your own is difficult as the classes one needs to subclass are private. Even minimal change did not work on N9 phone. I now tried to go around the problem by installing my own QNetworkAccessManager and intercepting createRequest. That brought along it's own can of worms, but I managed to sort them out eventually. Current problem: When QML WebView displays a document with anchors, the anchor click is not passed to createRequest, probably because the WebView already has the document. But the display does not update either, it does not scroll to anchor. This can bee seen in QtSDK/Examples/4.7/declarative/demos/webbrowser Open for instance http://en.wikipedia.org/wiki/Algebra and try clicking on Contents: Abstract algebra nothing happens. I don't see any obvious way to enable following anchors either from outside, as I don't even know that a link has been clicked. Only thing I can think of is massaging the CSS/html of the page itself to provide javascript object that would notify me of the anchor clicks. Is there any other way, what are my options? Thanks, Harri _______________________________________________ webkit-qt mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
