Reimplements the :meth:`QLabel.mousePressEvent` method.

        :param event: QEvent.
        :type event: QEvent

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

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

        self.setPixmap(self.__active_pixmap)
        self.__menu and self.__menu.exec_(QCursor.pos())
        self.pressed.emit()