[Qt-interest] QWebView linkClicked event.

Joel A. Iturra P. tortuguero at gmail.com
Tue Feb 24 21:46:31 CET 2009


Hi,

maybe you can use javascript ?

something like

webView()->page()->mainFrame()->evaluateJavascript("window.document.getElementById('A_element').click();");

I don't really know if you can do "click" with javascript, but maybe work




On Sun, Feb 22, 2009 at 11:07 AM, Shabd Swarup V <shabd at cadence.com> wrote:
> Hi,
>
>
>
> How can I manually trigger the linkClick(QUrl url) event on a QWebView?
>
> I have the object of QWebView available and I have the URL which is to be
> opened.
>
>
>
> Please suggest.
>
>
>
> Thanks,
>
> Shabd
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>



-- 
Joel A. Iturra
Santiago - Chile



More information about the Qt-interest-old mailing list