Skip to content

Commit

Permalink
[processing] refactor batch processing dialog and update related para…
Browse files Browse the repository at this point in the history
…meters widgets
  • Loading branch information
alexbruy committed Nov 17, 2014
1 parent bec113b commit 42f16ef
Show file tree
Hide file tree
Showing 10 changed files with 571 additions and 737 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/gui/AlgorithmDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def setParamValues(self):

return True

def setParamValue(self, param, widget):
def setParamValue(self, param, widget, alg=None):
if isinstance(param, ParameterRaster):
return param.setValue(widget.getValue())
elif isinstance(param, (ParameterVector, ParameterTable)):
Expand Down Expand Up @@ -154,7 +154,7 @@ def accept(self):

self.progressBar.setMaximum(0)
self.lblProgress.setText(self.tr('Processing algorithm...'))
# Make sure the log tab is visible before executing the algorithm
# Make sure the Log tab is visible before executing the algorithm
try:
self.tabWidget.setCurrentIndex(1)
self.repaint()
Expand Down
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/AlgorithmDialogBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def setText(self, text):
def setParamValues(self):
pass

def setParamValue(self, param, widget):
def setParamValue(self, param, widget, alg=None):
pass

def accept(self):
Expand Down
330 changes: 0 additions & 330 deletions python/plugins/processing/gui/AlgorithmExecutionDialog.py

This file was deleted.

Loading

0 comments on commit 42f16ef

Please sign in to comment.