@@ -100,6 +100,7 class MainWindow(QMainWindow, Ui_MainWindow): | |||||
100 | self.lineHeighProfileTxtopVol.setEnabled(False) |
|
100 | self.lineHeighProfileTxtopVol.setEnabled(False) | |
101 | self.numberIntegration.setEnabled(False) |
|
101 | self.numberIntegration.setEnabled(False) | |
102 | self.valuenFFTPointOpSpec.setEnabled(False) |
|
102 | self.valuenFFTPointOpSpec.setEnabled(False) | |
|
103 | self.lineProfileSelecopVolCEB.setEnabled(False) | |||
103 |
|
104 | |||
104 |
|
105 | |||
105 | def clickFunctiontree(self,index): |
|
106 | def clickFunctiontree(self,index): | |
@@ -416,7 +417,22 class MainWindow(QMainWindow, Ui_MainWindow): | |||||
416 | if p0==0: |
|
417 | if p0==0: | |
417 | print " deshabilitado" |
|
418 | print " deshabilitado" | |
418 |
|
419 | |||
419 |
|
420 | |||
|
421 | @pyqtSignature("int") | |||
|
422 | def on_profileSelecopVolCEB_stateChanged(self, p0): | |||
|
423 | """ | |||
|
424 | Slot documentation goes here. | |||
|
425 | """ | |||
|
426 | if p0==2: | |||
|
427 | self.lineProfileSelecopVolCEB.setEnabled(True) | |||
|
428 | upProcessSelect=self.upObjVolList[int(self.addOpUpselec.currentIndex())] | |||
|
429 | opObj10=upProcessSelect.addOperation(name='ProfileSelector', optype='other') | |||
|
430 | print opObj10.id | |||
|
431 | self.operObjList.append(opObj10) | |||
|
432 | print " Select Type of Profile" | |||
|
433 | if p0==0: | |||
|
434 | print " deshabilitado" | |||
|
435 | ||||
420 |
|
436 | |||
421 | @pyqtSignature("int") |
|
437 | @pyqtSignature("int") | |
422 | def on_coherentIntegrationCEB_stateChanged(self, p0): |
|
438 | def on_coherentIntegrationCEB_stateChanged(self, p0): | |
@@ -438,9 +454,10 class MainWindow(QMainWindow, Ui_MainWindow): | |||||
438 | self.selecChannelopVolCEB.setChecked(False) |
|
454 | self.selecChannelopVolCEB.setChecked(False) | |
439 | self.selecHeighopVolCEB.setChecked(False) |
|
455 | self.selecHeighopVolCEB.setChecked(False) | |
440 | self.coherentIntegrationCEB.setChecked(False) |
|
456 | self.coherentIntegrationCEB.setChecked(False) | |
441 |
|
457 | self.profileSelecopVolCEB.setChecked(False) | ||
442 | #self.selecChannelopVolCEB.setEnabled(False) |
|
458 | #self.selecChannelopVolCEB.setEnabled(False) | |
443 | self.lineHeighProfileTxtopVol.clear() |
|
459 | self.lineHeighProfileTxtopVol.clear() | |
|
460 | self.lineProfileSelecopVolCEB.clear() | |||
444 | self.numberChannelopVol.clear() |
|
461 | self.numberChannelopVol.clear() | |
445 | self.numberIntegration.clear() |
|
462 | self.numberIntegration.clear() | |
446 |
|
463 | |||
@@ -464,10 +481,20 class MainWindow(QMainWindow, Ui_MainWindow): | |||||
464 | if i.name=='selectHeights' : |
|
481 | if i.name=='selectHeights' : | |
465 | value=self.lineHeighProfileTxtopVol.text() |
|
482 | value=self.lineHeighProfileTxtopVol.text() | |
466 | valueList=value.split(',') |
|
483 | valueList=value.split(',') | |
467 | i.addParameter(name='minHei', value=value[0], format='float') |
|
484 | i.addParameter(name='minHei', value=valueList[0], format='float') | |
468 | i.addParameter(name='maxHei', value=value[1], format='float') |
|
485 | i.addParameter(name='maxHei', value=valueList[1], format='float') | |
469 |
|
|
486 | ||
470 | print "height" |
|
487 | print "height" | |
|
488 | ||||
|
489 | ||||
|
490 | if self.selecHeighopVolCEB.isChecked(): | |||
|
491 | for i in self.operObjList: | |||
|
492 | if i.name=='ProfileSelector' : | |||
|
493 | value=self.lineProfileSelecopVolCEB.text() | |||
|
494 | i.addParameter(name='ProfileSelector', value=value, format='intlist') | |||
|
495 | ||||
|
496 | ||||
|
497 | ||||
471 | if self.coherentIntegrationCEB.isChecked(): |
|
498 | if self.coherentIntegrationCEB.isChecked(): | |
472 | for i in self.operObjList: |
|
499 | for i in self.operObjList: | |
473 | if i.name=='CohInt': |
|
500 | if i.name=='CohInt': |
General Comments 0
You need to be logged in to leave comments.
Login now