RadonMetrics/RawMetricsDialog.py

changeset 24
edaf153da771
parent 18
58ce8a433422
child 31
fe59ed68bd19
equal deleted inserted replaced
23:70ffd915e488 24:edaf153da771
347 # Check if it's the requested file, otherwise ignore signal if not 347 # Check if it's the requested file, otherwise ignore signal if not
348 # in batch mode 348 # in batch mode
349 if not self.__batch and fn != self.filename: 349 if not self.__batch and fn != self.filename:
350 return 350 return
351 351
352 self.checkProgressLabel.setPath(self.__project.getRelativePath(fn))
353 QApplication.processEvents()
354
352 if "error" in result: 355 if "error" in result:
353 self.__createErrorItem(fn, result["error"]) 356 self.__createErrorItem(fn, result["error"])
354 else: 357 else:
355 self.__createResultItem(fn, result) 358 self.__createResultItem(fn, result)
356 359
357 self.progress += 1 360 self.progress += 1
358 361
359 self.checkProgress.setValue(self.progress) 362 self.checkProgress.setValue(self.progress)
360 self.checkProgressLabel.setPath(self.__project.getRelativePath(fn))
361 QApplication.processEvents() 363 QApplication.processEvents()
362 364
363 if not self.__batch: 365 if not self.__batch:
364 self.rawMetrics() 366 self.rawMetrics()
365 367

eric ide

mercurial