From: Pascale Noyret Date: Fri, 18 Jun 2010 15:15:31 +0000 (+0000) Subject: mauvais positionnement fleche include dans Salome X-Git-Tag: V2_0~47 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=085d23eef1511c32282dacd379c9e037ae3b2453;p=tools%2Feficas.git mauvais positionnement fleche include dans Salome --- diff --git a/UiQT4/desInclude.ui b/UiQT4/desInclude.ui index 291b7b33..189df4af 100644 --- a/UiQT4/desInclude.ui +++ b/UiQT4/desInclude.ui @@ -202,7 +202,7 @@ 30 - 40 + 10 440 41 @@ -217,8 +217,8 @@ - 18 - 117 + 20 + 50 450 40 @@ -239,8 +239,8 @@ - 280 - 240 + 20 + 270 161 41 @@ -258,8 +258,8 @@ - 280 - 290 + 20 + 320 161 41 @@ -300,6 +300,9 @@ p, li { white-space: pre-wrap; } + bOk + Commentaire + TWChoix qPixmapFromMimeSource diff --git a/generator/generator_map.py b/generator/generator_map.py index a6fd4e2f..477f487c 100644 --- a/generator/generator_map.py +++ b/generator/generator_map.py @@ -55,7 +55,6 @@ class MapGenerator(PythonGenerator): def initialise(self,config): self.config=config - self.dictMCVal={} self.listeCODE=[] self.text="" self.textCode="" @@ -86,8 +85,11 @@ class MapGenerator(PythonGenerator): self.initialise(config) text=PythonGenerator.gener(self,obj,format) self.verifie() - for code in self.listeCODE: - print code + for elt in self.listeCODE: + code=elt.keys()[0] + dico=elt[code] + self.dictMCVal={} + self.dictMCVal[code]=dico if code in self.__class__.__dict__.keys(): codeYACS=str(code)+"YACS" texteCode=apply(self.__class__.__dict__[codeYACS],(self,)) @@ -101,29 +103,22 @@ class MapGenerator(PythonGenerator): ce dictionnaire a pour clef la genealogie du MCSimp suivi de sa valeur ''' - for code in self.dictMCVal.keys(): + for elt in self.listeCODE: + code=elt.keys()[0] + dico=elt[code] + self.dictMCVal={} + self.dictMCVal[code]=dico if code in self.__class__.__dict__.keys(): texteCode=apply(self.__class__.__dict__[code],(self,execution)) self.texteExecution=self.texteExecution+texteCode def generPROC_ETAPE(self,obj): - self.listeCODE.append(obj.nom) - self.clefDico=obj.nom - if not( self.dictMCVal.has_key(self.clefDico)): - self.dictMCVal[self.clefDico]={} - self.DictTemp=self.dictMCVal[self.clefDico] - else: - tempo=self.dictMCVal[self.clefDico] - self.DictTemp={} - import types - if type(tempo) == types.TupleType: - tempo.append(self.DictTemp) - self.dictMCVal[self.clefDico]=tempo - else: - self.dictMCVal[self.clefDico]=[tempo,self.DictTemp] + clefDico=obj.nom + self.DictTemp={} s=PythonGenerator.generPROC_ETAPE(self,obj) - print self.listeCODE - print self.dictMCVal + dico={} + dico[obj.nom]=self.DictTemp + self.listeCODE.append(dico) return s