a=self.monExe.readAllStandardOutput()
self.w.view.append(QString.fromUtf8(a.data(),len(a))) ;
-
+ #-----------------------#
+ def generDico(self):
+ #-----------------------#
+ print ('jkljlkjklj')
+ if 'dicoImbrique' in generator.plugins:
+ self.generator=generator.plugins['dico']()
+ jdc_formate=self.generator.gener(self.jdc)
+ dico=self.generator.Dico
+ return dico
#-----------------------#
def gestionParam(self):
the name of the saved file
"""
+ print (self.generDico())
self.modified=1
if not self.modified and not saveas:
return (0, None) # do nothing if text wasn't changed
def initDico(self) :
+ self.Dico={}
self.texteDico = ""
def generMCSIMP(self,obj) :
"""recuperation de l objet MCSIMP"""
s=PythonGenerator.generMCSIMP(self,obj)
+ courant=self.Dico
+ for p in obj.get_genealogie_precise()[0:-1]:
+ if not (p in courant.keys()) : courant[p]={}
+ courant=courant[p]
+ courant[obj.nom]=obj.val
self.texteDico+=obj.nom+ "=" + s[0:-1]+ "\n"
return s