'Given a current mouse cursor position return a region of the widget
where hover/move events should change the current tab only on a
timeout.'

def __calcSloppyRegion(self, current):

    p1 = (current + QPoint(0, 2))
    p2 = (current + QPoint(0, (-2)))
    p3 = (self.pos() + QPoint((self.width() + 10), 0))
    p4 = (self.pos() + QPoint((self.width() + 10), self.height()))
    return QRegion(QPolygon([p1, p2, p3, p4]))
