WebBrowser/WebBrowserPage.py

changeset 6149
e611e45a17d6
parent 6146
94a4e8d1ac4f
child 6174
bb2989d750ce
equal deleted inserted replaced
6148:6c7af1e85e49 6149:e611e45a17d6
41 browsing event 41 browsing event
42 @signal safeBrowsingBad(threatType, threatMessages) emitted to indicate a 42 @signal safeBrowsingBad(threatType, threatMessages) emitted to indicate a
43 malicious web site as determined by safe browsing 43 malicious web site as determined by safe browsing
44 @signal printRequested() emitted to indicate a print request of the shown 44 @signal printRequested() emitted to indicate a print request of the shown
45 web page 45 web page
46 @signal navigationRequestAccepted(url, navigation type, main frame) emitted
47 to signal an accepted navigation request
46 """ 48 """
47 if qVersionTuple() >= (5, 7, 0): 49 if qVersionTuple() >= (5, 7, 0):
48 SafeJsWorld = QWebEngineScript.ApplicationWorld 50 SafeJsWorld = QWebEngineScript.ApplicationWorld
49 # SafeJsWorld = QWebEngineScript.MainWorld 51 # SafeJsWorld = QWebEngineScript.MainWorld
50 else: 52 else:

eric ide

mercurial