##// END OF EJS Templates
Last update...
Alexander Valdez -
r251:220b5f5f1c4a
parent child
Show More
@@ -100,6 +100,7 class MainWindow(QMainWindow, Ui_MainWindow):
100 100 self.lineHeighProfileTxtopVol.setEnabled(False)
101 101 self.numberIntegration.setEnabled(False)
102 102 self.valuenFFTPointOpSpec.setEnabled(False)
103 self.lineProfileSelecopVolCEB.setEnabled(False)
103 104
104 105
105 106 def clickFunctiontree(self,index):
@@ -416,7 +417,22 class MainWindow(QMainWindow, Ui_MainWindow):
416 417 if p0==0:
417 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 437 @pyqtSignature("int")
422 438 def on_coherentIntegrationCEB_stateChanged(self, p0):
@@ -438,9 +454,10 class MainWindow(QMainWindow, Ui_MainWindow):
438 454 self.selecChannelopVolCEB.setChecked(False)
439 455 self.selecHeighopVolCEB.setChecked(False)
440 456 self.coherentIntegrationCEB.setChecked(False)
441
457 self.profileSelecopVolCEB.setChecked(False)
442 458 #self.selecChannelopVolCEB.setEnabled(False)
443 459 self.lineHeighProfileTxtopVol.clear()
460 self.lineProfileSelecopVolCEB.clear()
444 461 self.numberChannelopVol.clear()
445 462 self.numberIntegration.clear()
446 463
@@ -464,10 +481,20 class MainWindow(QMainWindow, Ui_MainWindow):
464 481 if i.name=='selectHeights' :
465 482 value=self.lineHeighProfileTxtopVol.text()
466 483 valueList=value.split(',')
467 i.addParameter(name='minHei', value=value[0], format='float')
468 i.addParameter(name='maxHei', value=value[1], format='float')
469
484 i.addParameter(name='minHei', value=valueList[0], format='float')
485 i.addParameter(name='maxHei', value=valueList[1], format='float')
486
470 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 498 if self.coherentIntegrationCEB.isChecked():
472 499 for i in self.operObjList:
473 500 if i.name=='CohInt':
General Comments 0
You need to be logged in to leave comments. Login now