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