On Wednesday 02 February 2011 00:31, Gelonida wrote: > I would like to subclass QNetworkAccessManager and > create a subclass of QWebView, that will use the subclassed > QNetworkAccessManager for all accesses. > > Is this possible? > I have really no idea when and how I could achieve this. > > Thanks in advance for any suggestions / pointers
See this page for an example: http://www.diotavelli.net/PyQtWiki/Using_a_Custom_Protocol_with_QtWebKit Try subclassing the NetworkAccessManager.createRequest method as in the example and returning custom replies for each access. That might do what you want. David -- http://mail.python.org/mailman/listinfo/python-list