'Hides the tooltip after some time has passed (assuming the cursor is
not over the tooltip).'

def _leave_event_hide(self):

    if (self.hide_timer_on and (not self._hide_timer.isActive()) and (self.app.topLevelAt(QCursor.pos()) != self)):
        self._hide_timer.start(800, self)
