Example #1
0
 def runalg_parameters(self):
     dlg = self.alg.getCustomParametersDialog()
     if not dlg:
         dlg = ParametersDialog(self.alg)
     # hack to handle that hacky code...
     dlg.setParamValues = lambda: True
     dlg.show()
     dlg.accept()
     while (not dlg.executed):
         time.sleep(.5)
Example #2
0
 def runalg_parameters(self):
     dlg = self.alg.getCustomParametersDialog()
     if not dlg:
         dlg = ParametersDialog(self.alg)
     # hack to handle that hacky code...
     dlg.setParamValues = lambda: True
     dlg.show()
     dlg.accept()
     while (not dlg.executed):
         time.sleep(.5)