[Interest] User interactions on webpage in Qtwebkit browser!

Igor Grivko igrivko at ics.com
Thu Jul 19 15:36:14 CEST 2012


Hi Lata,

I can suggest to look at the


      voidQWebView::linkClicked( constQUrl <qurl.html>&/url/)[signal]

This signal is emitted whenever the user clicks on a link and the page's 
linkDelegationPolicy property is set to delegate the link handling for 
the specified/url/.

*See also*QWebPage::linkDelegationPolicy 
<qwebpage.html#linkDelegationPolicy-prop>().


This is a signal that is emitted when a user clicks a link in a WebView.

You can add your own Event Filter, and then you can monitor all the 
Mouse events, for instance.

Hope it helps.

Best regards,
Igor Grivko


On 07/19/2012 05:41 PM, Lata Agrawal wrote:
> Hi all,
>
> I have following requirement and I have no clue how to go ahead with this:
> I am loading a webpage in QtWebkit browser. I want to log all user 
> interactions with the webpage like clicking on a button, image, text 
> entry etc.
>
> I am not sure how to approach this problem. Any pointers would be 
> helpful.
>
> -- Regards,
> Lata
>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120719/22421af1/attachment.html>


More information about the Interest mailing list