#NEWLINE# def __init__( self , parent = None ) : #NEWLINE# #INDENT# super ( MikiSearch , self ) . __init__ ( parent ) #NEWLINE# self . parent = parent #NEWLINE# self . settings ( ) . clearMemoryCaches ( ) #NEWLINE# self . flag = False #NEWLINE# self . link = None #NEWLINE# self . setMouseTracking ( True ) #NEWLINE# self . settings ( ) . setUserStyleSheetUrl ( QUrl ( ( 'file://' + self . parent . settings . searchcssfile ) ) ) #NEWLINE# print ( QUrl ( ( 'file://' + self . parent . settings . searchcssfile ) ) ) #NEWLINE# self . page ( ) . linkHovered . connect ( self . linkHovered ) #NEWLINE# self . page ( ) . setLinkDelegationPolicy ( QWebPage . DelegateAllLinks ) #NEWLINE# self . page ( ) . linkClicked . connect ( self . linkClicked )