예제 #1
0
파일: xbms.py 프로젝트: johnelund/enaml
 def toBitmap(self):
     size = QSize(self.width, self.height)
     return QBitmap.fromData(size, self.data, QImage.Format_Mono)
예제 #2
0
파일: xbms.py 프로젝트: vahndi/enaml
 def toBitmap(self):
     size = QSize(self.width, self.height)
     return QBitmap.fromData(size, self.data, QImage.Format_Mono)