def __init__(self, *args, **kwargs): QtWidgets.QLabel.__init__(self) self._pixmap = QtGui.QPixmap(self.pixmap())