[Qt-interest] how to get the all the text in QWebView

go canal gocanal at yahoo.com
Sat Oct 2 02:34:07 CEST 2010


Hi,
is there a method to get the whole html content of a QWebView ? Like 'view 
source' of other browsers.

from QWebPage, we can get mainFrame and currentFrame, then using toHtml() to get 
the html content of a frame. However, what if the web page has multiple frames ? 
How do I iterate all the frames ? Better still if there is one single method to 
get all the content of  the web page.
 thanks,
canal


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


More information about the Qt-interest-old mailing list