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