]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
Chgt pour CarmelCS
authorPascale Noyret <pascale.noyret@edf.fr>
Tue, 7 Oct 2014 08:54:02 +0000 (08:54 +0000)
committerPascale Noyret <pascale.noyret@edf.fr>
Tue, 7 Oct 2014 08:54:02 +0000 (08:54 +0000)
InterfaceQT4/qtEficas.py

index 379f812c8816aee365f74daea7a2fb989da7ffb8..b9b9dd699603be364510ae8c682b3ce6b62472be 100644 (file)
@@ -57,7 +57,7 @@ class Appli(Ui_Eficas,QMainWindow):
         self.recent =  QStringList()
         self.ficRecents={}
         self.listeAEnlever=[]
-        self.ListeCode=['Aster','Carmel3D','Cuve2dg','Openturns_Study','Openturns_Wrapper','MAP','ZCracks', 'CarmelCND','MT']
+        self.ListeCode=['Aster','Carmel3D','Cuve2dg','Openturns_Study','Openturns_Wrapper','MAP','ZCracks', 'CarmelCND','MT','CarmelCS']
 
         if self.salome:
           import Accas
@@ -197,6 +197,19 @@ class Appli(Ui_Eficas,QMainWindow):
         self.menuOptions.addAction(self.actionParametres_Eficas)
         self.menuOptions.setTitle(tr("Options"))
 
+    def PSEN(self):
+        self.menuExecution = self.menubar.addMenu(QApplication.translate("Eficas", "Execution", None, QApplication.UnicodeUTF8))
+        self.actionExecution = QAction(self)
+        icon6 = QIcon(self.RepIcon+"/compute.png")
+        self.actionExecution.setIcon(icon6)
+        self.actionExecution.setObjectName("actionExecution")
+        self.menuExecution.addAction(self.actionExecution)
+        if not(self.actionExecution in self.toolBar.actions()):
+           self.toolBar.addAction(self.actionExecution)
+        self.actionExecution.setText(QApplication.translate("Eficas", "Execution ", None, QApplication.UnicodeUTF8))
+        self.connect(self.actionExecution,SIGNAL("activated()"),self.run)
+
+        self.menuOptions = self.menubar.addMenu("menuOptions")
     def ASTER(self) :
         self.menuTraduction = self.menubar.addMenu("menuTraduction")
         self.menuTraduction.addAction(self.actionTraduitV7V8)
@@ -230,6 +243,22 @@ class Appli(Ui_Eficas,QMainWindow):
         self.actionExecution.setText(QApplication.translate("Eficas", "Execution ", None, QApplication.UnicodeUTF8))
         self.connect(self.actionExecution,SIGNAL("activated()"),self.run)
 
+    def CARMELCS(self):
+        self.menuExecution = self.menubar.addMenu(QApplication.translate("Eficas", "Execution", None, QApplication.UnicodeUTF8))
+        self.actionExecution = QAction(self)
+        icon6 = QIcon(self.RepIcon+"/compute.png")
+        self.actionExecution.setIcon(icon6)
+        self.actionExecution.setObjectName("actionExecution")
+        self.menuExecution.addAction(self.actionExecution)
+        if not(self.actionExecution in self.toolBar.actions()):
+           self.toolBar.addAction(self.actionExecution)
+        self.actionExecution.setText(QApplication.translate("Eficas", "Execution ", None, QApplication.UnicodeUTF8))
+        self.connect(self.actionExecution,SIGNAL("activated()"),self.run)
+
+        self.menuOptions = self.menubar.addMenu("menuOptions")
+        self.menuOptions.addAction(self.actionParametres_Eficas)
+        self.menuOptions.setTitle(tr("Options"))
+
 
     def ChercheGrpMesh(self):
         Msg,listeGroup=self.ChercheGrpMeshInSalome()