Skip to content

Commit 42f16ef

Browse files
committed
[processing] refactor batch processing dialog and update related parameters widgets
1 parent bec113b commit 42f16ef

10 files changed

+571
-737
lines changed

python/plugins/processing/gui/AlgorithmDialog.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def setParamValues(self):
8282

8383
return True
8484

85-
def setParamValue(self, param, widget):
85+
def setParamValue(self, param, widget, alg=None):
8686
if isinstance(param, ParameterRaster):
8787
return param.setValue(widget.getValue())
8888
elif isinstance(param, (ParameterVector, ParameterTable)):
@@ -154,7 +154,7 @@ def accept(self):
154154

155155
self.progressBar.setMaximum(0)
156156
self.lblProgress.setText(self.tr('Processing algorithm...'))
157-
# Make sure the log tab is visible before executing the algorithm
157+
# Make sure the Log tab is visible before executing the algorithm
158158
try:
159159
self.tabWidget.setCurrentIndex(1)
160160
self.repaint()

python/plugins/processing/gui/AlgorithmDialogBase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def setText(self, text):
135135
def setParamValues(self):
136136
pass
137137

138-
def setParamValue(self, param, widget):
138+
def setParamValue(self, param, widget, alg=None):
139139
pass
140140

141141
def accept(self):

python/plugins/processing/gui/AlgorithmExecutionDialog.py

Lines changed: 0 additions & 330 deletions
This file was deleted.

0 commit comments

Comments
 (0)