def __init__(self, worker,
                 delay=500,
                 show_tooltip=True):
        """
        :param worker: The process function or class to call remotely.
        :param delay: The delay used before running the analysis process when
                      trigger is set to
                      :class:pyqode.core.modes.CheckerTriggers`
        :param show_tooltip: Specify if a tooltip must be displayed when the
                             mouse is over a checker message decoration.
        """
        Mode.__init__(self)
        QtCore.QObject.__init__(self)
        # max number of messages to keep good performances
        self.limit = 200
        self.ignore_rules = []
        self._job_runner = DelayJobRunner(delay=delay)
        self._messages = []
        self._worker = worker
        self._mutex = QtCore.QMutex()
        self._show_tooltip = show_tooltip
        self._pending_msg = []
        self._finished = True
def __init__ ( self , worker , delay = 500 , show_tooltip = True ) : Mode . __init__ ( self ) QtCore . QObject . __init__ ( self ) self . limit = 200 self . ignore_rules = [ ] self . _job_runner = DelayJobRunner ( delay = delay ) self . _messages = [ ] self . _worker = worker self . _mutex = QtCore . QMutex ( ) self . _show_tooltip = show_tooltip self . _pending_msg = [ ] self . _finished = True
:param worker: The process function or class to call remotely.
        :param delay: The delay used before running the analysis process when
                      trigger is set to
                      :class:pyqode.core.modes.CheckerTriggers`
        :param show_tooltip: Specify if a tooltip must be displayed when the
                             mouse is over a checker message decoration.