def run(self): image_data = self.ca.getPage( self.page_num ) if self.abandoned: return if image_data is not None: img = utils.getQImageFromData( image_data) if self.abandoned: return self.loadComplete.emit( img )
def run(self): image_data = self.ca.getPage(self.page_num) if self.abandoned: return if image_data is not None: img = utils.getQImageFromData(image_data) if self.abandoned: return self.loadComplete.emit(img)
def coverRemoteFetchComplete( self, image_data, issue_id ): img = utils.getQImageFromData( image_data) self.current_pixmap = QPixmap(img) self.setDisplayPixmap( 0, 0)
def coverRemoteFetchComplete(self, image_data, issue_id): img = utils.getQImageFromData(image_data) self.current_pixmap = QPixmap(img) self.setDisplayPixmap(0, 0)