Beispiel #1
0
 def updateUI(self):
    self.fileinfo.setText(naturalsize(self.size)+" "+self.message)
    if self.monitor and self.monitor.isRunning():
       self.progress.show()
       self.progress.setFormat("%.1f%%" % self.percentage)
       self.progress.setValue(self.percentage)
    else:
       self.progress.hide()
Beispiel #2
0
 def initUI(self):
    self.fileinfo.setText(naturalsize(self.size))
    self.filename.setText(self.name)
    self.reset()