Salome HOME
Copyright update 2022
[modules/smesh.git] / src / Tools / Verima / Gui / myMain.py
1 # -*- coding: utf-8 -*-
2 # Copyright (C) 2014-2022  EDF R&D
3 #
4 # This library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License, or (at your option) any later version.
8 #
9 # This library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 # Lesser General Public License for more details.
13 #
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with this library; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 #
18 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 #
20
21 # Form implementation generated from reading ui file 'myMain.ui'
22 #
23 # Created: Wed Feb 19 11:02:51 2014
24 #      by: PyQt4 UI code generator 4.7.3
25 #
26 # WARNING! All changes made in this file will be lost!
27
28 from PyQt4 import QtCore, QtGui
29
30 class Ui_Gestion(object):
31     def setupUi(self, Gestion):
32         Gestion.setObjectName("Gestion")
33         Gestion.resize(400, 525)
34         self.gridLayout_4 = QtGui.QGridLayout(Gestion)
35         self.gridLayout_4.setObjectName("gridLayout_4")
36         self.gridLayout_2 = QtGui.QGridLayout()
37         self.gridLayout_2.setObjectName("gridLayout_2")
38         self.gridLayout_4.addLayout(self.gridLayout_2, 2, 0, 1, 1)
39         spacerItem = QtGui.QSpacerItem(20, 45, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
40         self.gridLayout_4.addItem(spacerItem, 1, 0, 1, 1)
41         self.gridLayout_3 = QtGui.QGridLayout()
42         self.gridLayout_3.setObjectName("gridLayout_3")
43         self.BExp = QtGui.QPushButton(Gestion)
44         self.BExp.setMinimumSize(QtCore.QSize(281, 41))
45         self.BExp.setObjectName("BExp")
46         self.gridLayout_3.addWidget(self.BExp, 0, 0, 1, 1)
47         self.BImp = QtGui.QPushButton(Gestion)
48         self.BImp.setMinimumSize(QtCore.QSize(281, 41))
49         self.BImp.setObjectName("BImp")
50         self.gridLayout_3.addWidget(self.BImp, 1, 0, 1, 1)
51         self.gridLayout_4.addLayout(self.gridLayout_3, 5, 0, 1, 1)
52         self.gridLayout = QtGui.QGridLayout()
53         self.gridLayout.setObjectName("gridLayout")
54         self.BCree = QtGui.QPushButton(Gestion)
55         self.BCree.setMinimumSize(QtCore.QSize(281, 41))
56         self.BCree.setObjectName("BCree")
57         self.gridLayout.addWidget(self.BCree, 0, 0, 1, 1)
58         self.BVue = QtGui.QPushButton(Gestion)
59         self.BVue.setMinimumSize(QtCore.QSize(281, 41))
60         self.BVue.setObjectName("BVue")
61         self.gridLayout.addWidget(self.BVue, 1, 0, 1, 1)
62         self.gridLayout_4.addLayout(self.gridLayout, 0, 0, 1, 1)
63         spacerItem1 = QtGui.QSpacerItem(20, 45, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
64         self.gridLayout_4.addItem(spacerItem1, 4, 0, 1, 1)
65         self.BStat = QtGui.QPushButton(Gestion)
66         self.BStat.setMinimumSize(QtCore.QSize(281, 41))
67         self.BStat.setObjectName("BStat")
68         self.gridLayout_4.addWidget(self.BStat, 3, 0, 1, 1)
69
70         self.retranslateUi(Gestion)
71         QtCore.QMetaObject.connectSlotsByName(Gestion)
72
73     def retranslateUi(self, Gestion):
74         Gestion.setWindowTitle(QtGui.QApplication.translate("Gestion", "Gestion de la Database", None, QtGui.QApplication.UnicodeUTF8))
75         self.BExp.setText(QtGui.QApplication.translate("Gestion", "Export de la database", None, QtGui.QApplication.UnicodeUTF8))
76         self.BImp.setText(QtGui.QApplication.translate("Gestion", "Import d\'une database", None, QtGui.QApplication.UnicodeUTF8))
77         self.BCree.setText(QtGui.QApplication.translate("Gestion", "Creation de la database", None, QtGui.QApplication.UnicodeUTF8))
78         self.BVue.setText(QtGui.QApplication.translate("Gestion", "Visualiser  la database", None, QtGui.QApplication.UnicodeUTF8))
79         self.BStat.setText(QtGui.QApplication.translate("Gestion", "Statistiques", None, QtGui.QApplication.UnicodeUTF8))
80
81
82 if __name__ == "__main__":
83     import sys
84     app = QtGui.QApplication(sys.argv)
85     Gestion = QtGui.QWidget()
86     ui = Ui_Gestion()
87     ui.setupUi(Gestion)
88     Gestion.show()
89     sys.exit(app.exec_())
90