예제 #1
0
    def run(self):
        image_data = self.ca.getPage(self.page_num)
        if self.abandoned:
            return

        if image_data is not None:
            img = getQImageFromData(image_data)

            if self.abandoned:
                return

            self.loadComplete.emit(img)
예제 #2
0
    def run(self):
        image_data = self.ca.getPage(self.page_num)
        if self.abandoned:
            return

        if image_data is not None:
            img = getQImageFromData(image_data)

            if self.abandoned:
                return

            self.loadComplete.emit(img)
예제 #3
0
 def coverRemoteFetchComplete(self, image_data, issue_id):
     img = getQImageFromData(image_data)
     self.current_pixmap = QPixmap(img)
     self.setDisplayPixmap(0, 0)