##// END OF EJS Templates
Habilitacion de la seleccion de la Unidad de Procesamiento
Alexander Valdez -
r317:583331a7a6f2
parent child
Show More
@@ -306,7 +306,8 class BasicWindow(QMainWindow, Ui_BasicWindow):
306 306
307 307 for i in self.__arbolDict:
308 308 if self.__arbolDict[i]==self.indexclick:
309 name=str(self.nameProjectTxt.text())
309
310
310 311 # self.model.clear()
311 312 # self.parentItem = self.model.invisibleRootItem()
312 313 # self.__arbolDict[i]= QtGui.QStandardItem(QtCore.QString(name+" %0").arg(self.idp))
@@ -318,7 +319,7 class BasicWindow(QMainWindow, Ui_BasicWindow):
318 319 # print "keys",self.__arbolDict.keys()
319 320 self.description="Think"
320 321 id=i
321 #name=str(self.nameProjectTxt.text())
322 name=str(self.nameProjectTxt.text())
322 323 desc=str(self.description)
323 324
324 325 self.projectObj.setup(id = id, name=name, description=desc)
@@ -578,24 +579,7 class BasicWindow(QMainWindow, Ui_BasicWindow):
578 579 if i.name=='RTIPlot':
579 580 i.addParameter(name='n', value='2', format='int')
580 581 i.addParameter(name='overlapping', value='1', format='int')
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
582
599 583
600 584 #----------------------------BASICO-----------------------------------#
601 585
@@ -759,7 +743,7 class BasicWindow(QMainWindow, Ui_BasicWindow):
759 743
760 744 print 'uporprojectObj.id','inputId', uporprojectObj.id,inputId
761 745 self.procUnitConfObj1 = self.projectObj.addProcUnit(datatype=datatype, inputId=inputId)
762 self.__upObjDict[inputId]= self.procUnitConfObj1
746 self.__upObjDict[self.procUnitConfObj1.id]= self.procUnitConfObj1
763 747
764 748 self.parentItem=self.__arbolDict[uporprojectObj.id]
765 749 #print "i","self.__arbolDict[i]",i ,self.__arbolDict[i]
General Comments 0
You need to be logged in to leave comments. Login now