def update(self, percent): self.pbar.setValue(int(percent)) QtGui.qApp.processEvents() OpProgress.update(self, percent)
def update(self, percent=None): """Called to update the percentage done""" OpProgress.update(self, percent) self.emit("status-changed", self.op, self.percent) while self._context.pending(): self._context.iteration()
def update(self, percent=None): """Called periodically to update the user interface.""" BaseOpProgress.update(self, percent) statusMessage("UPDATE_OP op:%s subop:%s percent:%.1f" % (self.op, self.subop, self.percent))
def update(self, percent): OpProgress.update(self, percent)
def update(self, percent=None): """Called periodically to update the user interface.""" BaseOpProgress.update(self, percent) statusMessage("UPDATE_OP op:%s subop:%s percent:%.1f" % ( self.op, self.subop, self.percent))