From f6990f300a24df6a22a8b8e0e9ee51f3d3ae778f Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Tue, 4 Dec 2012 15:23:10 +0000 Subject: [PATCH] aide --- InterfaceQT4/qtEficas.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/InterfaceQT4/qtEficas.py b/InterfaceQT4/qtEficas.py index 388e5439..15da41be 100644 --- a/InterfaceQT4/qtEficas.py +++ b/InterfaceQT4/qtEficas.py @@ -116,18 +116,21 @@ class Appli(Ui_Eficas,QMainWindow): listeTexte=apply(Appli.__dict__[self.code],(self,)) def initAides(self): + print "je passe la" repAide=os.path.dirname(os.path.abspath(__file__)) self.docPath=repAide+"/../Aide" if hasattr(self,'CONFIGURATION') and hasattr(self.CONFIGURATION,'rep_aide') : self.docPath=self.CONFIGURATION.rep_aide fileName='eficas_'+str(self.code)+'.adp' self.fileDoc=os.path.join(self.docPath,fileName) + self.actionCode.setText("Aide spécifique "+str(self.code)) if not os.path.isfile(self.fileDoc) : self.fileDoc="" self.docPath="" + self.actionCode.setEnabled(False) return + self.actionCode.setEnabled(True) self.menuAide.addAction(self.actionCode) - self.actionCode.setText("Aide spécifique "+str(self.code)) def ASTER(self) : @@ -157,6 +160,8 @@ class Appli(Ui_Eficas,QMainWindow): def ChercheGrpMaille(self): Msg,listeGroup=self.ChercheGrpMailleInSalome() + #listeGroup=('a','b') + #Msg=None if Msg == None : self.viewmanager.handleAjoutGroup(listeGroup) else : -- 2.39.2