def leaveEvent(self, event):
        """
        Reimplements the :meth:`QLabel.leaveEvent` method.

        :param event: QEvent.
        :type event: QEvent
        """

        if self.__checkable:
            not self.__checked and self.setPixmap(self.__default_pixmap)
        else:
            self.setPixmap(self.__default_pixmap)