@@ -97,6 +97,7 class MainWindow(QMainWindow, Ui_MainWindow): | |||||
97 | def setParam(self): |
|
97 | def setParam(self): | |
98 | self.dataPathTxt.setText('C:\data') |
|
98 | self.dataPathTxt.setText('C:\data') | |
99 | self.numberChannelopVol.setEnabled(False) |
|
99 | self.numberChannelopVol.setEnabled(False) | |
|
100 | self.lineHeighProfileTxtopVol.setEnabled(False) | |||
100 | self.numberIntegration.setEnabled(False) |
|
101 | self.numberIntegration.setEnabled(False) | |
101 | self.valuenFFTPointOpSpec.setEnabled(False) |
|
102 | self.valuenFFTPointOpSpec.setEnabled(False) | |
102 |
|
103 | |||
@@ -406,6 +407,7 class MainWindow(QMainWindow, Ui_MainWindow): | |||||
406 | Slot documentation goes here. |
|
407 | Slot documentation goes here. | |
407 | """ |
|
408 | """ | |
408 | if p0==2: |
|
409 | if p0==2: | |
|
410 | self.lineHeighProfileTxtopVol.setEnabled(True) | |||
409 | upProcessSelect=self.upObjVolList[int(self.addOpUpselec.currentIndex())] |
|
411 | upProcessSelect=self.upObjVolList[int(self.addOpUpselec.currentIndex())] | |
410 | opObj10=upProcessSelect.addOperation(name='selectHeights') |
|
412 | opObj10=upProcessSelect.addOperation(name='selectHeights') | |
411 | print opObj10.id |
|
413 | print opObj10.id | |
@@ -461,8 +463,9 class MainWindow(QMainWindow, Ui_MainWindow): | |||||
461 | for i in self.operObjList: |
|
463 | for i in self.operObjList: | |
462 | if i.name=='selectHeights' : |
|
464 | if i.name=='selectHeights' : | |
463 | value=self.lineHeighProfileTxtopVol.text() |
|
465 | value=self.lineHeighProfileTxtopVol.text() | |
464 | i.addParameter(name='minHei', value='90', format='float') |
|
466 | valueList=value.split(',') | |
465 |
i.addParameter(name='m |
|
467 | i.addParameter(name='minHei', value=value[0], format='float') | |
|
468 | i.addParameter(name='maxHei', value=value[1], format='float') | |||
466 |
|
469 | |||
467 | print "height" |
|
470 | print "height" | |
468 | if self.coherentIntegrationCEB.isChecked(): |
|
471 | if self.coherentIntegrationCEB.isChecked(): | |
@@ -479,10 +482,6 class MainWindow(QMainWindow, Ui_MainWindow): | |||||
479 | """ |
|
482 | """ | |
480 | if p0==2: |
|
483 | if p0==2: | |
481 | self.valuenFFTPointOpSpec.setEnabled(True) |
|
484 | self.valuenFFTPointOpSpec.setEnabled(True) | |
482 | upProcessSelect=self.upobjSpecList[int(self.addOpSpecUpselec.currentIndex())] |
|
|||
483 | opObj10=upProcessSelect.addOperation(name='nFFTPoints') |
|
|||
484 | print opObj10.id |
|
|||
485 | self.operObjList.append(opObj10) |
|
|||
486 | print " nFFTPoint" |
|
485 | print " nFFTPoint" | |
487 | if p0==0: |
|
486 | if p0==0: | |
488 | print " deshabilitado" |
|
487 | print " deshabilitado" |
@@ -1,5 +1,5 | |||||
1 | # -*- coding: utf-8 -*- |
|
1 | # -*- coding: utf-8 -*- | |
2 |
|
2 | |||
3 | # Form implementation generated from reading ui file 'C:\Users\alex\ericworkspace\UIDOS\MainWindow_NOVTRES.ui' |
|
3 | # Form implementation generated from reading ui file 'C:\Users\alex\ericworkspace\UIDOS\MainWindow_NOVTRES.ui' | |
4 | # |
|
4 | # | |
5 | # Created: Wed Dec 12 10:10:03 2012 |
|
5 | # Created: Wed Dec 12 10:10:03 2012 |
General Comments 0
You need to be logged in to leave comments.
Login now