Retrieve downloaded images



  • Hello,

    How is it possible to retrieve the images of a web page than has just been downloaded? For example, in Python, I run:
    @
    from PyQt4.QtGui import QApplication, QImage
    from PyQt4.QtWebKit import QWebView

    app = QApplication([])
    view = QWebView()
    view.load(QUrl("http://www.google.com"))
    view.show()
    @

    In this operation, the image "images/srpr/logo1w.png":http://www.google.com/images/srpr/logo1w.png was downloaded and displayed. Where is it stored now? How can it be retrieved with QtWebKit? FWIW, I tried the following, but it returns "False".
    @
    QImage().load(":/images/srpr/logo1w.png")
    @

    Thank you.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.