Skip to content
Permalink
Browse files

[processing] refactor batch processing dialog and update related para…

…meters widgets
  • Loading branch information
alexbruy committed Nov 12, 2014
1 parent bec113b commit 42f16efe6a2f84b7a434a7d3c7879dee40f286d6
@@ -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)):
@@ -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()
@@ -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):

This file was deleted.

0 comments on commit 42f16ef

Please sign in to comment.
You can’t perform that action at this time.