[Qt-interest] Position of text inside QWebFrame.

Shabd Swarup V shabd at cadence.com
Fri Feb 20 11:42:39 CET 2009


Hi,

 

This may be a little tricky and I am not sure if it will be possible.

 

I am trying to determine the global screen coordinates of some text
inside a QWebFrame. The basic purpose of doing this is that I need to
click a hyperlink present on the page. 

I am finding the hyperlink through the "href" tag in the text returned
by the toHtml() method in QWebFrame.

 

Once I have the text on the hyperlink, is it possible somehow to find
the location of that hyperlink to be able to fire a mouse click on it.

 

Please let me know if you have any suggestions at all.

 

Thanks,

Shabd.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090220/10505c62/attachment.html 


More information about the Qt-interest-old mailing list