示例#1
0
 def __init__(self, parent=None):
     QWebEngineUrlSchemeHandler.__init__(self, parent)
     self.allowed_hosts = (FAKE_HOST, SANDBOX_HOST)
示例#2
0
 def __init__(self, parent=None):
     QWebEngineUrlSchemeHandler.__init__(self, parent)
     self.requests = defaultdict(list)
示例#3
0
 def __init__(self, parent=None):
     QWebEngineUrlSchemeHandler.__init__(self, parent)
     self.env = Environment(
         autoescape=True,
         loader=PackageLoader(__name__),
     )
示例#4
0
 def __init__(self, parent=None):
     QWebEngineUrlSchemeHandler.__init__(self, parent)
     self.mathjax_dir = P('mathjax', allow_user_override=False)
     self.mathjax_manifest = None
     self.allowed_hosts = (FAKE_HOST, SANDBOX_HOST)
示例#5
0
 def __init__(self, parent=None):
     QWebEngineUrlSchemeHandler.__init__(self, parent)
     self.mathjax_dir = P('mathjax', allow_user_override=False)
     self.mathjax_manifest = None