Exemplo n.º 1
0
 def __init__(self, parent=None):
     QWebEngineUrlSchemeHandler.__init__(self, parent)
     self.allowed_hosts = (FAKE_HOST, SANDBOX_HOST)
Exemplo n.º 2
0
 def __init__(self, parent=None):
     QWebEngineUrlSchemeHandler.__init__(self, parent)
     self.requests = defaultdict(list)
Exemplo n.º 3
0
 def __init__(self, parent=None):
     QWebEngineUrlSchemeHandler.__init__(self, parent)
     self.env = Environment(
         autoescape=True,
         loader=PackageLoader(__name__),
     )
Exemplo n.º 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)
Exemplo n.º 5
0
 def __init__(self, parent=None):
     QWebEngineUrlSchemeHandler.__init__(self, parent)
     self.mathjax_dir = P('mathjax', allow_user_override=False)
     self.mathjax_manifest = None