]> SALOME platform Git repositories - modules/smesh.git/blob - src/Tools/Verima/Gui/myMain.py
Salome HOME
0022876: EDF 8425 SMESH: Get the normal of a face in the GUI
[modules/smesh.git] / src / Tools / Verima / Gui / myMain.py
1 # -*- coding: utf-8 -*-
2
3 # Form implementation generated from reading ui file 'myMain.ui'
4 #
5 # Created: Wed Feb 19 11:02:51 2014
6 #      by: PyQt4 UI code generator 4.7.3
7 #
8 # WARNING! All changes made in this file will be lost!
9
10 from PyQt4 import QtCore, QtGui
11
12 class Ui_Gestion(object):
13     def setupUi(self, Gestion):
14         Gestion.setObjectName("Gestion")
15         Gestion.resize(400, 525)
16         self.gridLayout_4 = QtGui.QGridLayout(Gestion)
17         self.gridLayout_4.setObjectName("gridLayout_4")
18         self.gridLayout_2 = QtGui.QGridLayout()
19         self.gridLayout_2.setObjectName("gridLayout_2")
20         self.gridLayout_4.addLayout(self.gridLayout_2, 2, 0, 1, 1)
21         spacerItem = QtGui.QSpacerItem(20, 45, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
22         self.gridLayout_4.addItem(spacerItem, 1, 0, 1, 1)
23         self.gridLayout_3 = QtGui.QGridLayout()
24         self.gridLayout_3.setObjectName("gridLayout_3")
25         self.BExp = QtGui.QPushButton(Gestion)
26         self.BExp.setMinimumSize(QtCore.QSize(281, 41))
27         self.BExp.setObjectName("BExp")
28         self.gridLayout_3.addWidget(self.BExp, 0, 0, 1, 1)
29         self.BImp = QtGui.QPushButton(Gestion)
30         self.BImp.setMinimumSize(QtCore.QSize(281, 41))
31         self.BImp.setObjectName("BImp")
32         self.gridLayout_3.addWidget(self.BImp, 1, 0, 1, 1)
33         self.gridLayout_4.addLayout(self.gridLayout_3, 5, 0, 1, 1)
34         self.gridLayout = QtGui.QGridLayout()
35         self.gridLayout.setObjectName("gridLayout")
36         self.BCree = QtGui.QPushButton(Gestion)
37         self.BCree.setMinimumSize(QtCore.QSize(281, 41))
38         self.BCree.setObjectName("BCree")
39         self.gridLayout.addWidget(self.BCree, 0, 0, 1, 1)
40         self.BVue = QtGui.QPushButton(Gestion)
41         self.BVue.setMinimumSize(QtCore.QSize(281, 41))
42         self.BVue.setObjectName("BVue")
43         self.gridLayout.addWidget(self.BVue, 1, 0, 1, 1)
44         self.gridLayout_4.addLayout(self.gridLayout, 0, 0, 1, 1)
45         spacerItem1 = QtGui.QSpacerItem(20, 45, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
46         self.gridLayout_4.addItem(spacerItem1, 4, 0, 1, 1)
47         self.BStat = QtGui.QPushButton(Gestion)
48         self.BStat.setMinimumSize(QtCore.QSize(281, 41))
49         self.BStat.setObjectName("BStat")
50         self.gridLayout_4.addWidget(self.BStat, 3, 0, 1, 1)
51
52         self.retranslateUi(Gestion)
53         QtCore.QMetaObject.connectSlotsByName(Gestion)
54
55     def retranslateUi(self, Gestion):
56         Gestion.setWindowTitle(QtGui.QApplication.translate("Gestion", "Gestion de la Database", None, QtGui.QApplication.UnicodeUTF8))
57         self.BExp.setText(QtGui.QApplication.translate("Gestion", "Export de la database", None, QtGui.QApplication.UnicodeUTF8))
58         self.BImp.setText(QtGui.QApplication.translate("Gestion", "Import d\'une database", None, QtGui.QApplication.UnicodeUTF8))
59         self.BCree.setText(QtGui.QApplication.translate("Gestion", "Creation de la database", None, QtGui.QApplication.UnicodeUTF8))
60         self.BVue.setText(QtGui.QApplication.translate("Gestion", "Visualiser  la database", None, QtGui.QApplication.UnicodeUTF8))
61         self.BStat.setText(QtGui.QApplication.translate("Gestion", "Statistiques", None, QtGui.QApplication.UnicodeUTF8))
62
63
64 if __name__ == "__main__":
65     import sys
66     app = QtGui.QApplication(sys.argv)
67     Gestion = QtGui.QWidget()
68     ui = Ui_Gestion()
69     ui.setupUi(Gestion)
70     Gestion.show()
71     sys.exit(app.exec_())
72