@classmethod
def pixmap(cls, *args, **kwargs):
    """
        Returns QPixmap for the given resource name
        :param name: str, name of the pixmap
        :param category: str, category of the pixmap
        :param extension: str, extension of the pixmap
        :param color: QColor, color of the pixmap
        :return: QPixmap
        """
    if 'dirname' in kwargs:
        return cls(kwargs.pop('dirname'))._pixmap(*args, **kwargs)
    else:
        return cls()._pixmap(*args, **kwargs)
