mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-17 00:04:02 -04:00
[processing] provide some more info in batch processing interface
This commit is contained in:
parent
5a1d24dd27
commit
2b234d929f
@ -199,17 +199,19 @@ class BatchProcessingDialog(AlgorithmExecutionDialog):
|
||||
self.table.setEnabled(False)
|
||||
self.tabWidget.setCurrentIndex(1)
|
||||
self.progress.setMaximum(len(self.algs))
|
||||
for (i, alg) in enumerate(self.algs):
|
||||
self.setBaseText('Processing algorithm ' + str(i + 1) + '/'
|
||||
+ str(len(self.algs)) + '...')
|
||||
# make sure the log tab is visible before executing the algorithm
|
||||
try:
|
||||
self.repaint()
|
||||
except:
|
||||
pass
|
||||
for (i, alg) in enumerate(self.algs):
|
||||
self.setBaseText('Processing algorithm ' + str(i + 1) + '/'
|
||||
+ str(len(self.algs)) + '...')
|
||||
self.setInfo('<b>Algorithm %s starting...</b>' % alg.name)
|
||||
if UnthreadedAlgorithmExecutor.runalg(alg, self) and not self.canceled:
|
||||
if self.load[i]:
|
||||
handleAlgorithmResults(alg, self, False)
|
||||
self.setInfo('Algorithm %s correctly executed...' % alg.name)
|
||||
else:
|
||||
QApplication.restoreOverrideCursor()
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user