[PyQt] Changing webpage content after loading (QWebKit)

Hernan Grecco hernan.grecco at gmail.com
Thu Jul 8 22:36:39 BST 2010


Hello,

I wrote a small web browser using pyqt + webkit. I would like to
modify the HTML after loading the page. I tried using :

webView.page().currentFrame().setHtml(html)

inside in the slot for SIGNAL("loadFinished(bool)") but the page results blank.

If I put the same command in another part of the code (for example
when pressing a button) it works fine!

Thanks in advance,

Hernan


More information about the PyQt mailing list