From: Pascale Noyret Date: Fri, 3 Dec 2010 16:54:01 +0000 (+0000) Subject: ajout de menu pour MAP X-Git-Tag: V2_1~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d0cb3fa57c837e7a588e690f527671770e440c5b;p=modules%2Feficas.git ajout de menu pour MAP --- diff --git a/InterfaceQT4/qtEficas.py b/InterfaceQT4/qtEficas.py index 7d732a6b..11402174 100644 --- a/InterfaceQT4/qtEficas.py +++ b/InterfaceQT4/qtEficas.py @@ -96,15 +96,17 @@ class Appli(Ui_Eficas,QMainWindow): self.connect(self.actionTraduitV8V9,SIGNAL("activated()"),self.traductionV8V9) - def Map(self): - self.MAP() def MAP(self): + self.menuExecution = self.menubar.addMenu(QApplication.translate("Eficas", "Execution", None, QApplication.UnicodeUTF8)) + self.menuExecution.setObjectName("menuExecution") + self.menuJdC.setTitle(QApplication.translate("Eficas", "Rapports", None, QApplication.UnicodeUTF8)) + self.actionExecution = QAction(self) icon6 = QIcon(self.RepIcon+"/compute.png") self.actionExecution.setIcon(icon6) self.actionExecution.setObjectName("actionExecution") - self.menuJdC.addAction(self.actionExecution) + self.menuExecution.addAction(self.actionExecution) self.toolBar.addAction(self.actionExecution) self.actionExecution.setText(QApplication.translate("Eficas", "Execution Python", None, QApplication.UnicodeUTF8)) self.connect(self.actionExecution,SIGNAL("activated()"),self.run) @@ -125,7 +127,7 @@ class Appli(Ui_Eficas,QMainWindow): icon7 = QIcon(self.RepIcon+"/application.gif") self.actionExecutionYACS.setIcon(icon7) self.actionExecutionYACS.setObjectName("actionExecutionYACS") - self.menuJdC.addAction(self.actionExecutionYACS) + self.menuExecution.addAction(self.actionExecutionYACS) self.toolBar.addAction(self.actionExecutionYACS) self.actionExecutionYACS.setText(QApplication.translate("Eficas", "Execution YACS", None, QApplication.UnicodeUTF8)) self.connect(self.actionExecutionYACS,SIGNAL("activated()"),self.runYACS)