1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'desCommande.ui'
5 # Created: Tue Nov 18 17:37:24 2008
6 # by: PyQt4 UI code generator 4.4.2
8 # WARNING! All changes made in this file will be lost!
10 from PyQt4 import QtCore, QtGui
12 class Ui_DComm(object):
13 def setupUi(self, DComm):
14 DComm.setObjectName("DComm")
16 DComm.setMinimumSize(QtCore.QSize(505,0))
17 self.gridlayout = QtGui.QGridLayout(DComm)
18 self.gridlayout.setObjectName("gridlayout")
19 self.Commentaire = QtGui.QLabel(DComm)
20 self.Commentaire.setFrameShape(QtGui.QFrame.NoFrame)
21 self.Commentaire.setFrameShadow(QtGui.QFrame.Plain)
22 self.Commentaire.setWordWrap(False)
23 self.Commentaire.setObjectName("Commentaire")
24 self.gridlayout.addWidget(self.Commentaire,1,0,1,3)
25 self.bOk = QtGui.QPushButton(DComm)
26 self.bOk.setMinimumSize(QtCore.QSize(0,30))
27 self.bOk.setAutoDefault(True)
28 self.bOk.setDefault(True)
29 self.bOk.setObjectName("bOk")
30 self.gridlayout.addWidget(self.bOk,2,1,1,1)
31 self.bSup = QtGui.QPushButton(DComm)
32 self.bSup.setMinimumSize(QtCore.QSize(0,30))
33 self.bSup.setAutoDefault(True)
34 self.bSup.setObjectName("bSup")
35 self.gridlayout.addWidget(self.bSup,2,0,1,1)
36 self.bHelp = QtGui.QPushButton(DComm)
37 self.bHelp.setMinimumSize(QtCore.QSize(0,30))
38 self.bHelp.setAutoDefault(True)
39 self.bHelp.setObjectName("bHelp")
40 self.gridlayout.addWidget(self.bHelp,2,2,1,1)
41 self.TWChoix = QtGui.QTabWidget(DComm)
42 self.TWChoix.setObjectName("TWChoix")
43 self.MotClef = QtGui.QWidget()
44 self.MotClef.setGeometry(QtCore.QRect(0,0,483,372))
45 self.MotClef.setObjectName("MotClef")
46 self.gridLayout_3 = QtGui.QGridLayout(self.MotClef)
47 self.gridLayout_3.setObjectName("gridLayout_3")
48 self.textLabel1 = QtGui.QLabel(self.MotClef)
49 self.textLabel1.setMinimumSize(QtCore.QSize(0,0))
50 self.textLabel1.setWordWrap(False)
51 self.textLabel1.setObjectName("textLabel1")
52 self.gridLayout_3.addWidget(self.textLabel1,0,0,1,1)
53 self.textLabel1_2 = QtGui.QLabel(self.MotClef)
54 self.textLabel1_2.setWordWrap(False)
55 self.textLabel1_2.setObjectName("textLabel1_2")
56 self.gridLayout_3.addWidget(self.textLabel1_2,0,1,1,1)
57 self.LBMCPermis = QtGui.QListWidget(self.MotClef)
58 self.LBMCPermis.setObjectName("LBMCPermis")
59 self.gridLayout_3.addWidget(self.LBMCPermis,1,0,1,1)
60 self.LBRegles = QtGui.QListWidget(self.MotClef)
61 self.LBRegles.setObjectName("LBRegles")
62 self.gridLayout_3.addWidget(self.LBRegles,1,1,1,1)
63 self.TWChoix.addTab(self.MotClef,"")
64 self.Concept = QtGui.QWidget()
65 self.Concept.setGeometry(QtCore.QRect(0,0,483,372))
66 self.Concept.setObjectName("Concept")
67 self.gridlayout1 = QtGui.QGridLayout(self.Concept)
68 self.gridlayout1.setObjectName("gridlayout1")
69 self.groupBox1 = QtGui.QGroupBox(self.Concept)
70 self.groupBox1.setObjectName("groupBox1")
71 self.textLabel1_3 = QtGui.QLabel(self.groupBox1)
72 self.textLabel1_3.setGeometry(QtCore.QRect(80,50,130,31))
73 self.textLabel1_3.setWordWrap(False)
74 self.textLabel1_3.setObjectName("textLabel1_3")
75 self.textLabel1_3_2 = QtGui.QLabel(self.groupBox1)
76 self.textLabel1_3_2.setGeometry(QtCore.QRect(80,170,150,31))
77 self.textLabel1_3_2.setWordWrap(False)
78 self.textLabel1_3_2.setObjectName("textLabel1_3_2")
79 self.LENomConcept = QtGui.QLineEdit(self.groupBox1)
80 self.LENomConcept.setGeometry(QtCore.QRect(80,110,310,30))
81 self.LENomConcept.setObjectName("LENomConcept")
82 self.textLabel3 = QtGui.QLabel(self.groupBox1)
83 self.textLabel3.setGeometry(QtCore.QRect(10,200,290,31))
84 self.textLabel3.setWordWrap(False)
85 self.textLabel3.setObjectName("textLabel3")
86 self.typeConcept = QtGui.QLabel(self.groupBox1)
87 self.typeConcept.setGeometry(QtCore.QRect(310,200,130,31))
88 self.typeConcept.setWordWrap(False)
89 self.typeConcept.setObjectName("typeConcept")
90 self.gridlayout1.addWidget(self.groupBox1,0,0,1,1)
91 self.TWChoix.addTab(self.Concept,"")
92 self.Commande = QtGui.QWidget()
93 self.Commande.setGeometry(QtCore.QRect(0,0,483,372))
94 self.Commande.setObjectName("Commande")
95 self.gridLayout_2 = QtGui.QGridLayout(self.Commande)
96 self.gridLayout_2.setObjectName("gridLayout_2")
97 self.textLabel1_4 = QtGui.QLabel(self.Commande)
98 self.textLabel1_4.setWordWrap(False)
99 self.textLabel1_4.setObjectName("textLabel1_4")
100 self.gridLayout_2.addWidget(self.textLabel1_4,0,0,1,1)
101 self.horizontalLayout = QtGui.QHBoxLayout()
102 self.horizontalLayout.setObjectName("horizontalLayout")
103 self.textLabel6 = QtGui.QLabel(self.Commande)
104 self.textLabel6.setMinimumSize(QtCore.QSize(50,30))
105 self.textLabel6.setWordWrap(False)
106 self.textLabel6.setObjectName("textLabel6")
107 self.horizontalLayout.addWidget(self.textLabel6)
108 self.LEFiltre = QtGui.QLineEdit(self.Commande)
109 self.LEFiltre.setMinimumSize(QtCore.QSize(160,30))
110 self.LEFiltre.setObjectName("LEFiltre")
111 self.horizontalLayout.addWidget(self.LEFiltre)
112 self.BNext = QtGui.QPushButton(self.Commande)
113 self.BNext.setObjectName("BNext")
114 self.horizontalLayout.addWidget(self.BNext)
115 self.gridLayout_2.addLayout(self.horizontalLayout,1,0,1,1)
116 self.groupBox = QtGui.QGroupBox(self.Commande)
117 self.groupBox.setObjectName("groupBox")
118 self.gridLayout = QtGui.QGridLayout(self.groupBox)
119 self.gridLayout.setObjectName("gridLayout")
120 self.RBalpha = QtGui.QRadioButton(self.groupBox)
121 self.RBalpha.setChecked(True)
122 self.RBalpha.setObjectName("RBalpha")
123 self.gridLayout.addWidget(self.RBalpha,0,0,1,1)
124 self.RBGroupe = QtGui.QRadioButton(self.groupBox)
125 self.RBGroupe.setObjectName("RBGroupe")
126 self.gridLayout.addWidget(self.RBGroupe,1,0,1,1)
127 self.gridLayout_2.addWidget(self.groupBox,0,1,2,1)
128 self.LBNouvCommande = QtGui.QListWidget(self.Commande)
129 self.LBNouvCommande.setObjectName("LBNouvCommande")
130 self.gridLayout_2.addWidget(self.LBNouvCommande,2,0,1,2)
131 self.textLabel4 = QtGui.QLabel(self.Commande)
132 self.textLabel4.setWordWrap(False)
133 self.textLabel4.setObjectName("textLabel4")
134 self.gridLayout_2.addWidget(self.textLabel4,3,0,1,2)
135 self.TWChoix.addTab(self.Commande,"")
136 self.gridlayout.addWidget(self.TWChoix,0,0,1,3)
138 self.retranslateUi(DComm)
139 self.TWChoix.setCurrentIndex(0)
140 QtCore.QMetaObject.connectSlotsByName(DComm)
141 DComm.setTabOrder(self.LEFiltre,self.LENomConcept)
142 DComm.setTabOrder(self.LENomConcept,self.TWChoix)
143 DComm.setTabOrder(self.TWChoix,self.LBNouvCommande)
144 DComm.setTabOrder(self.LBNouvCommande,self.bOk)
145 DComm.setTabOrder(self.bOk,self.bSup)
146 DComm.setTabOrder(self.bSup,self.bHelp)
148 def retranslateUi(self, DComm):
149 DComm.setWindowTitle(QtGui.QApplication.translate("DComm", "DComm", None, QtGui.QApplication.UnicodeUTF8))
150 self.bOk.setToolTip(QtGui.QApplication.translate("DComm", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8))
151 self.bOk.setText(QtGui.QApplication.translate("DComm", "&Valider", None, QtGui.QApplication.UnicodeUTF8))
152 self.bOk.setShortcut(QtGui.QApplication.translate("DComm", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8))
153 self.bSup.setToolTip(QtGui.QApplication.translate("DComm", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8))
154 self.bSup.setText(QtGui.QApplication.translate("DComm", "&Supprimer", None, QtGui.QApplication.UnicodeUTF8))
155 self.bSup.setShortcut(QtGui.QApplication.translate("DComm", "Alt+S", None, QtGui.QApplication.UnicodeUTF8))
156 self.bHelp.setToolTip(QtGui.QApplication.translate("DComm", "affichage documentation aster", None, QtGui.QApplication.UnicodeUTF8))
157 self.bHelp.setText(QtGui.QApplication.translate("DComm", "&Documentation", None, QtGui.QApplication.UnicodeUTF8))
158 self.bHelp.setShortcut(QtGui.QApplication.translate("DComm", "Alt+D", None, QtGui.QApplication.UnicodeUTF8))
159 self.textLabel1.setText(QtGui.QApplication.translate("DComm", "<h3><p align=\"center\"><u><b>Mots Clefs Permis</b></u></p></h3>", None, QtGui.QApplication.UnicodeUTF8))
160 self.textLabel1_2.setText(QtGui.QApplication.translate("DComm", "<h3><p align=\"center\"><u><b>Règles</b></u></p></h3>", None, QtGui.QApplication.UnicodeUTF8))
161 self.TWChoix.setTabText(self.TWChoix.indexOf(self.MotClef), QtGui.QApplication.translate("DComm", "Ajouter Mot-Clef", None, QtGui.QApplication.UnicodeUTF8))
162 self.groupBox1.setTitle(QtGui.QApplication.translate("DComm", "Concept", None, QtGui.QApplication.UnicodeUTF8))
163 self.textLabel1_3.setText(QtGui.QApplication.translate("DComm", "<u>Nom du concept :</u>", None, QtGui.QApplication.UnicodeUTF8))
164 self.textLabel1_3_2.setText(QtGui.QApplication.translate("DComm", "<u>Type du concept :</u>", None, QtGui.QApplication.UnicodeUTF8))
165 self.textLabel3.setText(QtGui.QApplication.translate("DComm", "L\'opérateur retourne un concept de type :", None, QtGui.QApplication.UnicodeUTF8))
166 self.typeConcept.setText(QtGui.QApplication.translate("DComm", "TypeDuConcept", None, QtGui.QApplication.UnicodeUTF8))
167 self.TWChoix.setTabText(self.TWChoix.indexOf(self.Concept), QtGui.QApplication.translate("DComm", "Nommer Concept", None, QtGui.QApplication.UnicodeUTF8))
168 self.textLabel1_4.setText(QtGui.QApplication.translate("DComm", "<b><u>Commandes :</u></b>", None, QtGui.QApplication.UnicodeUTF8))
169 self.textLabel6.setText(QtGui.QApplication.translate("DComm", "Filtre", None, QtGui.QApplication.UnicodeUTF8))
170 self.BNext.setText(QtGui.QApplication.translate("DComm", "Suivant", None, QtGui.QApplication.UnicodeUTF8))
171 self.groupBox.setTitle(QtGui.QApplication.translate("DComm", "Affichage", None, QtGui.QApplication.UnicodeUTF8))
172 self.RBalpha.setText(QtGui.QApplication.translate("DComm", "alphabétique", None, QtGui.QApplication.UnicodeUTF8))
173 self.RBGroupe.setText(QtGui.QApplication.translate("DComm", "par groupe", None, QtGui.QApplication.UnicodeUTF8))
174 self.textLabel4.setText(QtGui.QApplication.translate("DComm", "La commande choisie sera ajoutée APRES la commande courante", None, QtGui.QApplication.UnicodeUTF8))
175 self.TWChoix.setTabText(self.TWChoix.indexOf(self.Commande), QtGui.QApplication.translate("DComm", "Nouvelle Commande", None, QtGui.QApplication.UnicodeUTF8))
178 if __name__ == "__main__":
180 app = QtGui.QApplication(sys.argv)
181 DComm = QtGui.QWidget()
185 sys.exit(app.exec_())