1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'myMain.ui'
5 # Created: Wed Feb 19 11:02:51 2014
6 # by: PyQt4 UI code generator 4.7.3
8 # WARNING! All changes made in this file will be lost!
10 from PyQt4 import QtCore, QtGui
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)
52 self.retranslateUi(Gestion)
53 QtCore.QMetaObject.connectSlotsByName(Gestion)
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))
64 if __name__ == "__main__":
66 app = QtGui.QApplication(sys.argv)
67 Gestion = QtGui.QWidget()