コード例 #1
0
ファイル: CameraBrick.py プロジェクト: IvarsKarpics/mxcube
 def setPixmap(self, pixmap, image):
     if self.__actif:
         QubPixmapZoomPlug.setPixmap(self, pixmap, image)
     else:
         self.__inPoll = False
     return not self.__actif
コード例 #2
0
ファイル: CameraBrick.py プロジェクト: rhfogh/BlissFramework
 def setPixmap(self,pixmap,image) :
     if self.__actif :
         QubPixmapZoomPlug.setPixmap(self,pixmap,image)
     else :
         self.__inPoll = False
     return not self.__actif