#NEWLINE# def __init__( self ) : #NEWLINE# #INDENT# super ( WebPage , self ) . __init__ ( ) #NEWLINE# self . inspector = QWebInspector ( ) #NEWLINE# self . inspector . setPage ( self ) #NEWLINE# self . inspector . resize ( 1024 , 400 ) #NEWLINE# diskCache = QNetworkDiskCache ( self ) #NEWLINE# diskCache . setCacheDirectory ( ( assets . fs . dataPath ( ) + '/Cache' ) ) #NEWLINE# self . networkAccessManager ( ) . setCache ( diskCache ) #NEWLINE# self . networkAccessManager ( ) . setCookieJar ( assets . dataJar )