def setPixmap(self, pixmap, image): if self.__actif: QubPixmapZoomPlug.setPixmap(self, pixmap, image) else: self.__inPoll = False return not self.__actif
def __init__(self, receiver): QubPixmapZoomPlug.__init__(self, receiver) self.__actif = True self.__inPoll = False
def __init__(self, receiver, zoomAction): QubPixmapZoomPlug.__init__(self, receiver) self.__firstPixmap = True self.__zoomAction = zoomAction
def setPixmap(self,pixmap,image) : if self.__actif : QubPixmapZoomPlug.setPixmap(self,pixmap,image) else : self.__inPoll = False return not self.__actif
def __init__(self,receiver) : QubPixmapZoomPlug.__init__(self,receiver) self.__actif = True self.__inPoll = False
def __init__(self,receiver,zoomAction) : QubPixmapZoomPlug.__init__(self,receiver) self.__firstPixmap = True self.__zoomAction = zoomAction