]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
PN sauvegarde du 22 mai V1_11_qt origin/V1_11_qt
authorPascale Noyret <pascale.noyret@edf.fr>
Wed, 23 May 2007 10:16:20 +0000 (10:16 +0000)
committerPascale Noyret <pascale.noyret@edf.fr>
Wed, 23 May 2007 10:16:20 +0000 (10:16 +0000)
19 files changed:
Interface/configuration.py
Interface/monFonctionPanel.py
Interface/myMain_ui.py
Interface/readercata.py
Ui/desChoixCata.py [new file with mode: 0644]
Ui/desChoixCata.ui [new file with mode: 0644]
Ui/desCommande.py
Ui/desCommande.ui
Ui/desFormule.py [new file with mode: 0644]
Ui/desFormule.ui [new file with mode: 0644]
Ui/desMacro.py
Ui/desMacro.ui
Ui/desPlusieursBase.py
Ui/desPlusieursBase.ui
Ui/desPlusieursInto.py [new file with mode: 0644]
Ui/desPlusieursInto.ui
Ui/desRacine.py
Ui/desRacine.ui
Ui/myMain.ui [new file with mode: 0644]

index 8d9e7a6df731eb25f28324021d4f54d87eae953b..30fb2220f3fd175609fe8d561891a996149ca69c 100644 (file)
@@ -19,7 +19,7 @@
 #
 # ======================================================================
 """
-    Ce module sert pour charger les paramètres de configuration d'EFICAS
+    Ce module sert pour charger les parametres de configuration d'EFICAS
 """
 # Modules Python
 import os,sys,string,types
@@ -60,16 +60,16 @@ class CONFIGbase:
       if not os.path.isfile(self.fic_ini):
           print self.fic_ini
           showerror("Erreur","Pas de fichier de configuration" + self.fic_ini+"\n")
-          print "Erreur à la lecture du fichier de configuration : %s" % self.fic_ini
+          print "Erreur a la lecture du fichier de configuration : %s" % self.fic_ini
           sys.exit(0)
       self.lecture_fichier(self.fic_ini)
 
   #-----------------------------
   def lecture_fichier(self,fic):
   #------------------------------
-  # lit les paramètres du fichier eficas.ini ou style.py
+  # lit les parametres du fichier eficas.ini ou style.py
   # les transforme en attribut de l 'objet  
-  # utilisation du dictionnaire local pour récuperer style
+  # utilisation du dictionnaire local pour recuperer style
       txt = utils.read_file(fic)
       from styles import style
       d=locals()
@@ -78,7 +78,7 @@ class CONFIGbase:
       except:
          l=traceback.format_exception(sys.exc_info()[0],sys.exc_info()[1],sys.exc_info()[2])
          showerror("Erreur","Une erreur s'est produite lors de la lecture du fichier : " + fic + "\n")
-         print "Erreur à la lecture du fichier de configuration : %s" % fic
+         print "Erreur a la lecture du fichier de configuration : %s" % fic
          sys.exit()
 
       for k in d.keys() :
@@ -91,8 +91,13 @@ class CONFIGbase:
   #--------------------------------------
   def lecture_fichier_ini_utilisateur(self):
   #--------------------------------------
-  # Surcharge les paramètres standards par les paramètres utilisateur s'ils existent
+  # Surcharge les parametres standards par les parametres utilisateur s'ils existent
       self.fic_ini_utilisateur = os.path.join(self.rep_user,self.fichier)
+      print "hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh"
+      print "hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh"
+      print "hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh"
+      print "hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh"
+      return
       if not os.path.isfile(self.fic_ini_utilisateur):
           return
       self.lecture_fichier(self.fic_ini_utilisateur)
@@ -102,7 +107,7 @@ class CONFIGbase:
   def affichage_fichier_ini(self):
   #--------------------------------------
       """
-      Affichage des valeurs des paramètres relus par Eficas
+      Affichage des valeurs des parametres relus par Eficas
       """
       import widgets
       result = widgets.Formulaire(self.parent,
@@ -113,14 +118,14 @@ class CONFIGbase:
                                   mode='display',
                                   commande=('Modifier',self.commande))
       if result.resultat :
-          #print 'on sauvegarde les nouveaux paramètres :',result.resultat
+          #print 'on sauvegarde les nouveaux parametres :',result.resultat
           self.save_param_ini(result.resultat)
 
   #--------------------------------------
   def save_param_ini(self,dico):
   #--------------------------------------
   # sauvegarde
-  # les nouveaux paramètres dans le fichier de configuration utilisateur
+  # les nouveaux parametres dans le fichier de configuration utilisateur
   #
       f=open(self.fic_ini_utilisateur,'w+')
       for k,v in dico.items():
@@ -149,20 +154,20 @@ class CONFIGbase:
   #--------------------------------------------------------
   def creation_fichier_ini(self,mode='considerer_annuler'):
   #---------------------------------------------------------
-  # Récupération des valeurs des paramétres requis pour la création du fichier
+  # Recuperation des valeurs des parametres requis pour la creation du fichier
   # eficas.ini
   #
       import widgets
       items = self.l_param
       result = widgets.Formulaire(self.parent,
                                   obj_pere = self,
-                                  titre = "Saisie des données indispensables à la configuration d'EFICAS",
+                                  titre = "Saisie des donnees indispensables a la configuration d'EFICAS",
                                   texte = self.texte,
                                   items = items,
                                   mode='query')
       if not result.resultat :
           if mode == 'considerer_annuler':
-             test = askretrycancel("Erreur","Données incorrectes !")
+             test = askretrycancel("Erreur","Donnees incorrectes !")
              if not test:
                  # XXX On sort d'EFICAS, je suppose
                  self.appli.exitEFICAS()
@@ -180,7 +185,7 @@ class CONFIGbase:
   # construit self.l_param 
   # a partir de self.labels et des attributs 
   # de l objet (mis a jour lors de la lecture du fichier)
-  # l_param est une liste de tuples où chaque tuple est de la forme :
+  # l_param est une liste de tuples ou chaque tuple est de la forme :
   #           (label,nature,nom_var,defaut)
 
       self.l_param=[]
@@ -202,18 +207,18 @@ class CONFIG(CONFIGbase):
       self.fichier="editeur.ini"
       self.rep_ini = rep_ini
       self.fic_ini = os.path.join(self.rep_ini,self.fichier)
-      self.titre = "Paramètres nécessaires à la configuration d'EFICAS"
-      self.texte_ini = "Voici les paramètres que requiert Eficas"
+      self.titre = "Parametres necessaires a la configuration d'EFICAS"
+      self.texte_ini = "Voici les parametres que requiert Eficas"
       self.commande = self.creation_fichier_ini_si_possible
       self.pref=""
-      self.labels={"initialdir"    : "Répertoire initial pour Open/Save des fichiers",
-                   "rep_travail"   : "Répertoire de travail",
-                   "rep_mat"       : "Répertoire materiaux",
-                   "path_doc"      : "Chemin d'accès à la doc Aster",
+      self.labels={"initialdir"    : "Repertoire initial pour Open/Save des fichiers",
+                   "rep_travail"   : "Repertoire de travail",
+                   "rep_mat"       : "Repertoire materiaux",
+                   "path_doc"      : "Chemin d'acces a la doc Aster",
                    "exec_acrobat"  : "Ligne de commande Acrobat Reader",
                    "catalogues"    : "Versions du code ",
                    "isdeveloppeur" : "Niveau de message ",
-                   "path_cata_dev" : "Chemin d'accès aux catalogues développeurs"}
+                   "path_cata_dev" : "Chemin d'acces aux catalogues developpeurs"}
                    
       self.types ={"initialdir":"rep", "rep_travail":"rep","rep_mat":"rep",
                    "path_doc": "rep","exec_acrobat":"file","exec_acrobat":"file",
@@ -243,15 +248,15 @@ class CONFIGStyle(CONFIGbase):
       self.fichier="style.py"
       self.rep_ini = rep_ini
       self.fic_ini = os.path.join(self.rep_ini,self.fichier)
-      self.titre = "Paramètres d affichage"
-      self.texte_ini = "Voici les paramètres configurables :  "
+      self.titre = "Parametres d affichage"
+      self.texte_ini = "Voici les parametres configurables :  "
       self.commande = self.creation_fichier_ini_si_possible
       self.pref="style."
       self.labels={"background":"couleur du fonds", 
                    "foreground":"couleur de la police standard" ,
                    "standard":" police et taille standard",
-                   "standard_italique":"police utilisée pour l'arbre ",
-                   "standard_gras_souligne":"police utilisée pour le gras souligné",
+                   "standard_italique":"police utilisee pour l'arbre ",
+                   "standard_gras_souligne":"police utilisee pour le gras souligne",
                    "canvas_italique":"police italique",
                    "standard_gras":"gras",
                    #"canvas":"police",
@@ -261,7 +266,7 @@ class CONFIGStyle(CONFIGbase):
                    #"standard12_gras":"police 12 gras",
                    #"standard12_gras_italique":"police 12 gras italique",
                    #"standardcourier10":"courrier "
-                   "statusfont":"police utilisée dans la status Bar",
+                   "statusfont":"police utilisee dans la status Bar",
                   }
       self.types ={"background":"mot", 
                    "foreground":"mot" ,
@@ -294,7 +299,7 @@ def make_config_style(appli,rep):
 
 
 """
-lecture des paramètres standards et utilisateur
+lecture des parametres standards et utilisateur
 """
 import prefs
 appli = None
index 65dd01289aad89529fc03c7ba3ddc7762c4637a7..272c89afd2936e8ebc2a0b51f498a80e06bbe918 100644 (file)
@@ -96,22 +96,29 @@ class MonFonctionPanel(MonPlusieursBasePanel):
            self.LEValeur.setText(QString(""))
            l1=self.listeValeursCourantes[:indexListe]
            l3=self.listeValeursCourantes[indexListe:]
-           print l1
-           print l3
            for valeur in self.DecoupeListeValeurs(listeRetour):
                self.LBValeurs.insertItem(QString(str(valeur)),index)
                index=index+1
            self.listeValeursCourantes=l1+listeRetour+l3
 
 
-    def Sup1Valeur(self):
+  def Sup1Valeur(self):
         index=self.LBValeurs.currentItem()
         self.LBValeurs.removeItem(self.LBValeurs.currentItem())
         listeVal=[]
         i=0
         for valeur in self.listeValeursCourantes :
-                if i != index : listeVal.append(valeur)
+                if self.nbValeurs == 2 :
+                   if (i != index*2 and i != index*2+1 ) : listeVal.append(valeur)
+                elif self.nbValeurs == 3 :
+                   if (i != index*3 and i != index*3+1 and i != index*3 +2) : listeVal.append(valeur)
+                else :
+                   print "aiiiiiiiiiiiiiiiiiieeee"
                 i = i+1
+        print listeVal
         self.listeValeursCourantes=listeVal
-        SaisieValeur.RemplitPanel(self,self.listeValeursCourantes)
+        listeValeurs=self.listeValeursCourantes
+        self.LBValeurs.clear()
+        for valeur in self.DecoupeListeValeurs(listeValeurs):
+            self.LBValeurs.insertItem(str(valeur))
 
index 58e58590d8163a26c1029a51f501eb7746b94fe8..697e5b47b259d88805b9c7c3b91fbc3ee43ac6e7 100644 (file)
@@ -376,7 +376,7 @@ class Eficas(QMainWindow):
 
 
     def languageChange(self):
-        self.setCaption(self.__tr("Eficas V1.10 pour Aster avec Catalogue V8.3"))
+        self.setCaption(self.__tr("Eficas "))
         self.fileNewAction.setText(self.__tr("New"))
         self.fileNewAction.setMenuText(self.__tr("&New"))
         self.fileNewAction.setAccel(self.__tr("Ctrl+N"))
index 7626731d0c5922420e9fc1d7e75b4d2ef9185d9f..93cba084fde23b668967544aaf9ab58b0a1158dd 100644 (file)
@@ -19,7 +19,7 @@
 #
 # ======================================================================
 """
-    Ce module sert à lire un catalogue et à construire
+    Ce module sert a lire un catalogue et a construire
     un objet CataItem pour Eficas.
     Il s'appuie sur la classe READERCATA
 """
@@ -32,87 +32,17 @@ import Pmw
 
 # Modules Eficas
 import prefs
-##import splash
 import fontes
 import analyse_catalogue
 from Noyau.N_CR import CR
-##from widgets import showinfo,showerror #CS_pbruno todo
-##from widgets import Fenetre            #CS_pbruno todo
 from utils import init_rep_cata_dev
 
-#import catabrowser
 import autre_analyse_cata
 import uiinfo
 
 
 from qt import *
-class SelectVersionDialog(QDialog):        
-    def __init__(self,versions, parent = None,name = None,modal = 0,fl = 0):
-        QDialog.__init__(self,parent,name,modal,fl)
-
-        self.versions   = versions
-        self.strSelectedVersion = None
-        if not name:
-            self.setName("MyDialog")
-
-        self.setSizeGripEnabled(1)
-
-        LayoutWidget = QWidget(self,"Layout1")
-        LayoutWidget.setGeometry(QRect(20,240,476,33))
-        Layout1 = QHBoxLayout(LayoutWidget,0,6,"Layout1")
-
-        self.buttonHelp = QPushButton(LayoutWidget,"buttonHelp")
-        self.buttonHelp.setAutoDefault(1)
-        Layout1.addWidget(self.buttonHelp)
-        Horizontal_Spacing2 = QSpacerItem(20,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
-        Layout1.addItem(Horizontal_Spacing2)
-
-        self.buttonOk = QPushButton(LayoutWidget,"buttonOk")
-        self.buttonOk.setAutoDefault(1)
-        self.buttonOk.setDefault(1)
-        Layout1.addWidget(self.buttonOk)
-
-        self.buttonCancel = QPushButton(LayoutWidget,"buttonCancel")
-        self.buttonCancel.setAutoDefault(1)
-        Layout1.addWidget(self.buttonCancel)
-
-        self.textLabel1 = QLabel(self,"textLabel1")
-        self.textLabel1.setGeometry(QRect(140,90,73,20))
-
-        self.comboBox1 = QComboBox(0,self,"comboBox1")
-        self.comboBox1.setGeometry(QRect(310,90,60,20))
-
-        self.languageChange()
-
-        self.resize(QSize(511,282).expandedTo(self.minimumSizeHint()))
-        self.clearWState(Qt.WState_Polished)
-
-        self.connect(self.buttonOk,SIGNAL("clicked()"),self.accept)
-        self.connect(self.buttonCancel,SIGNAL("clicked()"),self.reject)
-        
-        for aVersion in self.versions:
-            self.comboBox1.insertItem( aVersion )
-
-    def languageChange(self):
-        self.setCaption(self.__tr("MyDialog"))
-        self.buttonHelp.setText(self.__tr("&Help"))
-        self.buttonHelp.setAccel(self.__tr("F1"))
-        self.buttonOk.setText(self.__tr("&OK"))
-        self.buttonOk.setAccel(QString.null)
-        self.buttonCancel.setText(self.__tr("&Cancel"))
-        self.buttonCancel.setAccel(QString.null)
-        self.textLabel1.setText(self.__tr("choix version"))
-        
-    def __tr(self,s,c = None):
-        return qApp.translate("MyDialog",s,c)
-
-    def accept(self):
-        self.strSelectedVersion = str(self.comboBox1.currentText())
-        QDialog.accept(self)
-      
-##    def reject( self ):        
-##        QDialog.reject(self)
-        
+from monChoixCata import MonChoixCata
 
 
 
@@ -133,18 +63,17 @@ class READERCATA:
       self.code=self.appli.code
       self.appli.format_fichier.set('python')
       self.version_code=self.appli.version_code
+      self.version_cata=None
       self.fic_cata=None
       self.OpenCata()
       self.cataitem=None
 
    def OpenCata(self):
       """ 
-          Ouvre le catalogue standard du code courant, cad le catalogue présent
-          dans le répertoire Cata 
+          Ouvre le catalogue standard du code courant, cad le catalogue présent
+          dans le répertoire Cata 
       """
       message1 = "Compilation des fichiers Eficas \n\n Veuillez patienter ..."
-##      if self.appli.test == 0 :
-##         splash._splash.configure(text = message1)
       self.configure_barre(4)
 
       liste_cata_possibles=[]
@@ -163,15 +92,13 @@ class READERCATA:
              if self.version_code == cata[1]:
                 self.fic_cata = cata[2]
                 self.appli.format_fichier.set(cata[3])
-##                self.appli.format_fichier = cata[3]
       elif len(liste_cata_possibles)==1:
           self.fic_cata = liste_cata_possibles[0][2]
           self.code = self.appli.CONFIGURATION.catalogues[0][0]
           self.version_code = liste_cata_possibles[0][1]
           self.appli.format_fichier.set(liste_cata_possibles[0][3]) 
-##          self.appli.format_fichier = liste_cata_possibles[0][3]
       else:
-          # plusieurs catalogues sont disponibles : il faut demander à l'utilisateur
+          # plusieurs catalogues sont disponibles : il faut demander a l'utilisateur
           # lequel il veut utiliser ...
           self.ask_choix_catalogue()
 
@@ -179,45 +106,28 @@ class READERCATA:
           print "Pas de catalogue pour code %s, version %s" %(self.code,self.version_code)
           sys.exit(0)
 
-      # détermination de fic_cata_c et fic_cata_p
+      # détermination de fic_cata_c et fic_cata_p
       self.fic_cata_c = self.fic_cata + 'c'
       self.fic_cata_p = os.path.splitext(self.fic_cata)[0]+'_pickled.py'
 
-      #if self.appli.test == 0 :
-      #   splash._splash.configure(text = "Debut compil cata: %d s" % time.clock())
-      # compilation éventuelle du catalogue
-      #test = self.compile_cata(self.fic_cata,self.fic_cata_c)
-      #self.update_barre()
-      #if self.appli.test == 0 :
-      #   splash._splash.configure(text = "Fin compil cata: %d s" % time.clock())
-      #if not test : showerror("Compilation catalogue","Impossible de compiler le catalogue %s" %self.fic_cata)
-
       # import du catalogue
-##      if self.appli.test == 0 :
-##         splash._splash.configure(text = "Debut import_cata: %d s" % time.clock())
       self.cata = self.import_cata(self.fic_cata)
       self.update_barre()
-##      if self.appli.test == 0 :
-##         splash._splash.configure(text = "Fin import_cata: %d s" % time.clock())
       if not self.cata :          
           QMessageBox.critical( self.parent, "Import du catalogue","Impossible d'importer le catalogue %s" %self.fic_cata)
           self.appli.quit()
           sys.exit(1)
       #
-      # analyse du catalogue (ordre des mots-clés)
+      # analyse du catalogue (ordre des mots-clés)
       #
-##      if self.appli.test == 0 :
-##         splash._splash.configure(text = "Debut Retrouve_Ordre: %d s" % time.clock())
       # Retrouve_Ordre_Cata_Standard fait une analyse textuelle du catalogue
-      # remplacé par Retrouve_Ordre_Cata_Standard_autre qui utilise une numerotation
-      # des mots clés à la création
-      #self.Retrouve_Ordre_Cata_Standard()
+      # remplacé par Retrouve_Ordre_Cata_Standard_autre qui utilise une numerotation
+      # des mots clés a la création
       self.Retrouve_Ordre_Cata_Standard_autre()
       self.update_barre()
-##      if self.appli.test == 0 :
-##         splash._splash.configure(text = "Fin Retrouve_Ordre: %d s" % time.clock())
+
       #
-      # analyse des données liées Ã  l'IHM : UIinfo
+      # analyse des données liées a  l'IHM : UIinfo
       #
       uiinfo.traite_UIinfo(self.cata)
       self.update_barre()
@@ -227,17 +137,17 @@ class READERCATA:
       #
       self.traite_clefs_documentaires()
 
-      # chargement et analyse des catalogues développeur (le cas échéant)
+      # chargement et analyse des catalogues développeur (le cas échéant)
       #
       if self.appli.CONFIGURATION.isdeveloppeur == 'OUI' :
           init_rep_cata_dev(self.fic_cata,self.appli.CONFIGURATION.path_cata_dev)
           fic_cata_dev = os.path.join(self.appli.CONFIGURATION.path_cata_dev,'cata_developpeur.py')
           if os.path.isfile(fic_cata_dev):
-              # il y a bien un catalogue développeur : il faut récupérer le module_object associé ...
+              # il y a bien un catalogue développeur : il faut récupérer le module_object associé ...
               test = self.compile_cata(fic_cata_dev,fic_cata_dev+'c')
               if not test :
-                  showinfo("Compilation catalogue développeur",
-                           "Erreur dans la compilation du catalogue développeur")
+                  showinfo("Compilation catalogue développeur",
+                           "Erreur dans la compilation du catalogue développeur")
                   self.cata = (self.cata,)
               else:
                   self.cata_dev =self.import_cata(fic_cata_dev)
@@ -256,10 +166,8 @@ class READERCATA:
 
    def import_cata(self,cata):
       """ 
-          Réalise l'import du catalogue dont le chemin d'accès est donné par cata
+          Réalise l'import du catalogue dont le chemin d'acca¨s est donné par cata
       """
-##      if self.appli.test == 0 :
-##         splash._splash.configure(text = "Chargement du catalogue")
       nom_cata = os.path.splitext(os.path.basename(cata))[0]
       rep_cata = os.path.dirname(cata)
       sys.path[:0] = [rep_cata]
@@ -272,19 +180,19 @@ class READERCATA:
 
    def Retrouve_Ordre_Cata_Standard_autre(self):
       """ 
-          Construit une structure de données dans le catalogue qui permet
-          à EFICAS de retrouver l'ordre des mots-clés dans le texte du catalogue.
-          Pour chaque entité du catlogue on crée une liste de nom ordre_mc qui
-          contient le nom des mots clés dans le bon ordre
+          Construit une structure de données dans le catalogue qui permet
+          a  EFICAS de retrouver l'ordre des mots-clés dans le texte du catalogue.
+          Pour chaque entité du catlogue on crée une liste de nom ordre_mc qui
+          contient le nom des mots clés dans le bon ordre
       """ 
       self.cata_ordonne_dico,self.appli.liste_simp_reel=autre_analyse_cata.analyse_catalogue(self.cata)
 
    def Retrouve_Ordre_Cata_Standard(self):
       """ 
-          Retrouve l'ordre des mots-clés dans le catalogue, cad :
-           - si ce dernier a été modifié, relance l'analyse du catalogue pour déterminer
-               l'ordre des mots-clés dans le catalogue
-           - s'il n'a pas été modifié, relie le fichier pickle 
+          Retrouve l'ordre des mots-clés dans le catalogue, cad :
+           - si ce dernier a été modifié, relance l'analyse du catalogue pour déterminer
+               l'ordre des mots-clés dans le catalogue
+           - s'il n'a pas été modifié, relie le fichier pickle 
       """
       time1 = os.path.getmtime(self.fic_cata)
       try :
@@ -292,46 +200,42 @@ class READERCATA:
       except:
           time2 = 0
       if time2 > time1 :
-          # l'objet catalogue n'a pas été modifié depuis le dernier "pickle"
+          # l'objet catalogue n'a pas été modifié depuis le dernier "pickle"
           self.Get_Ordre_Cata()
       else :
-          # le catalogue a été modifié depuis le dernier "pickle" :
+          # le catalogue a été modifié depuis le dernier "pickle" :
           # il faut retrouver l'ordre du catalogue et refaire pickle
           self.Get_Ordre_Cata(mode='cata')
-      self.appli.affiche_infos("Catalogue standard chargé")
+      self.appli.affiche_infos("Catalogue standard chargé")
 
    def Retrouve_Ordre_Cata_Developpeur(self):
       """ 
-          Retrouve l'ordre des mots-clés dans le catalogue, cad :
-          - si ce dernier a été modifié, relance l'analyse du catalogue pour déterminer
-            l'ordre des mots-clés dans le catalogue
-          - s'il n'a pas été modifié, relie le fichier pickle 
+          Retrouve l'ordre des mots-clés dans le catalogue, cad :
+          - si ce dernier a été modifié, relance l'analyse du catalogue pour déterminer
+            l'ordre des mots-clés dans le catalogue
+          - s'il n'a pas été modifié, relie le fichier pickle 
       """
       if self.code != 'ASTER' : return
       fic_cata = os.path.join(self.appli.CONFIGURATION.path_cata_dev,'cata_developpeur.py')
-      message="Chargement catalogue développeur présent dans :\n %s..." % self.appli.CONFIGURATION.path_cata_dev
-##      if self.appli.test == 0 :
-##         splash._splash.configure(text = message,barre='oui')
+      message="Chargement catalogue développeur présent dans :\n %s..." % self.appli.CONFIGURATION.path_cata_dev
       cata_dev_ordonne = analyse_cata.analyse_catalogue(self,self.fic_cata)
       self.cata_dev_ordonne_cr = cata_dev_ordonne.cr
       cata_dev_ordonne_dico = cata_dev_ordonne.entites
       self.cata_ordonne_dico.update(cata_dev_ordonne_dico)
-      self.appli.affiche_infos(" catalogue(s) développeur(s) chargé(s)" )
+      self.appli.affiche_infos(" catalogue(s) développeur(s) chargé(s)" )
 
    def Retrouve_Ordre_Cata_Developpeur_autre(self):
       """
-          Retrouve l'ordre des mots-clés dans le catalogue, cad :
-          - si ce dernier a été modifié, relance l'analyse du catalogue pour déterminer
-            l'ordre des mots-clés dans le catalogue
-          - s'il n'a pas été modifié, relie le fichier pickle
+          Retrouve l'ordre des mots-clés dans le catalogue, cad :
+          - si ce dernier a été modifié, relance l'analyse du catalogue pour déterminer
+            l'ordre des mots-clés dans le catalogue
+          - s'il n'a pas été modifié, relie le fichier pickle
       """
       if self.code != 'ASTER' : return
-      message="Chargement catalogue développeur présent dans :\n %s..." % self.appli.CONFIGURATION.path_cata_dev
-##      if self.appli.test == 0 :
-##         splash._splash.configure(text = message,barre='oui')
+      message="Chargement catalogue développeur présent dans :\n %s..." % self.appli.CONFIGURATION.path_cata_dev
       cata_dev_ordonne_dico,self.appli.liste_simp_reel=autre_analyse_cata.analyse_catalogue(self.cata)
       self.cata_ordonne_dico.update(cata_dev_ordonne_dico)
-      self.appli.affiche_infos(" catalogue(s) développeur(s) chargé(s)" )
+      self.appli.affiche_infos(" catalogue(s) développeur(s) chargé(s)" )
 
    def Get_Ordre_Cata(self,mode='pickle'):
       """ 
@@ -343,33 +247,28 @@ class READERCATA:
           try:
               f = open(self.fic_cata_p)
               u = cPickle.Unpickler(f)
-##              if self.appli.test == 0 :
-##                 splash._splash.configure(text = "Analyse du catalogue")
               self.cata_ordonne_dico = u.load()
               f.close()
           except :
-              # on peut ne pas arriver à relire le fichier pickle s'il a été altéré
-              # ou (le plus probable) s'il a été créé sous un autre OS
+              # on peut ne pas arriver a  relire le fichier pickle s'il a été altéré
+              # ou (le plus probable) s'il a été créé sous un autre OS
               self.Get_Ordre_Cata(mode='cata')
       elif mode == 'cata':
-##          if self.appli.test == 0 :
-##              splash._splash.configure(text = "Analyse du catalogue",barre='oui')
           cata_ordonne = analyse_catalogue.analyse_catalogue(self,self.fic_cata)
           self.cata_ordonne_cr = cata_ordonne.cr
           self.cata_ordonne_dico = cata_ordonne.entites
-##          splash._splash.configure(text = "Sauvegarde des informations sur le catalogue")
           f = open(self.fic_cata_p,'w+')
           p = cPickle.Pickler(f)
           p.dump(self.cata_ordonne_dico)
           f.close()
       else :
-          raise Exception("Appel Ã  un mode inconnu de Get_Ordre_Cata : %s" % mode)
+          raise Exception("Appel a  un mode inconnu de Get_Ordre_Cata : %s" % mode)
           return
 
    def ask_choix_catalogue(self):
       """
-      Ouvre une fenêtre de sélection du catalogue dans le cas où plusieurs
-      ont été définis dans Accas/editeur.ini
+      Ouvre une fenetre de sélection du catalogue dans le cas oa¹ plusieurs
+      ont été définis dans Accas/editeur.ini
       """      
       # construction du dictionnaire et de la liste des catalogues
       self.dico_catalogues = {}
@@ -383,7 +282,7 @@ class READERCATA:
       liste_choix.sort()
       # test si plusieurs catalogues ou non
       if len(liste_choix) == 0:          
-          QMessageBox.critical( self.parent, "", "Aucun catalogue déclaré pour %s" %self.code)
+          QMessageBox.critical( self.parent, "", "Aucun catalogue déclaré pour %s" %self.code)
           self.appli.quit()
           sys.exit(1)
       elif len(liste_choix) == 1:
@@ -391,40 +290,26 @@ class READERCATA:
           self.version_code = liste_choix[0]
           return          
           
-      # création d'une boîte de dialogue modale
-##      version_cata = liste_choix[0]
-##      self.fic_cata = self.dico_catalogues[version_cata][2]
-##      self.version_code = version_cata
-##      self.appli.format_fichier = self.dico_catalogues[version_cata][3]
-      diag = SelectVersionDialog( liste_choix, self.parent, "", True )
-      ret = diag.exec_loop()
+      # création d'une boite de dialogue modale
+      widgetChoix=MonChoixCata(liste_choix,self, self.parent, "", True )
+      ret=widgetChoix.exec_loop()
       
       if ret == QDialog.Accepted:
-          version_cata = diag.strSelectedVersion
-          self.fic_cata = self.dico_catalogues[version_cata][2]
-          self.version_code = version_cata
-          ##self.appli.format_fichier = self.dico_catalogues[version_cata][3]
-          self.appli.format_fichier.set( self.dico_catalogues[version_cata][3] )
+          self.version_cata=str(self.version_cata)
+          self.fic_cata = self.dico_catalogues[self.version_cata][2]
+          self.version_code = self.version_cata
+          self.appli.format_fichier.set( self.dico_catalogues[self.version_cata][3] )
+          lab=QString("Eficas V1.11 pour ASTER avec le catalogue ")
+          lab+=self.version_cata
+          qApp.mainWidget().setCaption(lab)
+
 
 
-   def chooseCata(self,txt):
-      """ 
-          Méthode activée lorsque l'utilisateur a fait son choix et cliqué sur 'OK' ou sur 'ANNULER'
-      """
-      if txt == 'OK' :
-          version_cata = self.radiobutton.getcurselection()
-          self.fic_cata = self.dico_catalogues[version_cata][2]
-          self.version_code = version_cata
-          self.appli.format_fichier.set(self.dico_catalogues[version_cata][3]) 
-##          self.appli.format_fichier = self.dico_catalogues[version_cata][3]
-          self.fenetre_choix_cata.destroy()
-      else:
-          self.parent.destroy()
 
    def compile_cata(self,cata,catac):
       """ 
-           Teste si le catalogue a bien besoin d'être recompilé et si oui, le compile et
-           affiche un message dans le splash . Retourne 1 si la compilation s'est bien déroulée,
+           Teste si le catalogue a bien besoin d'etre recompilé et si oui, le compile et
+           affiche un message dans le splash . Retourne 1 si la compilation s'est bien déroulée,
            0 sinon.
       """
       time1 = os.path.getmtime(cata)
@@ -434,7 +319,7 @@ class READERCATA:
           time2 = 0
       if time1 > time2:
           try:
-              # le catalogue doit être recompilé avant d'être importé
+              # le catalogue doit etre recompilé avant d'etre importé
               if self.appli.test == 0 :
                  splash._splash.configure(text="Compilation du catalogue\nCela peut prendre plusieurs secondes ...")
               py_compile.compile(cata)
@@ -444,12 +329,12 @@ class READERCATA:
 
 
 #--------------------------------------------------------------------------------
-# Méthodes concernant la barre de progression lors de l'analyse du catalogue
+# Méthodes concernant la barre de progression lors de l'analyse du catalogue
 #--------------------------------------------------------------------------------
 
    def configure_barre(self,nbcommandes):
-      """ Configure la barre de progression en lui passant comme paramètre le
-          nombre de commandes du catalogue qui lui sert à déterminer la longueur de son incrément """
+      """ Configure la barre de progression en lui passant comme parama¨tre le
+          nombre de commandes du catalogue qui lui sert a  déterminer la longueur de son incrément """
       try:
           if self.appli.test == 0 :
              splash._splash.configure(barre='oui',ratio = nbcommandes)
@@ -457,7 +342,7 @@ class READERCATA:
           pass
 
    def update_barre(self):
-      """ Update la position de la barre de progression : la fait progresser de son incrément """
+      """ Update la position de la barre de progression : la fait progresser de son incrément """
       try:
           if self.appli.test == 0 :
              splash._splash.update_barre()
@@ -466,9 +351,9 @@ class READERCATA:
 
    def visuCRCATA(self):
       """
-      Méthode permettant l'affichage du rapport de validation
+      Méthode permettant l'affichage du rapport de validation
       """
-      cr = CR( debut = "Début rapport de validation du catalogue",
+      cr = CR( debut = "Début rapport de validation du catalogue",
                fin = "Fin rapport de validation du catalogue")
       titre="rapport de validation du catalogue"
       if hasattr(self,'cata_ordonne_cr') :
@@ -487,7 +372,7 @@ class READERCATA:
         self.fic_cata_clef=os.path.splitext(self.fic_cata_c)[0]+'_clefs_docu'
         f=open(self.fic_cata_clef)
       except:
-        #print "Pas de fichier associé contenant des clefs documentaires"
+        #print "Pas de fichier associé contenant des clefs documentaires"
         return
 
       dict_clef_docu={}
diff --git a/Ui/desChoixCata.py b/Ui/desChoixCata.py
new file mode 100644 (file)
index 0000000..8446d25
--- /dev/null
@@ -0,0 +1,79 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'desChoixCata.ui'
+#
+# Created: mer mai 23 10:40:48 2007
+#      by: The PyQt User Interface Compiler (pyuic) 3.13
+#
+# WARNING! All changes made in this file will be lost!
+
+
+from qt import *
+
+
+class DChoixCata(QDialog):
+    def __init__(self,parent = None,name = None,modal = 0,fl = 0):
+        QDialog.__init__(self,parent,name,modal,fl)
+
+        if not name:
+            self.setName("DChoixCata")
+
+        self.setSizeGripEnabled(1)
+
+
+        self.frame3 = QFrame(self,"frame3")
+        self.frame3.setGeometry(QRect(0,120,540,50))
+        self.frame3.setFrameShape(QFrame.StyledPanel)
+        self.frame3.setFrameShadow(QFrame.Raised)
+
+        self.buttonCancel = QPushButton(self.frame3,"buttonCancel")
+        self.buttonCancel.setGeometry(QRect(370,10,90,30))
+        self.buttonCancel.setAutoDefault(1)
+
+        self.buttonOk = QPushButton(self.frame3,"buttonOk")
+        self.buttonOk.setGeometry(QRect(80,10,90,30))
+        self.buttonOk.setAutoDefault(1)
+        self.buttonOk.setDefault(1)
+
+        self.textLabel1_2 = QLabel(self,"textLabel1_2")
+        self.textLabel1_2.setGeometry(QRect(40,50,340,20))
+
+        self.CBChoixCata = QComboBox(0,self,"CBChoixCata")
+        self.CBChoixCata.setEnabled(1)
+        self.CBChoixCata.setGeometry(QRect(400,41,101,30))
+
+        self.TLNb = QLabel(self,"TLNb")
+        self.TLNb.setGeometry(QRect(110,30,210,20))
+        self.TLNb.setMinimumSize(QSize(30,0))
+
+        self.languageChange()
+
+        self.resize(QSize(547,172).expandedTo(self.minimumSizeHint()))
+        self.clearWState(Qt.WState_Polished)
+
+        self.connect(self.buttonOk,SIGNAL("clicked()"),self.BOkPressed)
+        self.connect(self.buttonCancel,SIGNAL("clicked()"),self.BCancelPressed)
+        self.connect(self.CBChoixCata,SIGNAL("textChanged(const QString&)"),self.CataChoisi)
+
+
+    def languageChange(self):
+        self.setCaption(self.__tr("Choix d'une version du code Aster"))
+        self.buttonCancel.setText(self.__tr("&Cancel"))
+        self.buttonCancel.setAccel(QString.null)
+        self.buttonOk.setText(self.__tr("&OK"))
+        self.buttonOk.setAccel(QString.null)
+        self.textLabel1_2.setText(self.__tr("<font size=\"+1\">Veuillez choisir celle avec laquelle vous souhaitez travailler</font>"))
+        self.TLNb.setText(self.__tr("2"))
+
+
+    def CataChoisi(self):
+        print "DChoixCata.CataChoisi(): Not implemented yet"
+
+    def BOkPressed(self):
+        print "DChoixCata.BOkPressed(): Not implemented yet"
+
+    def BCancelPressed(self):
+        print "DChoixCata.BCancelPressed(): Not implemented yet"
+
+    def __tr(self,s,c = None):
+        return qApp.translate("DChoixCata",s,c)
diff --git a/Ui/desChoixCata.ui b/Ui/desChoixCata.ui
new file mode 100644 (file)
index 0000000..6629779
--- /dev/null
@@ -0,0 +1,168 @@
+<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
+<class>DChoixCata</class>
+<widget class="QDialog">
+    <property name="name">
+        <cstring>DChoixCata</cstring>
+    </property>
+    <property name="geometry">
+        <rect>
+            <x>0</x>
+            <y>0</y>
+            <width>547</width>
+            <height>172</height>
+        </rect>
+    </property>
+    <property name="caption">
+        <string>Choix d'une version du code Aster</string>
+    </property>
+    <property name="sizeGripEnabled">
+        <bool>true</bool>
+    </property>
+    <widget class="QFrame">
+        <property name="name">
+            <cstring>frame3</cstring>
+        </property>
+        <property name="geometry">
+            <rect>
+                <x>0</x>
+                <y>120</y>
+                <width>540</width>
+                <height>50</height>
+            </rect>
+        </property>
+        <property name="frameShape">
+            <enum>StyledPanel</enum>
+        </property>
+        <property name="frameShadow">
+            <enum>Raised</enum>
+        </property>
+        <widget class="QPushButton">
+            <property name="name">
+                <cstring>buttonCancel</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>370</x>
+                    <y>10</y>
+                    <width>90</width>
+                    <height>30</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>&amp;Cancel</string>
+            </property>
+            <property name="accel">
+                <string></string>
+            </property>
+            <property name="autoDefault">
+                <bool>true</bool>
+            </property>
+        </widget>
+        <widget class="QPushButton">
+            <property name="name">
+                <cstring>buttonOk</cstring>
+            </property>
+            <property name="geometry">
+                <rect>
+                    <x>80</x>
+                    <y>10</y>
+                    <width>90</width>
+                    <height>30</height>
+                </rect>
+            </property>
+            <property name="text">
+                <string>&amp;OK</string>
+            </property>
+            <property name="accel">
+                <string></string>
+            </property>
+            <property name="autoDefault">
+                <bool>true</bool>
+            </property>
+            <property name="default">
+                <bool>true</bool>
+            </property>
+        </widget>
+    </widget>
+    <widget class="QLabel">
+        <property name="name">
+            <cstring>textLabel1_2</cstring>
+        </property>
+        <property name="geometry">
+            <rect>
+                <x>40</x>
+                <y>50</y>
+                <width>340</width>
+                <height>20</height>
+            </rect>
+        </property>
+        <property name="text">
+            <string>&lt;font size="+1"&gt;Veuillez choisir celle avec laquelle vous souhaitez travailler&lt;/font&gt;</string>
+        </property>
+    </widget>
+    <widget class="QComboBox">
+        <property name="name">
+            <cstring>CBChoixCata</cstring>
+        </property>
+        <property name="enabled">
+            <bool>true</bool>
+        </property>
+        <property name="geometry">
+            <rect>
+                <x>400</x>
+                <y>41</y>
+                <width>101</width>
+                <height>30</height>
+            </rect>
+        </property>
+    </widget>
+    <widget class="QLabel">
+        <property name="name">
+            <cstring>TLNb</cstring>
+        </property>
+        <property name="geometry">
+            <rect>
+                <x>110</x>
+                <y>30</y>
+                <width>210</width>
+                <height>20</height>
+            </rect>
+        </property>
+        <property name="minimumSize">
+            <size>
+                <width>30</width>
+                <height>0</height>
+            </size>
+        </property>
+        <property name="text">
+            <string>2</string>
+        </property>
+    </widget>
+</widget>
+<connections>
+    <connection>
+        <sender>buttonOk</sender>
+        <signal>clicked()</signal>
+        <receiver>DChoixCata</receiver>
+        <slot>BOkPressed()</slot>
+    </connection>
+    <connection>
+        <sender>buttonCancel</sender>
+        <signal>clicked()</signal>
+        <receiver>DChoixCata</receiver>
+        <slot>BCancelPressed()</slot>
+    </connection>
+    <connection>
+        <sender>CBChoixCata</sender>
+        <signal>textChanged(const QString&amp;)</signal>
+        <receiver>DChoixCata</receiver>
+        <slot>CataChoisi()</slot>
+    </connection>
+</connections>
+<slots>
+    <slot>CataChoisi()</slot>
+    <slot>BOkPressed()</slot>
+    <slot>BCancelPressed()</slot>
+</slots>
+<layoutdefaults spacing="6" margin="11"/>
+</UI>
index 76a87727965abfe04b3024a75cbe42c926cb5493..9ae67ecb040a9abef9ff1f40c3852c4ed121cdea 100644 (file)
@@ -2,7 +2,7 @@
 
 # Form implementation generated from reading ui file 'desCommande.ui'
 #
-# Created: jeu mar 15 14:45:27 2007
+# Created: jeu avr 26 14:25:01 2007
 #      by: The PyQt User Interface Compiler (pyuic) 3.13
 #
 # WARNING! All changes made in this file will be lost!
@@ -69,19 +69,19 @@ class DComm(QWidget):
 
         self.MotClef = QWidget(self.TWChoix,"MotClef")
 
-        self.textLabel1 = QLabel(self.MotClef,"textLabel1")
-        self.textLabel1.setGeometry(QRect(50,10,120,20))
-        self.textLabel1.setMinimumSize(QSize(0,0))
-
-        self.textLabel1_2 = QLabel(self.MotClef,"textLabel1_2")
-        self.textLabel1_2.setGeometry(QRect(360,0,50,37))
-
         self.LBMCPermis = QListBox(self.MotClef,"LBMCPermis")
         self.LBMCPermis.setGeometry(QRect(10,40,220,290))
         self.LBMCPermis.setMinimumSize(QSize(0,0))
 
         self.LBRegles = QListBox(self.MotClef,"LBRegles")
         self.LBRegles.setGeometry(QRect(260,40,230,290))
+
+        self.textLabel1 = QLabel(self.MotClef,"textLabel1")
+        self.textLabel1.setGeometry(QRect(50,10,140,20))
+        self.textLabel1.setMinimumSize(QSize(0,0))
+
+        self.textLabel1_2 = QLabel(self.MotClef,"textLabel1_2")
+        self.textLabel1_2.setGeometry(QRect(360,0,50,37))
         self.TWChoix.insertTab(self.MotClef,QString(""))
 
         self.Concept = QWidget(self.TWChoix,"Concept")
@@ -148,8 +148,8 @@ class DComm(QWidget):
         self.connect(self.bSup,SIGNAL("pressed()"),self.BSupPressed)
         self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed)
         self.connect(self.LENomConcept,SIGNAL("returnPressed()"),self.LENomConceptReturnPressed)
-        self.connect(self.RBGroupe,SIGNAL("clicked()"),self.buildTabCommand)
-        self.connect(self.RBalpha,SIGNAL("clicked()"),self.buildTabCommand)
+        self.connect(self.RBGroupe,SIGNAL("clicked()"),self.BuildTabCommand)
+        self.connect(self.RBalpha,SIGNAL("clicked()"),self.BuildTabCommand)
         self.connect(self.bHelp,SIGNAL("clicked()"),self.BHelpPressed)
         self.connect(self.BNext,SIGNAL("pressed()"),self.BNextPressed)
 
@@ -167,7 +167,7 @@ class DComm(QWidget):
         self.bHelp.setAccel(self.__tr("Alt+D"))
         QToolTip.add(self.bHelp,self.__tr("affichage documentation aster"))
         self.textLabel1.setText(self.__tr("<h3><p align=\"center\"><u><b>Mots Clefs Permis</b></u></p></h3>"))
-        self.textLabel1_2.setText(self.__trUtf8("\x3c\x68\x33\x3e\x3c\x70\x20\x61\x6c\x69\x67\x6e\x3d\x22\x63\x65\x6e\x74\x65\x72\x22\x3e\x3c\x75\x3e\x3c\x62\x3e\x52\xc3\xa9\x67\x6c\x65\x73\x3c\x2f\x62\x3e\x3c\x2f\x75\x3e\x3c\x2f\x70\x3e\x3c\x2f\x68\x33\x3e"))
+        self.textLabel1_2.setText(self.__trUtf8("\x3c\x68\x33\x3e\x3c\x70\x20\x61\x6c\x69\x67\x6e\x3d\x22\x63\x65\x6e\x74\x65\x72\x22\x3e\x3c\x75\x3e\x3c\x62\x3e\x52\xc3\xa8\x67\x6c\x65\x73\x3c\x2f\x62\x3e\x3c\x2f\x75\x3e\x3c\x2f\x70\x3e\x3c\x2f\x68\x33\x3e"))
         self.TWChoix.changeTab(self.MotClef,self.__tr("Ajouter Mot-Clef"))
         self.groupBox1.setTitle(self.__tr("Concept"))
         self.textLabel1_3.setText(self.__tr("<u>Nom du concept :</u>"))
@@ -204,8 +204,8 @@ class DComm(QWidget):
     def BOkPressed(self):
         print "DComm.BOkPressed(): Not implemented yet"
 
-    def buildTabCommand(self):
-        print "DComm.buildTabCommand(): Not implemented yet"
+    def BuildTabCommand(self):
+        print "DComm.BuildTabCommand(): Not implemented yet"
 
     def BHelpPressed(self):
         print "DComm.BHelpPressed(): Not implemented yet"
index 2dd2a4280a08e9f047b7670c7e11d85d81160c40..e8d3037b0d5390710fb61da07d5afa8aa5b0ece7 100644 (file)
         <sender>RBGroupe</sender>
         <signal>clicked()</signal>
         <receiver>DComm</receiver>
-        <slot>buildTabCommand()</slot>
+        <slot>BuildTabCommand()</slot>
     </connection>
     <connection>
         <sender>RBalpha</sender>
         <signal>clicked()</signal>
         <receiver>DComm</receiver>
-        <slot>buildTabCommand()</slot>
+        <slot>BuildTabCommand()</slot>
     </connection>
     <connection>
         <sender>bHelp</sender>
     <slot>BSupPressed()</slot>
     <slot>LENomConceptReturnPressed()</slot>
     <slot>BOkPressed()</slot>
-    <slot>buildTabCommand()</slot>
+    <slot>BuildTabCommand()</slot>
     <slot>BHelpPressed()</slot>
     <slot>BNextPressed()</slot>
 </slots>
diff --git a/Ui/desFormule.py b/Ui/desFormule.py
new file mode 100644 (file)
index 0000000..d172fb8
--- /dev/null
@@ -0,0 +1,226 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'desFonction.ui'
+#
+# Created: jeu avr 26 14:25:39 2007
+#      by: The PyQt User Interface Compiler (pyuic) 3.13
+#
+# WARNING! All changes made in this file will be lost!
+
+
+from qt import *
+
+image0_data = \
+    "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
+    "\x49\x48\x44\x52\x00\x00\x00\x21\x00\x00\x00\x0e" \
+    "\x08\x06\x00\x00\x00\xa1\x1e\x75\x8c\x00\x00\x00" \
+    "\xcf\x49\x44\x41\x54\x38\x8d\xd5\x94\xdb\x0e\xc3" \
+    "\x20\x0c\x43\xed\xfd\xf8\xd8\x97\xbb\x0f\x34\x5b" \
+    "\x48\x08\x45\xd5\x1e\xb6\x48\x88\xf4\x12\xe7\x60" \
+    "\x01\xc0\x0f\x04\x6f\xd6\xe9\x9b\xba\x77\x20\x04" \
+    "\x80\x92\x4a\x10\x32\xc9\x2e\xfb\xd8\xc7\xd5\xca" \
+    "\xbc\xc0\x25\x40\x00\x99\xe9\x57\x84\x95\x68\xfe" \
+    "\x7f\x06\xc0\xde\xd1\xde\xb3\x2b\x4a\x1e\xc4\xea" \
+    "\x82\x4b\x9e\x74\x09\x71\x65\xbd\x01\xf8\x55\x27" \
+    "\xf7\x8a\x72\x01\xe0\xa3\x12\x9f\x34\x5a\x01\x7c" \
+    "\x54\x3b\xaf\xdc\x98\x3d\x0f\x71\x09\xd1\x5a\x33" \
+    "\x1b\x47\x1f\x47\x07\x2c\x17\x49\x4a\x82\x33\x8f" \
+    "\x61\x78\x20\x3a\x88\x17\xe6\x73\x06\xb1\xf0\x8b" \
+    "\x07\xba\x03\xe6\x02\xc9\xb8\x31\x07\x7e\x37\xe0" \
+    "\x20\x9e\x67\xe3\x38\x67\x10\x97\x7b\x17\xde\x80" \
+    "\xc1\x85\xad\x38\x69\x5a\x51\xd5\x22\xc8\x2c\xe7" \
+    "\x79\x12\xe2\xfe\xd8\xbe\x83\x76\x20\x92\xf5\x2b" \
+    "\x18\x20\xdd\x11\xbb\x10\xe5\x65\xb5\x3a\x5a\x3b" \
+    "\xba\xff\x13\x07\x13\xd6\x6f\xa6\x98\x18\x57\x06" \
+    "\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82"
+
+class DFormule(QWidget):
+    def __init__(self,parent = None,name = None,fl = 0):
+        QWidget.__init__(self,parent,name,fl)
+
+        self.image0 = QPixmap()
+        self.image0.loadFromData(image0_data,"PNG")
+        if not name:
+            self.setName("DFormule")
+
+        self.setMinimumSize(QSize(505,0))
+
+
+        self.bSup = QPushButton(self,"bSup")
+        self.bSup.setGeometry(QRect(320,440,142,30))
+        self.bSup.setAutoDefault(1)
+
+        self.bHelp = QPushButton(self,"bHelp")
+        self.bHelp.setGeometry(QRect(10,440,142,30))
+        self.bHelp.setAutoDefault(1)
+
+        self.Commentaire = QLabel(self,"Commentaire")
+        self.Commentaire.setGeometry(QRect(-8,404,490,20))
+
+        self.bOk = QPushButton(self,"bOk")
+        self.bOk.setGeometry(QRect(170,440,142,30))
+        self.bOk.setAutoDefault(1)
+        self.bOk.setDefault(1)
+
+        self.TWChoix = QTabWidget(self,"TWChoix")
+        self.TWChoix.setGeometry(QRect(0,0,500,400))
+
+        self.Formule = QWidget(self.TWChoix,"Formule")
+
+        self.LECorpsFormule = QLineEdit(self.Formule,"LECorpsFormule")
+        self.LECorpsFormule.setGeometry(QRect(20,220,440,31))
+
+        self.textLabel1_2 = QLabel(self.Formule,"textLabel1_2")
+        self.textLabel1_2.setGeometry(QRect(290,10,80,20))
+
+        self.textLabel1 = QLabel(self.Formule,"textLabel1")
+        self.textLabel1.setGeometry(QRect(30,10,160,30))
+        self.textLabel1.setMinimumSize(QSize(0,0))
+
+        self.textLabel2 = QLabel(self.Formule,"textLabel2")
+        self.textLabel2.setGeometry(QRect(220,40,220,20))
+
+        self.LENomFormule = QLineEdit(self.Formule,"LENomFormule")
+        self.LENomFormule.setGeometry(QRect(30,70,171,31))
+
+        self.LENomsArgs = QLineEdit(self.Formule,"LENomsArgs")
+        self.LENomsArgs.setGeometry(QRect(220,70,230,31))
+
+        self.textLabel1_5 = QLabel(self.Formule,"textLabel1_5")
+        self.textLabel1_5.setGeometry(QRect(30,180,420,20))
+        self.textLabel1_5.setMinimumSize(QSize(0,0))
+
+        self.textLabel1_3 = QLabel(self.Formule,"textLabel1_3")
+        self.textLabel1_3.setGeometry(QRect(70,260,300,20))
+
+        self.textLabel1_3_2 = QLabel(self.Formule,"textLabel1_3_2")
+        self.textLabel1_3_2.setGeometry(QRect(28,306,401,31))
+
+        self.textLabel1_6 = QLabel(self.Formule,"textLabel1_6")
+        self.textLabel1_6.setGeometry(QRect(210,60,20,50))
+
+        self.textLabel1_6_2 = QLabel(self.Formule,"textLabel1_6_2")
+        self.textLabel1_6_2.setGeometry(QRect(460,60,20,50))
+
+        self.textLabel2_2 = QLabel(self.Formule,"textLabel2_2")
+        self.textLabel2_2.setGeometry(QRect(210,130,49,20))
+        self.TWChoix.insertTab(self.Formule,QString(""))
+
+        self.Commande = QWidget(self.TWChoix,"Commande")
+
+        self.textLabel6 = QLabel(self.Commande,"textLabel6")
+        self.textLabel6.setGeometry(QRect(10,60,60,30))
+
+        self.textLabel4 = QLabel(self.Commande,"textLabel4")
+        self.textLabel4.setGeometry(QRect(90,340,300,30))
+
+        self.LBNouvCommande = QListBox(self.Commande,"LBNouvCommande")
+        self.LBNouvCommande.setGeometry(QRect(50,100,410,240))
+
+        self.buttonGroup1 = QButtonGroup(self.Commande,"buttonGroup1")
+        self.buttonGroup1.setGeometry(QRect(300,20,151,70))
+
+        self.RBGroupe = QRadioButton(self.buttonGroup1,"RBGroupe")
+        self.RBGroupe.setGeometry(QRect(20,40,101,20))
+
+        self.RBalpha = QRadioButton(self.buttonGroup1,"RBalpha")
+        self.RBalpha.setGeometry(QRect(20,20,101,20))
+        self.RBalpha.setChecked(1)
+
+        self.LEFiltre = QLineEdit(self.Commande,"LEFiltre")
+        self.LEFiltre.setGeometry(QRect(50,60,160,30))
+
+        self.textLabel1_4 = QLabel(self.Commande,"textLabel1_4")
+        self.textLabel1_4.setGeometry(QRect(50,20,171,21))
+
+        self.BNext = QToolButton(self.Commande,"BNext")
+        self.BNext.setGeometry(QRect(220,60,30,31))
+        self.BNext.setIconSet(QIconSet(self.image0))
+        self.TWChoix.insertTab(self.Commande,QString(""))
+
+        self.languageChange()
+
+        self.resize(QSize(529,484).expandedTo(self.minimumSizeHint()))
+        self.clearWState(Qt.WState_Polished)
+
+        self.connect(self.LBNouvCommande,SIGNAL("clicked(QListBoxItem*)"),self.LBNouvCommandeClicked)
+        self.connect(self.LEFiltre,SIGNAL("textChanged(const QString&)"),self.LEFiltreTextChanged)
+        self.connect(self.LEFiltre,SIGNAL("returnPressed()"),self.LEfiltreReturnPressed)
+        self.connect(self.bSup,SIGNAL("pressed()"),self.BSupPressed)
+        self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed)
+        self.connect(self.RBalpha,SIGNAL("clicked()"),self.BuildTabCommand)
+        self.connect(self.RBGroupe,SIGNAL("clicked()"),self.BuildTabCommand)
+        self.connect(self.BNext,SIGNAL("clicked()"),self.BNextPressed)
+        self.connect(self.LENomFormule,SIGNAL("returnPressed()"),self.NomFormuleSaisi)
+        self.connect(self.LENomsArgs,SIGNAL("returnPressed()"),self.argsSaisis)
+        self.connect(self.LECorpsFormule,SIGNAL("returnPressed()"),self.FormuleSaisie)
+
+
+    def languageChange(self):
+        self.setCaption(self.__tr("DMacro"))
+        self.bSup.setText(self.__tr("&Supprimer"))
+        self.bSup.setAccel(self.__tr("Alt+S"))
+        QToolTip.add(self.bSup,self.__tr("suppression du mot clef"))
+        self.bHelp.setText(self.__tr("&Documentation"))
+        self.bHelp.setAccel(self.__tr("Alt+D"))
+        QToolTip.add(self.bHelp,self.__tr("affichage documentation aster"))
+        self.Commentaire.setText(QString.null)
+        self.bOk.setText(self.__tr("&Valider"))
+        self.bOk.setAccel(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))
+        QToolTip.add(self.bOk,self.__tr("validation de la saisie"))
+        self.textLabel1_2.setText(self.__tr("<h3><p align=\"center\"><u><b>Arguments</b></u></p></h3>"))
+        self.textLabel1.setText(self.__tr("<h3><p align=\"center\"><u><b>Nom de la formule</b></u></p></h3>"))
+        self.textLabel2.setText(self.__trUtf8("\x76\x61\x72\x69\x61\x62\x6c\x65\x73\x20\x73\xc3\xa9\x70\x61\x72\xc3\xa9\x65\x73\x20\x70\x61\x72\x20\x64\x65\x73\x20\x22\x2c\x22\x20\x70\x61\x72\x20\x65\x78\x2e\x20\x3a\x20\x78\x2c\x79\x2c\x7a"))
+        self.textLabel1_5.setText(self.__tr("<h3><p align=\"center\"><u><b>Corps de la formule</b></u></p></h3>"))
+        self.textLabel1_3.setText(self.__trUtf8("\x52\x65\x74\x6f\x75\x72\x2d\x43\x68\x61\x72\x69\x6f\x74\x20\x70\x65\x72\x6d\x65\x74\x20\x64\x65\x20\x76\xc3\xa9\x72\x69\x66\x69\x65\x72\x20\x71\x75\x65\x20\x6c\x27\x65\x78\x70\x72\x65\x73\x73\x69\x6f\x6e\x20\x65\x73\x74\x20\x76\x61\x6c\x69\x64\x65\x2e"))
+        self.textLabel1_3_2.setText(self.__trUtf8("\x43\x65\x20\x6e\x27\x65\x73\x74\x20\x71\x75\x27\x61\x70\x72\xc3\xa8\x73\x20\x61\x76\x6f\x69\x72\x20\x61\x70\x70\x75\x79\xc3\xa9\x20\x73\x75\x72\x20\x6c\x65\x20\x62\x6f\x75\x74\x6f\x6e\x20\x56\x61\x6c\x69\x64\x65\x72\x20\x71\x75\x65\x20\x6c\x65\x73\x20\x6e\x6f\x75\x76\x65\x6c\x6c\x65\x73\x0a\x76\x61\x65\x6c\x75\x72\x73\x20\x73\x65\x72\x6f\x6e\x74\x20\x65\x66\x66\x65\x63\x74\x69\x76\x65\x6d\x65\x6e\x74\x20\x70\x72\x69\x73\x65\x73\x20\x65\x6e\x20\x63\x6f\x6d\x70\x74\x65"))
+        self.textLabel1_6.setText(self.__tr("<h1><b>(</b></h1>"))
+        self.textLabel1_6_2.setText(self.__tr("<h1><b>)</b></h1>"))
+        self.textLabel2_2.setText(self.__tr("<font size=\"+4\" face=\"Helvetica\"><b>=</b></font>"))
+        self.TWChoix.changeTab(self.Formule,self.__trUtf8("\x44\xc3\xa9\x66\x69\x6e\x69\x74\x69\x6f\x6e\x20\x46\x6f\x72\x6d\x75\x6c\x65"))
+        self.textLabel6.setText(self.__tr("Filtre"))
+        self.textLabel4.setText(self.__trUtf8("\x4c\x61\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x65\x20\x63\x68\x6f\x69\x73\x69\x65\x20\x73\x65\x72\x61\x20\x61\x6a\x6f\x75\x74\xc3\xa9\x65\x20\x41\x50\x52\x45\x53\x20\x6c\x61\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x65\x20\x63\x6f\x75\x72\x61\x6e\x74\x65"))
+        self.buttonGroup1.setTitle(self.__tr("Affichage"))
+        self.RBGroupe.setText(self.__tr("par groupe"))
+        self.RBalpha.setText(self.__trUtf8("\x61\x6c\x70\x68\x61\x62\xc3\xa9\x74\x69\x71\x75\x65"))
+        self.textLabel1_4.setText(self.__tr("<b><u>Commandes :</u></b>"))
+        self.BNext.setText(QString.null)
+        QToolTip.add(self.BNext,self.__tr("affiche la prochaine occurence"))
+        self.TWChoix.changeTab(self.Commande,self.__tr("Nouvelle Commande"))
+
+
+    def LBNouvCommandeClicked(self):
+        print "DFormule.LBNouvCommandeClicked(): Not implemented yet"
+
+    def LEFiltreTextChanged(self):
+        print "DFormule.LEFiltreTextChanged(): Not implemented yet"
+
+    def LEfiltreReturnPressed(self):
+        print "DFormule.LEfiltreReturnPressed(): Not implemented yet"
+
+    def BSupPressed(self):
+        print "DFormule.BSupPressed(): Not implemented yet"
+
+    def BOkPressed(self):
+        print "DFormule.BOkPressed(): Not implemented yet"
+
+    def BuildTabCommand(self):
+        print "DFormule.BuildTabCommand(): Not implemented yet"
+
+    def BNextPressed(self):
+        print "DFormule.BNextPressed(): Not implemented yet"
+
+    def NomFormuleSaisi(self):
+        print "DFormule.NomFormuleSaisi(): Not implemented yet"
+
+    def argsSaisis(self):
+        print "DFormule.argsSaisis(): Not implemented yet"
+
+    def FormuleSaisie(self):
+        print "DFormule.FormuleSaisie(): Not implemented yet"
+
+    def __tr(self,s,c = None):
+        return qApp.translate("DFormule",s,c)
+
+    def __trUtf8(self,s,c = None):
+        return qApp.translate("DFormule",s,c,QApplication.UnicodeUTF8)
diff --git a/Ui/desFormule.ui b/Ui/desFormule.ui
new file mode 100644 (file)
index 0000000..b2156ae
--- /dev/null
@@ -0,0 +1,577 @@
+<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
+<class>DFormule</class>
+<widget class="QWidget">
+    <property name="name">
+        <cstring>DFormule</cstring>
+    </property>
+    <property name="geometry">
+        <rect>
+            <x>0</x>
+            <y>0</y>
+            <width>529</width>
+            <height>484</height>
+        </rect>
+    </property>
+    <property name="minimumSize">
+        <size>
+            <width>505</width>
+            <height>0</height>
+        </size>
+    </property>
+    <property name="caption">
+        <string>DMacro</string>
+    </property>
+    <widget class="QPushButton">
+        <property name="name">
+            <cstring>bSup</cstring>
+        </property>
+        <property name="geometry">
+            <rect>
+                <x>320</x>
+                <y>440</y>
+                <width>142</width>
+                <height>30</height>
+            </rect>
+        </property>
+        <property name="text">
+            <string>&amp;Supprimer</string>
+        </property>
+        <property name="accel">
+            <string>Alt+S</string>
+        </property>
+        <property name="autoDefault">
+            <bool>true</bool>
+        </property>
+        <property name="toolTip" stdset="0">
+            <string>suppression du mot clef</string>
+        </property>
+    </widget>
+    <widget class="QPushButton">
+        <property name="name">
+            <cstring>bHelp</cstring>
+        </property>
+        <property name="geometry">
+            <rect>
+                <x>10</x>
+                <y>440</y>
+                <width>142</width>
+                <height>30</height>
+            </rect>
+        </property>
+        <property name="text">
+            <string>&amp;Documentation</string>
+        </property>
+        <property name="accel">
+            <string>Alt+D</string>
+        </property>
+        <property name="autoDefault">
+            <bool>true</bool>
+        </property>
+        <property name="toolTip" stdset="0">
+            <string>affichage documentation aster</string>
+        </property>
+    </widget>
+    <widget class="QLabel">
+        <property name="name">
+            <cstring>Commentaire</cstring>
+        </property>
+        <property name="geometry">
+            <rect>
+                <x>-8</x>
+                <y>404</y>
+                <width>490</width>
+                <height>20</height>
+            </rect>
+        </property>
+        <property name="text">
+            <string></string>
+        </property>
+    </widget>
+    <widget class="QPushButton">
+        <property name="name">
+            <cstring>bOk</cstring>
+        </property>
+        <property name="geometry">
+            <rect>
+                <x>170</x>
+                <y>440</y>
+                <width>142</width>
+                <height>30</height>
+            </rect>
+        </property>
+        <property name="text">
+            <string>&amp;Valider</string>
+        </property>
+        <property name="accel">
+            <string>Shift+A, Alt+A, Alt+A, Alt+A</string>
+        </property>
+        <property name="autoDefault">
+            <bool>true</bool>
+        </property>
+        <property name="default">
+            <bool>true</bool>
+        </property>
+        <property name="toolTip" stdset="0">
+            <string>validation de la saisie</string>
+        </property>
+    </widget>
+    <widget class="QTabWidget">
+        <property name="name">
+            <cstring>TWChoix</cstring>
+        </property>
+        <property name="geometry">
+            <rect>
+                <x>0</x>
+                <y>0</y>
+                <width>500</width>
+                <height>400</height>
+            </rect>
+        </property>
+        <widget class="QWidget">
+            <property name="name">
+                <cstring>Formule</cstring>
+            </property>
+            <attribute name="title">
+                <string>Définition Formule</string>
+            </attribute>
+            <widget class="QLineEdit">
+                <property name="name">
+                    <cstring>LECorpsFormule</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>20</x>
+                        <y>220</y>
+                        <width>440</width>
+                        <height>31</height>
+                    </rect>
+                </property>
+            </widget>
+            <widget class="QLabel">
+                <property name="name">
+                    <cstring>textLabel1_2</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>290</x>
+                        <y>10</y>
+                        <width>80</width>
+                        <height>20</height>
+                    </rect>
+                </property>
+                <property name="text">
+                    <string>&lt;h3&gt;&lt;p align="center"&gt;&lt;u&gt;&lt;b&gt;Arguments&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;/h3&gt;</string>
+                </property>
+            </widget>
+            <widget class="QLabel">
+                <property name="name">
+                    <cstring>textLabel1</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>30</x>
+                        <y>10</y>
+                        <width>160</width>
+                        <height>30</height>
+                    </rect>
+                </property>
+                <property name="minimumSize">
+                    <size>
+                        <width>0</width>
+                        <height>0</height>
+                    </size>
+                </property>
+                <property name="text">
+                    <string>&lt;h3&gt;&lt;p align="center"&gt;&lt;u&gt;&lt;b&gt;Nom de la formule&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;/h3&gt;</string>
+                </property>
+            </widget>
+            <widget class="QLabel">
+                <property name="name">
+                    <cstring>textLabel2</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>220</x>
+                        <y>40</y>
+                        <width>220</width>
+                        <height>20</height>
+                    </rect>
+                </property>
+                <property name="text">
+                    <string>variables séparées par des "," par ex. : x,y,z</string>
+                </property>
+            </widget>
+            <widget class="QLineEdit">
+                <property name="name">
+                    <cstring>LENomFormule</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>30</x>
+                        <y>70</y>
+                        <width>171</width>
+                        <height>31</height>
+                    </rect>
+                </property>
+            </widget>
+            <widget class="QLineEdit">
+                <property name="name">
+                    <cstring>LENomsArgs</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>220</x>
+                        <y>70</y>
+                        <width>230</width>
+                        <height>31</height>
+                    </rect>
+                </property>
+            </widget>
+            <widget class="QLabel">
+                <property name="name">
+                    <cstring>textLabel1_5</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>30</x>
+                        <y>180</y>
+                        <width>420</width>
+                        <height>20</height>
+                    </rect>
+                </property>
+                <property name="minimumSize">
+                    <size>
+                        <width>0</width>
+                        <height>0</height>
+                    </size>
+                </property>
+                <property name="text">
+                    <string>&lt;h3&gt;&lt;p align="center"&gt;&lt;u&gt;&lt;b&gt;Corps de la formule&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;/h3&gt;</string>
+                </property>
+            </widget>
+            <widget class="QLabel">
+                <property name="name">
+                    <cstring>textLabel1_3</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>70</x>
+                        <y>260</y>
+                        <width>300</width>
+                        <height>20</height>
+                    </rect>
+                </property>
+                <property name="text">
+                    <string>Retour-Chariot permet de vérifier que l'expression est valide.</string>
+                </property>
+            </widget>
+            <widget class="QLabel">
+                <property name="name">
+                    <cstring>textLabel1_3_2</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>28</x>
+                        <y>306</y>
+                        <width>401</width>
+                        <height>31</height>
+                    </rect>
+                </property>
+                <property name="text">
+                    <string>Ce n'est qu'après avoir appuyé sur le bouton Valider que les nouvelles
+vaelurs seront effectivement prises en compte</string>
+                </property>
+            </widget>
+            <widget class="QLabel">
+                <property name="name">
+                    <cstring>textLabel1_6</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>210</x>
+                        <y>60</y>
+                        <width>20</width>
+                        <height>50</height>
+                    </rect>
+                </property>
+                <property name="text">
+                    <string>&lt;h1&gt;&lt;b&gt;(&lt;/b&gt;&lt;/h1&gt;</string>
+                </property>
+            </widget>
+            <widget class="QLabel">
+                <property name="name">
+                    <cstring>textLabel1_6_2</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>460</x>
+                        <y>60</y>
+                        <width>20</width>
+                        <height>50</height>
+                    </rect>
+                </property>
+                <property name="text">
+                    <string>&lt;h1&gt;&lt;b&gt;)&lt;/b&gt;&lt;/h1&gt;</string>
+                </property>
+            </widget>
+            <widget class="QLabel">
+                <property name="name">
+                    <cstring>textLabel2_2</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>210</x>
+                        <y>130</y>
+                        <width>49</width>
+                        <height>20</height>
+                    </rect>
+                </property>
+                <property name="text">
+                    <string>&lt;font size="+4" face="Helvetica"&gt;&lt;b&gt;=&lt;/b&gt;&lt;/font&gt;</string>
+                </property>
+            </widget>
+        </widget>
+        <widget class="QWidget">
+            <property name="name">
+                <cstring>Commande</cstring>
+            </property>
+            <attribute name="title">
+                <string>Nouvelle Commande</string>
+            </attribute>
+            <widget class="QLabel">
+                <property name="name">
+                    <cstring>textLabel6</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>10</x>
+                        <y>60</y>
+                        <width>60</width>
+                        <height>30</height>
+                    </rect>
+                </property>
+                <property name="text">
+                    <string>Filtre</string>
+                </property>
+            </widget>
+            <widget class="QLabel">
+                <property name="name">
+                    <cstring>textLabel4</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>90</x>
+                        <y>340</y>
+                        <width>300</width>
+                        <height>30</height>
+                    </rect>
+                </property>
+                <property name="text">
+                    <string>La commande choisie sera ajoutée APRES la commande courante</string>
+                </property>
+            </widget>
+            <widget class="QListBox">
+                <property name="name">
+                    <cstring>LBNouvCommande</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>50</x>
+                        <y>100</y>
+                        <width>410</width>
+                        <height>240</height>
+                    </rect>
+                </property>
+            </widget>
+            <widget class="QButtonGroup">
+                <property name="name">
+                    <cstring>buttonGroup1</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>300</x>
+                        <y>20</y>
+                        <width>151</width>
+                        <height>70</height>
+                    </rect>
+                </property>
+                <property name="title">
+                    <string>Affichage</string>
+                </property>
+                <widget class="QRadioButton">
+                    <property name="name">
+                        <cstring>RBGroupe</cstring>
+                    </property>
+                    <property name="geometry">
+                        <rect>
+                            <x>20</x>
+                            <y>40</y>
+                            <width>101</width>
+                            <height>20</height>
+                        </rect>
+                    </property>
+                    <property name="text">
+                        <string>par groupe</string>
+                    </property>
+                </widget>
+                <widget class="QRadioButton">
+                    <property name="name">
+                        <cstring>RBalpha</cstring>
+                    </property>
+                    <property name="geometry">
+                        <rect>
+                            <x>20</x>
+                            <y>20</y>
+                            <width>101</width>
+                            <height>20</height>
+                        </rect>
+                    </property>
+                    <property name="text">
+                        <string>alphabétique</string>
+                    </property>
+                    <property name="checked">
+                        <bool>true</bool>
+                    </property>
+                </widget>
+            </widget>
+            <widget class="QLineEdit">
+                <property name="name">
+                    <cstring>LEFiltre</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>50</x>
+                        <y>60</y>
+                        <width>160</width>
+                        <height>30</height>
+                    </rect>
+                </property>
+            </widget>
+            <widget class="QLabel">
+                <property name="name">
+                    <cstring>textLabel1_4</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>50</x>
+                        <y>20</y>
+                        <width>171</width>
+                        <height>21</height>
+                    </rect>
+                </property>
+                <property name="text">
+                    <string>&lt;b&gt;&lt;u&gt;Commandes :&lt;/u&gt;&lt;/b&gt;</string>
+                </property>
+            </widget>
+            <widget class="QToolButton">
+                <property name="name">
+                    <cstring>BNext</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>220</x>
+                        <y>60</y>
+                        <width>30</width>
+                        <height>31</height>
+                    </rect>
+                </property>
+                <property name="text">
+                    <string></string>
+                </property>
+                <property name="iconSet">
+                    <iconset>image0</iconset>
+                </property>
+                <property name="toolTip" stdset="0">
+                    <string>affiche la prochaine occurence</string>
+                </property>
+            </widget>
+        </widget>
+    </widget>
+</widget>
+<images>
+    <image name="image0">
+        <data format="PNG" length="264">89504e470d0a1a0a0000000d49484452000000210000000e0806000000a11e758c000000cf49444154388dd594db0ec3200c43edfdf8d897bb0f345b480845d51eb64888f412e76001c00f046fd6e99bba77200480924a1032c92efbd8c7d5cabcc025400099e957849568fe7f06c0ded1deb32b4a1ec4ea824b9e74097165bd01f85527f78a7201e0a3129f345a017c543bafdc983d0f7109d15a331b471f47072c17494a82338f6178203a8817e67306b1f08b07ba03e602c9b831077e37e0209e67e3386710977b17de80c185ad38695a51d522c82ce77912e2fed8be83762092f52b1820dd11bb10e565b53a5a3bbaff130713d66fa6981857060000000049454e44ae426082</data>
+    </image>
+</images>
+<connections>
+    <connection>
+        <sender>LBNouvCommande</sender>
+        <signal>clicked(QListBoxItem*)</signal>
+        <receiver>DFormule</receiver>
+        <slot>LBNouvCommandeClicked()</slot>
+    </connection>
+    <connection>
+        <sender>LEFiltre</sender>
+        <signal>textChanged(const QString&amp;)</signal>
+        <receiver>DFormule</receiver>
+        <slot>LEFiltreTextChanged()</slot>
+    </connection>
+    <connection>
+        <sender>LEFiltre</sender>
+        <signal>returnPressed()</signal>
+        <receiver>DFormule</receiver>
+        <slot>LEfiltreReturnPressed()</slot>
+    </connection>
+    <connection>
+        <sender>bSup</sender>
+        <signal>pressed()</signal>
+        <receiver>DFormule</receiver>
+        <slot>BSupPressed()</slot>
+    </connection>
+    <connection>
+        <sender>bOk</sender>
+        <signal>clicked()</signal>
+        <receiver>DFormule</receiver>
+        <slot>BOkPressed()</slot>
+    </connection>
+    <connection>
+        <sender>RBalpha</sender>
+        <signal>clicked()</signal>
+        <receiver>DFormule</receiver>
+        <slot>BuildTabCommand()</slot>
+    </connection>
+    <connection>
+        <sender>RBGroupe</sender>
+        <signal>clicked()</signal>
+        <receiver>DFormule</receiver>
+        <slot>BuildTabCommand()</slot>
+    </connection>
+    <connection>
+        <sender>BNext</sender>
+        <signal>clicked()</signal>
+        <receiver>DFormule</receiver>
+        <slot>BNextPressed()</slot>
+    </connection>
+    <connection>
+        <sender>LENomFormule</sender>
+        <signal>returnPressed()</signal>
+        <receiver>DFormule</receiver>
+        <slot>NomFormuleSaisi()</slot>
+    </connection>
+    <connection>
+        <sender>LENomsArgs</sender>
+        <signal>returnPressed()</signal>
+        <receiver>DFormule</receiver>
+        <slot>argsSaisis()</slot>
+    </connection>
+    <connection>
+        <sender>LECorpsFormule</sender>
+        <signal>returnPressed()</signal>
+        <receiver>DFormule</receiver>
+        <slot>FormuleSaisie()</slot>
+    </connection>
+</connections>
+<slots>
+    <slot>LBNouvCommandeClicked()</slot>
+    <slot>LEFiltreTextChanged()</slot>
+    <slot>LEfiltreReturnPressed()</slot>
+    <slot>BSupPressed()</slot>
+    <slot>BOkPressed()</slot>
+    <slot>BuildTabCommand()</slot>
+    <slot>BNextPressed()</slot>
+    <slot>NomFormuleSaisi()</slot>
+    <slot>argsSaisis()</slot>
+    <slot>FormuleSaisie()</slot>
+</slots>
+<layoutdefaults spacing="6" margin="11"/>
+</UI>
index 56bb96f0793b392b31a790a1ba49561b7b5ccc6b..2ec81cd5f6bac83095def159162a0d036ae844dc 100644 (file)
@@ -2,7 +2,7 @@
 
 # Form implementation generated from reading ui file 'desMacro.ui'
 #
-# Created: lun mar 12 09:37:12 2007
+# Created: jeu avr 26 14:25:17 2007
 #      by: The PyQt User Interface Compiler (pyuic) 3.13
 #
 # WARNING! All changes made in this file will be lost!
@@ -124,8 +124,8 @@ class DMacro(QWidget):
         self.connect(self.LEFiltre,SIGNAL("returnPressed()"),self.LEfiltreReturnPressed)
         self.connect(self.bSup,SIGNAL("pressed()"),self.BSupPressed)
         self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed)
-        self.connect(self.RBalpha,SIGNAL("clicked()"),self.buildTabCommand)
-        self.connect(self.RBGroupe,SIGNAL("clicked()"),self.buildTabCommand)
+        self.connect(self.RBalpha,SIGNAL("clicked()"),self.BuildTabCommand)
+        self.connect(self.RBGroupe,SIGNAL("clicked()"),self.BuildTabCommand)
         self.connect(self.BNext,SIGNAL("clicked()"),self.BNextPressed)
 
 
@@ -170,8 +170,8 @@ class DMacro(QWidget):
     def BOkPressed(self):
         print "DMacro.BOkPressed(): Not implemented yet"
 
-    def buildTabCommand(self):
-        print "DMacro.buildTabCommand(): Not implemented yet"
+    def BuildTabCommand(self):
+        print "DMacro.BuildTabCommand(): Not implemented yet"
 
     def BNextPressed(self):
         print "DMacro.BNextPressed(): Not implemented yet"
index 1487577c5924cad78cc14553bcff6291a4771ea7..a54b2a633b29e77beed82fbde908fffd06dc5361 100644 (file)
         <sender>RBalpha</sender>
         <signal>clicked()</signal>
         <receiver>DMacro</receiver>
-        <slot>buildTabCommand()</slot>
+        <slot>BuildTabCommand()</slot>
     </connection>
     <connection>
         <sender>RBGroupe</sender>
         <signal>clicked()</signal>
         <receiver>DMacro</receiver>
-        <slot>buildTabCommand()</slot>
+        <slot>BuildTabCommand()</slot>
     </connection>
     <connection>
         <sender>BNext</sender>
     <slot>LEfiltreReturnPressed()</slot>
     <slot>BSupPressed()</slot>
     <slot>BOkPressed()</slot>
-    <slot>buildTabCommand()</slot>
+    <slot>BuildTabCommand()</slot>
     <slot>BNextPressed()</slot>
 </slots>
 <layoutdefaults spacing="6" margin="11"/>
index 9d7be2a435970b3a1759cb1a13a3ddc40bbb011e..b24626fccb6d42e2fe089efc28e8a4dec4611be8 100644 (file)
@@ -2,7 +2,7 @@
 
 # Form implementation generated from reading ui file 'desPlusieursBase.ui'
 #
-# Created: jeu mar 29 08:57:36 2007
+# Created: lun avr 23 09:30:04 2007
 #      by: The PyQt User Interface Compiler (pyuic) 3.13
 #
 # WARNING! All changes made in this file will be lost!
@@ -127,9 +127,8 @@ class DPlusBase(QWidget):
         self.clearWState(Qt.WState_Polished)
 
         self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc)
-        self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed)
+        self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPourListePressed)
         self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed)
-        self.connect(self.LBValeurs,SIGNAL("pressed(QListBoxItem*)"),self.LBValReturnPressed)
         self.connect(self.bParam,SIGNAL("clicked()"),self.BParametresPressed)
         self.connect(self.bImport,SIGNAL("clicked()"),self.BImportPressed)
         self.connect(self.BAjout1Val,SIGNAL("clicked()"),self.Ajout1Valeur)
@@ -170,11 +169,8 @@ class DPlusBase(QWidget):
     def ViewDoc(self):
         print "DPlusBase.ViewDoc(): Not implemented yet"
 
-    def BOkPressed(self):
-        print "DPlusBase.BOkPressed(): Not implemented yet"
-
-    def LBValReturnPressed(self):
-        print "DPlusBase.LBValReturnPressed(): Not implemented yet"
+    def BOkPourListePressed(self):
+        print "DPlusBase.BOkPourListePressed(): Not implemented yet"
 
     def BParametresPressed(self):
         print "DPlusBase.BParametresPressed(): Not implemented yet"
index 630bd5a52d41cc1bf69366d6f3f82510e7f004c1..a54a7d8d9d40500fb9d8407089e9b6cb1d20cd08 100644 (file)
         <sender>bOk</sender>
         <signal>clicked()</signal>
         <receiver>DPlusBase</receiver>
-        <slot>BOkPressed()</slot>
+        <slot>BOkPourListePressed()</slot>
     </connection>
     <connection>
         <sender>bSup</sender>
         <receiver>DPlusBase</receiver>
         <slot>BSupPressed()</slot>
     </connection>
-    <connection>
-        <sender>LBValeurs</sender>
-        <signal>pressed(QListBoxItem*)</signal>
-        <receiver>DPlusBase</receiver>
-        <slot>LBValReturnPressed()</slot>
-    </connection>
     <connection>
         <sender>bParam</sender>
         <signal>clicked()</signal>
 <slots>
     <slot>BSupPressed()</slot>
     <slot>ViewDoc()</slot>
-    <slot>BOkPressed()</slot>
-    <slot>LBValReturnPressed()</slot>
+    <slot>BOkPourListePressed()</slot>
     <slot>BParametresPressed()</slot>
     <slot>LEValeurPressed()</slot>
     <slot>Ajout1Valeur()</slot>
diff --git a/Ui/desPlusieursInto.py b/Ui/desPlusieursInto.py
new file mode 100644 (file)
index 0000000..c5c177b
--- /dev/null
@@ -0,0 +1,169 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'desPlusieursInto.ui'
+#
+# Created: mer avr 25 09:04:00 2007
+#      by: The PyQt User Interface Compiler (pyuic) 3.13
+#
+# WARNING! All changes made in this file will be lost!
+
+
+from qt import *
+
+image0_data = \
+    "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
+    "\x49\x48\x44\x52\x00\x00\x00\x21\x00\x00\x00\x0e" \
+    "\x08\x06\x00\x00\x00\xa1\x1e\x75\x8c\x00\x00\x00" \
+    "\xcf\x49\x44\x41\x54\x38\x8d\xd5\x94\xdb\x0e\xc3" \
+    "\x20\x0c\x43\xed\xfd\xf8\xd8\x97\xbb\x0f\x34\x5b" \
+    "\x48\x08\x45\xd5\x1e\xb6\x48\x88\xf4\x12\xe7\x60" \
+    "\x01\xc0\x0f\x04\x6f\xd6\xe9\x9b\xba\x77\x20\x04" \
+    "\x80\x92\x4a\x10\x32\xc9\x2e\xfb\xd8\xc7\xd5\xca" \
+    "\xbc\xc0\x25\x40\x00\x99\xe9\x57\x84\x95\x68\xfe" \
+    "\x7f\x06\xc0\xde\xd1\xde\xb3\x2b\x4a\x1e\xc4\xea" \
+    "\x82\x4b\x9e\x74\x09\x71\x65\xbd\x01\xf8\x55\x27" \
+    "\xf7\x8a\x72\x01\xe0\xa3\x12\x9f\x34\x5a\x01\x7c" \
+    "\x54\x3b\xaf\xdc\x98\x3d\x0f\x71\x09\xd1\x5a\x33" \
+    "\x1b\x47\x1f\x47\x07\x2c\x17\x49\x4a\x82\x33\x8f" \
+    "\x61\x78\x20\x3a\x88\x17\xe6\x73\x06\xb1\xf0\x8b" \
+    "\x07\xba\x03\xe6\x02\xc9\xb8\x31\x07\x7e\x37\xe0" \
+    "\x20\x9e\x67\xe3\x38\x67\x10\x97\x7b\x17\xde\x80" \
+    "\xc1\x85\xad\x38\x69\x5a\x51\xd5\x22\xc8\x2c\xe7" \
+    "\x79\x12\xe2\xfe\xd8\xbe\x83\x76\x20\x92\xf5\x2b" \
+    "\x18\x20\xdd\x11\xbb\x10\xe5\x65\xb5\x3a\x5a\x3b" \
+    "\xba\xff\x13\x07\x13\xd6\x6f\xa6\x98\x18\x57\x06" \
+    "\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82"
+image1_data = \
+    "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
+    "\x49\x48\x44\x52\x00\x00\x00\x21\x00\x00\x00\x0e" \
+    "\x08\x06\x00\x00\x00\xa1\x1e\x75\x8c\x00\x00\x00" \
+    "\xc7\x49\x44\x41\x54\x38\x8d\xcd\x94\x59\x0e\xc3" \
+    "\x20\x0c\x44\x71\xd5\x7b\xc7\x3d\xf9\xf4\x07\xd3" \
+    "\x31\xb1\x59\xa2\x28\xaa\x25\x44\x48\xbc\x3c\xc6" \
+    "\x81\x52\xfe\xc0\xe4\x42\x0c\xee\xce\xb9\x12\xe0" \
+    "\x8a\x02\x39\x83\x88\x48\xf5\xdf\x02\xc9\x9c\x11" \
+    "\xf8\x60\x04\x30\x01\x19\x05\x4a\xe8\x68\xc5\x6a" \
+    "\xc2\x06\xc0\x6b\x4b\x10\x91\x11\xc8\x02\x87\x4f" \
+    "\x3a\x52\xa5\x87\x75\x71\x23\x89\x7e\x40\x39\xc4" \
+    "\x6b\x50\xd8\x86\x5b\x07\xf5\x40\x0a\x45\x00\x53" \
+    "\x33\x08\x93\xcf\x86\x74\xa3\x00\x28\xd4\x92\xde" \
+    "\xef\x04\x62\x6b\x55\x9d\xfe\x48\xac\x84\x2b\x1a" \
+    "\x6d\xaa\xe6\x85\x01\x55\x03\x3b\x99\xc5\x00\x9f" \
+    "\x70\xce\xda\x11\x1a\xab\x41\x3b\x6f\x6a\x70\xd1" \
+    "\x18\xe0\x08\xe6\xfd\x8b\xc5\x1d\x5d\x00\xa0\xf6" \
+    "\x14\x55\x6d\x1f\xf9\xb9\xbe\x49\x52\xaa\xbc\x37" \
+    "\x21\xf8\xf8\xb6\xf6\x24\xc5\x57\xef\x89\x47\xaf" \
+    "\xed\xf4\x8c\x5e\x60\xb8\xdf\xbe\xb8\x1d\x6d\xab" \
+    "\x9a\xff\x99\x27\x00\x00\x00\x00\x49\x45\x4e\x44" \
+    "\xae\x42\x60\x82"
+
+class DPlusInto(QWidget):
+    def __init__(self,parent = None,name = None,fl = 0):
+        QWidget.__init__(self,parent,name,fl)
+
+        self.image0 = QPixmap()
+        self.image0.loadFromData(image0_data,"PNG")
+        self.image1 = QPixmap()
+        self.image1.loadFromData(image1_data,"PNG")
+        if not name:
+            self.setName("DPlusInto")
+
+        self.setMinimumSize(QSize(350,0))
+
+
+        self.tabuniqueinto = QTabWidget(self,"tabuniqueinto")
+        self.tabuniqueinto.setGeometry(QRect(20,20,450,440))
+
+        self.Widget8 = QWidget(self.tabuniqueinto,"Widget8")
+
+        self.bHelp = QPushButton(self.Widget8,"bHelp")
+        self.bHelp.setGeometry(QRect(0,370,142,30))
+        self.bHelp.setAutoDefault(1)
+
+        self.bOk = QPushButton(self.Widget8,"bOk")
+        self.bOk.setGeometry(QRect(150,370,142,30))
+        self.bOk.setAutoDefault(1)
+        self.bOk.setDefault(1)
+
+        self.bSup = QPushButton(self.Widget8,"bSup")
+        self.bSup.setGeometry(QRect(300,370,142,30))
+        self.bSup.setAutoDefault(1)
+
+        self.LBValeurs = QListBox(self.Widget8,"LBValeurs")
+        self.LBValeurs.setGeometry(QRect(10,50,180,280))
+
+        self.BSup1Val = QToolButton(self.Widget8,"BSup1Val")
+        self.BSup1Val.setGeometry(QRect(200,70,40,31))
+        self.BSup1Val.setIconSet(QIconSet(self.image0))
+
+        self.BAjout1Val = QToolButton(self.Widget8,"BAjout1Val")
+        self.BAjout1Val.setGeometry(QRect(200,110,40,31))
+        self.BAjout1Val.setIconSet(QIconSet(self.image1))
+
+        self.textLabel1 = QLabel(self.Widget8,"textLabel1")
+        self.textLabel1.setGeometry(QRect(40,20,120,21))
+
+        self.textLabel1_2 = QLabel(self.Widget8,"textLabel1_2")
+        self.textLabel1_2.setGeometry(QRect(278,16,130,21))
+
+        self.Commentaire = QLabel(self.Widget8,"Commentaire")
+        self.Commentaire.setGeometry(QRect(30,340,381,20))
+
+        self.listBoxVal = QListBox(self.Widget8,"listBoxVal")
+        self.listBoxVal.setGeometry(QRect(250,50,180,280))
+        self.tabuniqueinto.insertTab(self.Widget8,QString(""))
+
+        self.languageChange()
+
+        self.resize(QSize(482,480).expandedTo(self.minimumSizeHint()))
+        self.clearWState(Qt.WState_Polished)
+
+        self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc)
+        self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPourListePressed)
+        self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed)
+        self.connect(self.LBValeurs,SIGNAL("doubleClicked(QListBoxItem*)"),self.Sup1Valeur)
+        self.connect(self.BAjout1Val,SIGNAL("clicked()"),self.Ajout1Valeur)
+        self.connect(self.BSup1Val,SIGNAL("clicked()"),self.Sup1Valeur)
+
+
+    def languageChange(self):
+        self.setCaption(self.__tr("DUnIn"))
+        self.bHelp.setText(self.__tr("&Documentation"))
+        self.bHelp.setAccel(self.__tr("Alt+D"))
+        QToolTip.add(self.bHelp,self.__tr("affichage documentation aster"))
+        self.bOk.setText(self.__tr("&Valider"))
+        self.bOk.setAccel(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))
+        QToolTip.add(self.bOk,self.__tr("validation de la saisie"))
+        self.bSup.setText(self.__tr("&Supprimer"))
+        self.bSup.setAccel(self.__tr("Alt+S"))
+        QToolTip.add(self.bSup,self.__tr("suppression du mot clef"))
+        self.BSup1Val.setText(QString.null)
+        QToolTip.add(self.BSup1Val,self.__tr("enleve l occurence selectionnee"))
+        self.BAjout1Val.setText(QString.null)
+        QToolTip.add(self.BAjout1Val,self.__trUtf8("\x61\x6a\x6f\x75\x74\x65\x20\x6c\x61\x20\x76\x61\x6c\x65\x75\x72\x20\x73\x61\x69\x73\x69\x65\x20\x73\x6f\x75\x73\x20\x6c\x20\x6f\x63\x63\x75\x72\x65\x6e\x63\x65\x20\x73\x65\x6c\x65\x63\x74\x69\x6f\x6e\x6e\xc3\xa9\x65\x20\x28\x65\x6e\x20\x66\x69\x6e\x20\x64\x65\x20\x6c\x69\x73\x74\x65\x20\x73\x69\x20\x69\x6c\x20\x6e\x20\x79\x20\x61\x20\x70\x61\x73\x20\x64\x65\x20\x73\x65\x6c\x65\x63\x74\x69\x6f\x6e\x29"))
+        self.textLabel1.setText(self.__tr("<u><font size=\"+1\">Valeur(s) actuelle(s)</font></u>"))
+        self.textLabel1_2.setText(self.__tr("<u><font size=\"+1\">Valeur(s) possibles(s)</font></u>"))
+        self.Commentaire.setText(QString.null)
+        self.tabuniqueinto.changeTab(self.Widget8,self.__tr("Saisir Valeur"))
+
+
+    def BSupPressed(self):
+        print "DPlusInto.BSupPressed(): Not implemented yet"
+
+    def ViewDoc(self):
+        print "DPlusInto.ViewDoc(): Not implemented yet"
+
+    def BOkPourListePressed(self):
+        print "DPlusInto.BOkPourListePressed(): Not implemented yet"
+
+    def Ajout1Valeur(self):
+        print "DPlusInto.Ajout1Valeur(): Not implemented yet"
+
+    def Sup1Valeur(self):
+        print "DPlusInto.Sup1Valeur(): Not implemented yet"
+
+    def __tr(self,s,c = None):
+        return qApp.translate("DPlusInto",s,c)
+
+    def __trUtf8(self,s,c = None):
+        return qApp.translate("DPlusInto",s,c,QApplication.UnicodeUTF8)
index 2dec2b30f3950587ab3fd48e78710635dd228064..8ea0dcb9086d9249317423437922b8a9ed4e2c6c 100644 (file)
                     <string>ajoute la valeur saisie sous l occurence selectionnée (en fin de liste si il n y a pas de selection)</string>
                 </property>
             </widget>
-            <widget class="QListBox">
-                <property name="name">
-                    <cstring>listBoxVal</cstring>
-                </property>
-                <property name="geometry">
-                    <rect>
-                        <x>250</x>
-                        <y>50</y>
-                        <width>180</width>
-                        <height>280</height>
-                    </rect>
-                </property>
-            </widget>
             <widget class="QLabel">
                 <property name="name">
                     <cstring>textLabel1</cstring>
                     <string></string>
                 </property>
             </widget>
+            <widget class="QListBox">
+                <property name="name">
+                    <cstring>listBoxVal</cstring>
+                </property>
+                <property name="geometry">
+                    <rect>
+                        <x>250</x>
+                        <y>50</y>
+                        <width>180</width>
+                        <height>280</height>
+                    </rect>
+                </property>
+            </widget>
         </widget>
     </widget>
 </widget>
         <sender>bOk</sender>
         <signal>clicked()</signal>
         <receiver>DPlusInto</receiver>
-        <slot>BOkPressed()</slot>
+        <slot>BOkPourListePressed()</slot>
     </connection>
     <connection>
         <sender>bSup</sender>
     </connection>
     <connection>
         <sender>LBValeurs</sender>
-        <signal>pressed(QListBoxItem*)</signal>
+        <signal>doubleClicked(QListBoxItem*)</signal>
         <receiver>DPlusInto</receiver>
-        <slot>LBValReturnPressed()</slot>
+        <slot>Sup1Valeur()</slot>
     </connection>
     <connection>
         <sender>BAjout1Val</sender>
         <sender>BSup1Val</sender>
         <signal>clicked()</signal>
         <receiver>DPlusInto</receiver>
-        <slot>LBValReturnPressed()</slot>
-    </connection>
-    <connection>
-        <sender>listBoxVal</sender>
-        <signal>clicked(QListBoxItem*)</signal>
-        <receiver>DPlusInto</receiver>
-        <slot>Ajout1Valeur()</slot>
+        <slot>Sup1Valeur()</slot>
     </connection>
 </connections>
 <slots>
     <slot>BSupPressed()</slot>
     <slot>ViewDoc()</slot>
-    <slot>BOkPressed()</slot>
-    <slot>LBValReturnPressed()</slot>
-    <slot>BParamPressed()</slot>
-    <slot>PImportPressed()</slot>
+    <slot>BOkPourListePressed()</slot>
     <slot>Ajout1Valeur()</slot>
     <slot>Sup1Valeur()</slot>
 </slots>
index 05651fb152ece4935509e650cbd0c97d7c5dd112..f82675bb761f3666cbca40efc225afec86f6ec71 100644 (file)
@@ -2,7 +2,7 @@
 
 # Form implementation generated from reading ui file 'desRacine.ui'
 #
-# Created: lun mar 12 10:51:25 2007
+# Created: jeu avr 26 14:24:43 2007
 #      by: The PyQt User Interface Compiler (pyuic) 3.13
 #
 # WARNING! All changes made in this file will be lost!
@@ -101,8 +101,8 @@ class DRac(QWidget):
         self.connect(self.LEFiltre,SIGNAL("returnPressed()"),self.LEfiltreReturnPressed)
         self.connect(self.bSup,SIGNAL("pressed()"),self.BSupPressed)
         self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed)
-        self.connect(self.RBalpha,SIGNAL("clicked()"),self.buildTabCommand)
-        self.connect(self.RBGroupe,SIGNAL("clicked()"),self.buildTabCommand)
+        self.connect(self.RBalpha,SIGNAL("clicked()"),self.BuildTabCommand)
+        self.connect(self.RBGroupe,SIGNAL("clicked()"),self.BuildTabCommand)
         self.connect(self.BNext,SIGNAL("clicked()"),self.BNextPressed)
 
 
@@ -142,8 +142,8 @@ class DRac(QWidget):
     def BOkPressed(self):
         print "DRac.BOkPressed(): Not implemented yet"
 
-    def buildTabCommand(self):
-        print "DRac.buildTabCommand(): Not implemented yet"
+    def BuildTabCommand(self):
+        print "DRac.BuildTabCommand(): Not implemented yet"
 
     def BNextPressed(self):
         print "DRac.BNextPressed(): Not implemented yet"
index 73b8dca7ded607db7d6ca497b17493e241f24b64..e3c4636360c87296d267f739d1e43fb9e2d12791 100644 (file)
         <sender>RBalpha</sender>
         <signal>clicked()</signal>
         <receiver>DRac</receiver>
-        <slot>buildTabCommand()</slot>
+        <slot>BuildTabCommand()</slot>
     </connection>
     <connection>
         <sender>RBGroupe</sender>
         <signal>clicked()</signal>
         <receiver>DRac</receiver>
-        <slot>buildTabCommand()</slot>
+        <slot>BuildTabCommand()</slot>
     </connection>
     <connection>
         <sender>BNext</sender>
     <slot>LEfiltreReturnPressed()</slot>
     <slot>BSupPressed()</slot>
     <slot>BOkPressed()</slot>
-    <slot>buildTabCommand()</slot>
+    <slot>BuildTabCommand()</slot>
     <slot>BNextPressed()</slot>
 </slots>
 <layoutdefaults spacing="6" margin="11"/>
diff --git a/Ui/myMain.ui b/Ui/myMain.ui
new file mode 100644 (file)
index 0000000..863e7fc
--- /dev/null
@@ -0,0 +1,607 @@
+<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
+<class>Eficas</class>
+<widget class="QMainWindow">
+    <property name="name">
+        <cstring>Eficas</cstring>
+    </property>
+    <property name="enabled">
+        <bool>true</bool>
+    </property>
+    <property name="geometry">
+        <rect>
+            <x>0</x>
+            <y>0</y>
+            <width>902</width>
+            <height>575</height>
+        </rect>
+    </property>
+    <property name="sizePolicy">
+        <sizepolicy>
+            <hsizetype>1</hsizetype>
+            <vsizetype>1</vsizetype>
+            <horstretch>0</horstretch>
+            <verstretch>0</verstretch>
+        </sizepolicy>
+    </property>
+    <property name="minimumSize">
+        <size>
+            <width>21</width>
+            <height>323</height>
+        </size>
+    </property>
+    <property name="backgroundOrigin">
+        <enum>WidgetOrigin</enum>
+    </property>
+    <property name="font">
+        <font>
+        </font>
+    </property>
+    <property name="caption">
+        <string>Eficas </string>
+    </property>
+    <widget class="Line">
+        <property name="name">
+            <cstring>line1</cstring>
+        </property>
+        <property name="geometry">
+            <rect>
+                <x>-30</x>
+                <y>-10</y>
+                <width>930</width>
+                <height>20</height>
+            </rect>
+        </property>
+        <property name="frameShape">
+            <enum>HLine</enum>
+        </property>
+        <property name="frameShadow">
+            <enum>Sunken</enum>
+        </property>
+        <property name="orientation">
+            <enum>Horizontal</enum>
+        </property>
+    </widget>
+</widget>
+<menubar>
+    <property name="name">
+        <cstring>MenuBar</cstring>
+    </property>
+    <property name="margin">
+        <number>2</number>
+    </property>
+    <item text="&amp;Fichier" name="Fichier">
+        <action name="fileNewAction"/>
+        <action name="fileNewViewAction"/>
+        <action name="fileOpenAction"/>
+        <action name="fileSaveAction"/>
+        <action name="fileSaveAsAction"/>
+        <action name="fileCloseAction"/>
+        <action name="fileCloseAllAction"/>
+        <separator/>
+        <separator/>
+        <action name="fileExitAction"/>
+    </item>
+    <item text="&amp;Edition" name="Edition">
+        <separator/>
+        <action name="editCutAction"/>
+        <action name="editCopyAction"/>
+        <action name="editPasteAction"/>
+        <separator/>
+        <action name="editFindAction"/>
+    </item>
+    <item text="JdC" name="JdC">
+        <action name="jdcRapportDeValidationAction"/>
+        <action name="jdcFichierSourceAction"/>
+    </item>
+    <item text="Options" name="Options">
+    </item>
+    <item text="&amp;Aide" name="Aide">
+    </item>
+    <item text="Traduction" name="Traduction">
+        <action name="traductionnew_itemAction"/>
+    </item>
+    <item text="Patrons" name="Patrons">
+    </item>
+</menubar>
+<toolbars>
+    <toolbar dock="2">
+        <property name="name">
+            <cstring>toolBar</cstring>
+        </property>
+        <property name="frameShape">
+            <enum>MenuBarPanel</enum>
+        </property>
+        <property name="horizontallyStretchable">
+            <bool>false</bool>
+        </property>
+        <property name="label">
+            <string>Tools</string>
+        </property>
+        <action name="fileNewAction"/>
+        <action name="fileSaveAction"/>
+        <action name="fileOpenAction"/>
+        <action name="fileSaveAsAction"/>
+        <action name="editCutAction"/>
+        <action name="editPasteAction"/>
+        <action name="editFindAction"/>
+        <action name="fileExitAction"/>
+        <separator/>
+    </toolbar>
+</toolbars>
+<actions>
+    <action>
+        <property name="name">
+            <cstring>fileNewAction</cstring>
+        </property>
+        <property name="iconSet">
+            <iconset>image0</iconset>
+        </property>
+        <property name="text">
+            <string>New</string>
+        </property>
+        <property name="menuText">
+            <string>&amp;New</string>
+        </property>
+        <property name="accel">
+            <string>Ctrl+N</string>
+        </property>
+    </action>
+    <action>
+        <property name="name">
+            <cstring>fileOpenAction</cstring>
+        </property>
+        <property name="iconSet">
+            <iconset>image1</iconset>
+        </property>
+        <property name="text">
+            <string>Open</string>
+        </property>
+        <property name="menuText">
+            <string>&amp;Open...</string>
+        </property>
+        <property name="accel">
+            <string>Ctrl+O</string>
+        </property>
+    </action>
+    <action>
+        <property name="name">
+            <cstring>fileSaveAction</cstring>
+        </property>
+        <property name="iconSet">
+            <iconset>image2</iconset>
+        </property>
+        <property name="text">
+            <string>Save</string>
+        </property>
+        <property name="menuText">
+            <string>&amp;Save</string>
+        </property>
+        <property name="accel">
+            <string>Ctrl+S</string>
+        </property>
+    </action>
+    <action>
+        <property name="name">
+            <cstring>fileSaveAsAction</cstring>
+        </property>
+        <property name="text">
+            <string>Save As</string>
+        </property>
+        <property name="menuText">
+            <string>Save &amp;As...</string>
+        </property>
+        <property name="accel">
+            <string></string>
+        </property>
+    </action>
+    <action>
+        <property name="name">
+            <cstring>fileExitAction</cstring>
+        </property>
+        <property name="text">
+            <string>Exit</string>
+        </property>
+        <property name="menuText">
+            <string>E&amp;xit</string>
+        </property>
+        <property name="accel">
+            <string></string>
+        </property>
+    </action>
+    <action>
+        <property name="name">
+            <cstring>editUndoAction</cstring>
+        </property>
+        <property name="iconSet">
+            <iconset>image3</iconset>
+        </property>
+        <property name="text">
+            <string>Undo</string>
+        </property>
+        <property name="menuText">
+            <string>&amp;Undo</string>
+        </property>
+        <property name="accel">
+            <string>Ctrl+Z</string>
+        </property>
+    </action>
+    <action>
+        <property name="name">
+            <cstring>editRedoAction</cstring>
+        </property>
+        <property name="iconSet">
+            <iconset>image4</iconset>
+        </property>
+        <property name="text">
+            <string>Redo</string>
+        </property>
+        <property name="menuText">
+            <string>&amp;Redo</string>
+        </property>
+        <property name="accel">
+            <string>Ctrl+Y</string>
+        </property>
+    </action>
+    <action>
+        <property name="name">
+            <cstring>editCutAction</cstring>
+        </property>
+        <property name="iconSet">
+            <iconset>image5</iconset>
+        </property>
+        <property name="text">
+            <string>Cut</string>
+        </property>
+        <property name="menuText">
+            <string>Cu&amp;t</string>
+        </property>
+        <property name="accel">
+            <string>Ctrl+X</string>
+        </property>
+    </action>
+    <action>
+        <property name="name">
+            <cstring>editCopyAction</cstring>
+        </property>
+        <property name="iconSet">
+            <iconset>image6</iconset>
+        </property>
+        <property name="text">
+            <string>Copy</string>
+        </property>
+        <property name="menuText">
+            <string>&amp;Copy</string>
+        </property>
+        <property name="accel">
+            <string>Ctrl+C</string>
+        </property>
+    </action>
+    <action>
+        <property name="name">
+            <cstring>editPasteAction</cstring>
+        </property>
+        <property name="iconSet">
+            <iconset>image7</iconset>
+        </property>
+        <property name="text">
+            <string>Paste</string>
+        </property>
+        <property name="menuText">
+            <string>&amp;Paste</string>
+        </property>
+        <property name="accel">
+            <string>Ctrl+V</string>
+        </property>
+    </action>
+    <action>
+        <property name="name">
+            <cstring>editFindAction</cstring>
+        </property>
+        <property name="iconSet">
+            <iconset>image8</iconset>
+        </property>
+        <property name="text">
+            <string>Find</string>
+        </property>
+        <property name="menuText">
+            <string>&amp;Find...</string>
+        </property>
+        <property name="accel">
+            <string>Ctrl+F</string>
+        </property>
+    </action>
+    <action>
+        <property name="name">
+            <cstring>helpContentsAction</cstring>
+        </property>
+        <property name="text">
+            <string>Contents</string>
+        </property>
+        <property name="menuText">
+            <string>&amp;Contents...</string>
+        </property>
+        <property name="accel">
+            <string></string>
+        </property>
+    </action>
+    <action>
+        <property name="name">
+            <cstring>helpIndexAction</cstring>
+        </property>
+        <property name="text">
+            <string>Index</string>
+        </property>
+        <property name="menuText">
+            <string>&amp;Index...</string>
+        </property>
+        <property name="accel">
+            <string></string>
+        </property>
+    </action>
+    <action>
+        <property name="name">
+            <cstring>helpAboutAction</cstring>
+        </property>
+        <property name="text">
+            <string>About</string>
+        </property>
+        <property name="menuText">
+            <string>&amp;About</string>
+        </property>
+        <property name="accel">
+            <string></string>
+        </property>
+    </action>
+    <action>
+        <property name="name">
+            <cstring>traductionnew_itemAction</cstring>
+        </property>
+        <property name="text">
+            <string>new item</string>
+        </property>
+        <property name="menuText">
+            <string>new item</string>
+        </property>
+    </action>
+    <action>
+        <property name="name">
+            <cstring>fileSaveCloseAction</cstring>
+        </property>
+        <property name="text">
+            <string>Close</string>
+        </property>
+        <property name="menuText">
+            <string>Close</string>
+        </property>
+    </action>
+    <action>
+        <property name="name">
+            <cstring>fileCloseAction</cstring>
+        </property>
+        <property name="text">
+            <string>Close</string>
+        </property>
+        <property name="menuText">
+            <string>Close</string>
+        </property>
+        <property name="accel">
+            <string>Ctrl+W</string>
+        </property>
+    </action>
+    <action>
+        <property name="name">
+            <cstring>fileNewViewAction</cstring>
+        </property>
+        <property name="text">
+            <string>New view</string>
+        </property>
+    </action>
+    <action>
+        <property name="name">
+            <cstring>fileCloseAllAction</cstring>
+        </property>
+        <property name="text">
+            <string>Close All</string>
+        </property>
+        <property name="menuText">
+            <string>Close All</string>
+        </property>
+    </action>
+    <action>
+        <property name="name">
+            <cstring>jdcRapportDeValidationAction</cstring>
+        </property>
+        <property name="text">
+            <string>Rapport de validation</string>
+        </property>
+        <property name="menuText">
+            <string>Rapport de validation</string>
+        </property>
+        <property name="accel">
+            <string>Ctrl+R</string>
+        </property>
+    </action>
+    <action>
+        <property name="name">
+            <cstring>jdcFichierSourceAction</cstring>
+        </property>
+        <property name="text">
+            <string>Fichier source</string>
+        </property>
+        <property name="menuText">
+            <string>Fichier source</string>
+        </property>
+        <property name="accel">
+            <string>Ctrl+B</string>
+        </property>
+    </action>
+</actions>
+<images>
+    <image name="image0">
+        <data format="PNG" length="173">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b0000007449444154388dedd5c109c0200c05d06fe936812c10b2ffdd85d25385b6a991480f053f081af0291210f828c5a9d9c4de96cd2b9ad9eb0000660e2fe0c2519839c4f70c4c446d5e6b3538cf928245e4b2f6f014acaa8fda1d4fc1a5741b22079f9d111d96ea8a912c78c10bee64e60719f57e9203ad452a04cc4e50200000000049454e44ae426082</data>
+    </image>
+    <image name="image1">
+        <data format="PNG" length="210">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b0000009949444154388ded94410e85200c445f89c7367f61bc775d2848a42860ffced9548bbe8e13043e1d928177f481a123dc2b34f6f47a3de2b865a8843f4001982a0b3d5f62c58300aa1ad70550449ab9d507a773a8a4ba4f92a2df333c64c63bebbd82e5b8addecbcc7820eb4266c639745dfa80f36faf66c66fa19c3f882fb470ec05cdc0bed07893f68e171492635f686c3eeff6ba3c8fdd366dc4c0452c8781f8080000000049454e44ae426082</data>
+    </image>
+    <image name="image2">
+        <data format="PNG" length="217">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b000000a049444154388dd5954d0a802010859fd14668e18de662d222bc98376a21b4ac451992c66469e0b7f187f1f11c47052a218e762daddbfb9e99f6568f80b5364b8588ce35440400e80a398ce8f99034d2292cc37c8ebd530feb583a05e954341f8a027b2a7d3a1f09bf854dc5d5d953aa396e4f38cab199e2d2e108abe156f82e30977fcb4d8ff942d75dbebed2e143953a93f6caad3d6111f44b7d4f820ff9c0069bb51ecded318c5c0000000049454e44ae426082</data>
+    </image>
+    <image name="image3">
+        <data format="PNG" length="172">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b0000007349444154388ded92c10e80200840b1ef661d1cff4d876aa888a17669f9360f283ed80060f159425f3a71f53602e08e992b098801d02854176ae47f21ce1fb5b05d38eddc9060d0f11379635b3bc92bd518e239a943ec1d5ab7785cee107be4b215af4091f894de47181ecea59ede9ec59f380062ac28b1e3d701d90000000049454e44ae426082</data>
+    </image>
+    <image name="image4">
+        <data format="PNG" length="173">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b0000007449444154388ded92c10ac02008406ddf2d3b84ffed0ea3586a26d165e0830ea53e8504487e4b910f5489f19ea5a3ca0f8a896365b306c42dd613c649bdc2598316136219f0f936c0a2ef00d75a62614d3ab22996f2a362ffa337c5ebede962aad1a2e84aaaa2f750dd12748c0fd0ab9324677800596e28b1743f46860000000049454e44ae426082</data>
+    </image>
+    <image name="image5">
+        <data format="PNG" length="187">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b0000008249444154388dcdd341128020080550e8e02ebc38ad3273503e48537fe3e48c4f2425fa28e29c6f39920bf9276cb60185358877611388c2576418cda015f520b4e6b55be109dc0622b8e22acf31056e18dfdff80606aa551cc63564c4dcf80cd0201d577a5c85a8845fdc025ea5307afccd07e23a1df283ec2b37d9ad5fb4dfefd49cfbf72fac98c8cc890000000049454e44ae426082</data>
+    </image>
+    <image name="image6">
+        <data format="PNG" length="248">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b000000bf49444154388dd593410a83301045df488ee51dbc8c3ba98bf46a9eabd385350d266362444a3f0c4266fcf3f824f06f12402b66da8c55f3de2212cf9d92cb98c0ba2d7c4544cf9a07638bbad53c4491235ecf7cc1623697a92540c11ff4fda75275015d24a9389e7d6f53df4fe4ccab323eea0f03c0c4b2a0712ce6add89b59b7661c3be095985f261679ee4ebcc22c9788551fe6a2cbc4969a894bcb6f23ee361aab62e252c57294dfbfb610bbf2c897b8a46cc6677eaa519571fa087ea83762da9abacb20235f0000000049454e44ae426082</data>
+    </image>
+    <image name="image7">
+        <data format="PNG" length="270">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b000000d549444154388dc5955d0a84300c8427e2a90a9e6c8b0f4b3dd982d7ca3e58d7fe4cd0ba5d7640024df265da0a057e2439c9eb8d9eaa8841a0c9aad8c82ab32f9c425be1e30e0dcf00c00308f0b3a7a07410a9d7142e00b42c5a5fab696b979b1c837fc0c316b6e4165b64f78d716359919bdc4570de47c04732dd5e5bcc35f0c97762ae787936dccf7513577e79f48c4b27aa0f1327b240f5117fcbe348aa33b6e0224b054d0746b8025e2e3b3e73cde0dd1c97f02e8ed9d0af1db381224bdf33eee698a934a0f617b45540d00bcf4ca08fc0dff406e325c1981bc418760000000049454e44ae426082</data>
+    </image>
+    <image name="image8">
+        <data format="PNG" length="662">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b0000025d49444154388dd593a172db4010863f670a56ecc42278d0653693a0c21c68d6c2e60df21a818111349499c254a8329b55f0e089ddb15ba602b79d6692d699b6d399fee86e67e7db7f77efe07fd3e2c74bd775b3730eef3d5115002382b5166b2d5757578b1729bf02b76d3b0f8703b92d58aed7600400ef1ce3c70306a8aa8aebebeb57c117dfa06ddb525dd754efb600a82a49138a123532ec3ac42b9bcde655ce2ffabe9f87c340fde13dcb4d8daaa24e48ee12c6823808c107969b1a8a9ce3f1f8aa515c38e7c8ada5aa6b00c45f129c67d223938c88e6c860d118b1d592d139baae9bcf83a78965b5465134801b1d2e1f4945c0e350096408ea154490c2e0bd3fef5853c2e486a0019f4d84f58418418362b0408e8b23c924501093314dd359f01b809814112025144015f1964c0bbc1b484b07e4688880c029ebd78e4141f5b434fd76864c053f1e084b0f8580265440634044ce838bbcc03987a61350a3a2285e1d5a4414d0708aa598082162ad3d0fb6d6e287cfa498508d274050447370428c91af8d10fd4481608c390b5e00dcddddcd8e80a9de420248e804840856f03e02907d729465c9ba5ae3468731e6a79fe50260b55a6102c4ee40a6894c33f2cb0cb106512814f8f899b22cb9b9b959b8d1f1f8f848d334b46dfbe29bfe5eadeffbf9783c323a871881ecb4200d1151a8eb9aed76bb00188661eeba8efd7e8f3186ed76cb6ab57ae2fe591b5dd7cdde7b628c8808799e63ada5aaaa67b9bbdd6e6e9a06ef3d755d3f29fec7eafb7ebebdbd9dadb5735996f3fdfdfdfca2e3dfd5c3c3c3dc340dd334b1d96cfe1e184e63dceff7a494fe26f61fe90bbc4c5e59d614caf40000000049454e44ae426082</data>
+    </image>
+</images>
+<connections>
+    <connection>
+        <sender>fileNewAction</sender>
+        <signal>activated()</signal>
+        <receiver>Eficas</receiver>
+        <slot>fileNew()</slot>
+    </connection>
+    <connection>
+        <sender>fileOpenAction</sender>
+        <signal>activated()</signal>
+        <receiver>Eficas</receiver>
+        <slot>fileOpen()</slot>
+    </connection>
+    <connection>
+        <sender>fileSaveAction</sender>
+        <signal>activated()</signal>
+        <receiver>Eficas</receiver>
+        <slot>fileSave()</slot>
+    </connection>
+    <connection>
+        <sender>fileSaveAsAction</sender>
+        <signal>activated()</signal>
+        <receiver>Eficas</receiver>
+        <slot>fileSaveAs()</slot>
+    </connection>
+    <connection>
+        <sender>fileExitAction</sender>
+        <signal>activated()</signal>
+        <receiver>Eficas</receiver>
+        <slot>fileExit()</slot>
+    </connection>
+    <connection>
+        <sender>editUndoAction</sender>
+        <signal>activated()</signal>
+        <receiver>Eficas</receiver>
+        <slot>editUndo()</slot>
+    </connection>
+    <connection>
+        <sender>editRedoAction</sender>
+        <signal>activated()</signal>
+        <receiver>Eficas</receiver>
+        <slot>editRedo()</slot>
+    </connection>
+    <connection>
+        <sender>editCutAction</sender>
+        <signal>activated()</signal>
+        <receiver>Eficas</receiver>
+        <slot>editCut()</slot>
+    </connection>
+    <connection>
+        <sender>editPasteAction</sender>
+        <signal>activated()</signal>
+        <receiver>Eficas</receiver>
+        <slot>editPaste()</slot>
+    </connection>
+    <connection>
+        <sender>editFindAction</sender>
+        <signal>activated()</signal>
+        <receiver>Eficas</receiver>
+        <slot>editFind()</slot>
+    </connection>
+    <connection>
+        <sender>helpIndexAction</sender>
+        <signal>activated()</signal>
+        <receiver>Eficas</receiver>
+        <slot>helpIndex()</slot>
+    </connection>
+    <connection>
+        <sender>helpContentsAction</sender>
+        <signal>activated()</signal>
+        <receiver>Eficas</receiver>
+        <slot>helpContents()</slot>
+    </connection>
+    <connection>
+        <sender>helpAboutAction</sender>
+        <signal>activated()</signal>
+        <receiver>Eficas</receiver>
+        <slot>helpAbout()</slot>
+    </connection>
+    <connection>
+        <sender>fileCloseAction</sender>
+        <signal>activated()</signal>
+        <receiver>Eficas</receiver>
+        <slot>fileClose()</slot>
+    </connection>
+    <connection>
+        <sender>fileNewViewAction</sender>
+        <signal>activated()</signal>
+        <receiver>Eficas</receiver>
+        <slot>fileNewView()</slot>
+    </connection>
+    <connection>
+        <sender>fileCloseAllAction</sender>
+        <signal>activated()</signal>
+        <receiver>Eficas</receiver>
+        <slot>fileCloseAll()</slot>
+    </connection>
+    <connection>
+        <sender>editCopyAction</sender>
+        <signal>activated()</signal>
+        <receiver>Eficas</receiver>
+        <slot>editCopy()</slot>
+    </connection>
+    <connection>
+        <sender>jdcRapportDeValidationAction</sender>
+        <signal>activated()</signal>
+        <receiver>Eficas</receiver>
+        <slot>jdcRapport()</slot>
+    </connection>
+    <connection>
+        <sender>jdcFichierSourceAction</sender>
+        <signal>activated()</signal>
+        <receiver>Eficas</receiver>
+        <slot>jdcFichierSource()</slot>
+    </connection>
+</connections>
+<slots>
+    <slot>fileNew()</slot>
+    <slot>fileOpen()</slot>
+    <slot>fileSave()</slot>
+    <slot>fileSaveAs()</slot>
+    <slot>filePrint()</slot>
+    <slot>fileExit()</slot>
+    <slot>editUndo()</slot>
+    <slot>editRedo()</slot>
+    <slot>jdcFichierSource()</slot>
+    <slot>fileNewView()</slot>
+    <slot>editPaste()</slot>
+    <slot>editFind()</slot>
+    <slot>helpIndex()</slot>
+    <slot>helpContents()</slot>
+    <slot>helpAbout()</slot>
+    <slot>fileClose()</slot>
+    <slot>fileCloseAll()</slot>
+    <slot>jdcRapport()</slot>
+    <slot>editCut()</slot>
+    <slot>editCopy()</slot>
+</slots>
+<layoutdefaults spacing="2" margin="2"/>
+</UI>