]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
PN
authorPascale Noyret <pascale.noyret@edf.fr>
Thu, 22 Feb 2007 09:50:39 +0000 (09:50 +0000)
committerPascale Noyret <pascale.noyret@edf.fr>
Thu, 22 Feb 2007 09:50:39 +0000 (09:50 +0000)
Interface/afficheErreur.py [new file with mode: 0644]
Interface/visualisation.py [new file with mode: 0644]

diff --git a/Interface/afficheErreur.py b/Interface/afficheErreur.py
new file mode 100644 (file)
index 0000000..abf0bcd
--- /dev/null
@@ -0,0 +1,47 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file '../Ui/afficheErreur.ui'
+#
+# Created: mar fév 20 17:09:11 2007
+#      by: The PyQt User Interface Compiler (pyuic) 3.13
+#
+# WARNING! All changes made in this file will be lost!
+
+
+from qt import *
+
+
+class afficheErreur(QWidget):
+    def __init__(self,parent = None,name = None,fl = 0):
+        QWidget.__init__(self,parent,name,fl)
+
+        if not name:
+            self.setName("afficheErreur")
+
+        f = QFont(self.font())
+        f.setPointSize(14)
+        self.setFont(f)
+
+
+        self.texteErreur = QTextBrowser(self,"texteErreur")
+        self.texteErreur.setGeometry(QRect(1,1,470,260))
+
+        self.pushBOK = QPushButton(self,"pushBOK")
+        self.pushBOK.setGeometry(QRect(410,260,60,30))
+        self.pushBOK.setMinimumSize(QSize(60,30))
+
+        self.languageChange()
+
+        self.resize(QSize(474,294).expandedTo(self.minimumSizeHint()))
+        self.clearWState(Qt.WState_Polished)
+
+        self.connect(self.pushBOK,SIGNAL("clicked()"),self.close)
+
+
+    def languageChange(self):
+        self.setCaption(self.__tr("Erreur lors du chargement du fichier"))
+        self.pushBOK.setText(self.__tr("Ok"))
+
+
+    def __tr(self,s,c = None):
+        return qApp.translate("afficheErreur",s,c)
diff --git a/Interface/visualisation.py b/Interface/visualisation.py
new file mode 100644 (file)
index 0000000..675bc29
--- /dev/null
@@ -0,0 +1,59 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'visualisation.ui'
+#
+# Created: mer fév 21 10:55:14 2007
+#      by: The PyQt User Interface Compiler (pyuic) 3.13
+#
+# WARNING! All changes made in this file will be lost!
+
+
+from qt import *
+
+
+class visual(QWidget):
+    def __init__(self,parent = None,name = None,fl = 0):
+        QWidget.__init__(self,parent,name,fl)
+
+        if not name:
+            self.setName("visual")
+
+        f = QFont(self.font())
+        f.setPointSize(14)
+        self.setFont(f)
+
+
+        self.frame5 = QFrame(self,"frame5")
+        self.frame5.setGeometry(QRect(10,520,801,41))
+        self.frame5.setFrameShape(QFrame.StyledPanel)
+        self.frame5.setFrameShadow(QFrame.Raised)
+
+        self.pushBOK = QPushButton(self.frame5,"pushBOK")
+        self.pushBOK.setGeometry(QRect(120,8,121,25))
+
+        self.pushBSave = QPushButton(self.frame5,"pushBSave")
+        self.pushBSave.setGeometry(QRect(470,8,120,25))
+
+        self.textBrowser1 = QTextBrowser(self,"textBrowser1")
+        self.textBrowser1.setGeometry(QRect(10,10,810,500))
+
+        self.languageChange()
+
+        self.resize(QSize(830,582).expandedTo(self.minimumSizeHint()))
+        self.clearWState(Qt.WState_Polished)
+
+        self.connect(self.pushBOK,SIGNAL("clicked()"),self.close)
+        self.connect(self.pushBSave,SIGNAL("clicked()"),self.Save)
+
+
+    def languageChange(self):
+        self.setCaption(self.__tr("Visualisation du rapport de validation du jeu de commandes courant"))
+        self.pushBOK.setText(self.__tr("Fermer"))
+        self.pushBSave.setText(self.__tr("Sauver"))
+
+
+    def Save(self):
+        print "visual.Save(): Not implemented yet"
+
+    def __tr(self,s,c = None):
+        return qApp.translate("visual",s,c)