]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
*** empty log message ***
authorPascale Noyret <pascale.noyret@edf.fr>
Mon, 5 Dec 2011 13:22:27 +0000 (13:22 +0000)
committerPascale Noyret <pascale.noyret@edf.fr>
Mon, 5 Dec 2011 13:22:27 +0000 (13:22 +0000)
InterfaceQT4/qtEficas.py

index 5bce823e96fa50194f1a03144758c2a6da6ec0a4..95828f169411721d26cdead0fa0c2586efee417c 100644 (file)
@@ -110,18 +110,29 @@ class Appli(Ui_Eficas,QMainWindow):
         self.menuMesh = self.menubar.addMenu("menuMesh")
         self.menuMesh.setObjectName("Mesh")
         self.actionChercheGrpMesh = QAction(self)
-        self.actionChercheGrpMesh.setText("Acquiert Groupe Maille")
+        self.actionChercheGrpMesh.setText("Acquiert SubMeshes")
         self.menuMesh.addAction(self.actionChercheGrpMesh)
         self.connect(self.actionChercheGrpMesh,SIGNAL("activated()"),self.ChercheGrpMesh)
+        self.actionChercheGrpMaille = QAction(self)
+        self.actionChercheGrpMaille.setText("Acquiert Groupe Maille")
+        self.menuMesh.addAction(self.actionChercheGrpMaille)
+        self.connect(self.actionChercheGrpMaille,SIGNAL("activated()"),self.ChercheGrpMaille)
 
     def ChercheGrpMesh(self):
         Msg,listeGroup=self.ChercheGrpMeshInSalome()
         if Msg == None :
            self.viewmanager.handleAjoutGroup(listeGroup)
-           #self.viewmanager.handleAjoutGroup(('Grp1','Grp2'))
         else :
            print "il faut gerer les erreurs"
 
+    def ChercheGrpMaille(self):
+        Msg,listeGroup=self.ChercheGrpMailleInSalome()
+        if Msg == None :
+           self.viewmanager.handleAjoutGroup(listeGroup)
+        else :
+           print "il faut gerer les erreurs"
+
+
     def MAP(self): 
         self.menuExecution = self.menubar.addMenu(QApplication.translate("Eficas", "Execution", None, QApplication.UnicodeUTF8))
         self.menuExecution.setObjectName("menuExecution")