eric6/WebBrowser/Network/UrlInterceptor.py

Sat, 27 Feb 2021 12:08:23 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 27 Feb 2021 12:08:23 +0100
changeset 8138
169e65a6787c
parent 7923
91e843545d9a
child 8218
7c09585bd960
permissions
-rw-r--r--

Shell: added functionality to show a prompt when the main client process has exited (e.g. a script ended).

# -*- coding: utf-8 -*-

# Copyright (c) 2016 - 2021 Detlev Offenbach <detlev@die-offenbachs.de>
#

"""
Module implementing an URL interceptor base class.
"""

from PyQt5.QtCore import QObject


class UrlInterceptor(QObject):
    """
    Class implementing an URL interceptor base class.
    """
    def __init__(self, parent=None):
        """
        Constructor
        
        @param parent referemce to the parent object
        @type QObject
        """
        super(UrlInterceptor, self).__init__(parent)
    
    def interceptRequest(self, info):
        """
        Public method to intercept a request.
        
        @param info request info object
        @type QWebEngineUrlRequestInfo
        """
        pass

eric ide

mercurial