1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'desParam.ui'
5 # Created: Fri Apr 24 10:10:36 2009
6 # by: PyQt4 UI code generator 4.4.3
8 # WARNING! All changes made in this file will be lost!
10 from PyQt4 import QtCore, QtGui
12 class Ui_DParam(object):
13 def setupUi(self, DParam):
14 DParam.setObjectName("DParam")
15 DParam.resize(682, 552)
16 DParam.setMinimumSize(QtCore.QSize(505, 0))
17 self.gridLayout_3 = QtGui.QGridLayout(DParam)
18 self.gridLayout_3.setObjectName("gridLayout_3")
19 self.TWChoix = QtGui.QTabWidget(DParam)
20 self.TWChoix.setObjectName("TWChoix")
21 self.Valeur_Parametre = QtGui.QWidget()
22 self.Valeur_Parametre.setObjectName("Valeur_Parametre")
23 self.gridLayout_5 = QtGui.QGridLayout(self.Valeur_Parametre)
24 self.gridLayout_5.setObjectName("gridLayout_5")
25 self.textLabel2_2_2 = QtGui.QLabel(self.Valeur_Parametre)
26 self.textLabel2_2_2.setWordWrap(False)
27 self.textLabel2_2_2.setObjectName("textLabel2_2_2")
28 self.gridLayout_5.addWidget(self.textLabel2_2_2, 0, 0, 1, 2)
29 self.textLabel2_2 = QtGui.QLabel(self.Valeur_Parametre)
30 self.textLabel2_2.setWordWrap(False)
31 self.textLabel2_2.setObjectName("textLabel2_2")
32 self.gridLayout_5.addWidget(self.textLabel2_2, 1, 0, 1, 1)
33 self.lineEditNom = QtGui.QLineEdit(self.Valeur_Parametre)
34 self.lineEditNom.setMinimumSize(QtCore.QSize(231, 31))
35 self.lineEditNom.setObjectName("lineEditNom")
36 self.gridLayout_5.addWidget(self.lineEditNom, 1, 1, 1, 1)
37 self.textLabel2 = QtGui.QLabel(self.Valeur_Parametre)
38 self.textLabel2.setWordWrap(False)
39 self.textLabel2.setObjectName("textLabel2")
40 self.gridLayout_5.addWidget(self.textLabel2, 2, 0, 1, 1)
41 self.lineEditVal = QtGui.QLineEdit(self.Valeur_Parametre)
42 self.lineEditVal.setMinimumSize(QtCore.QSize(231, 31))
43 self.lineEditVal.setObjectName("lineEditVal")
44 self.gridLayout_5.addWidget(self.lineEditVal, 2, 1, 1, 1)
45 self.Commentaire2 = QtGui.QLabel(self.Valeur_Parametre)
46 self.Commentaire2.setWordWrap(False)
47 self.Commentaire2.setObjectName("Commentaire2")
48 self.gridLayout_5.addWidget(self.Commentaire2, 3, 0, 1, 2)
49 spacerItem = QtGui.QSpacerItem(460, 139, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
50 self.gridLayout_5.addItem(spacerItem, 4, 0, 1, 2)
51 self.Commentaire = QtGui.QLabel(self.Valeur_Parametre)
52 self.Commentaire.setMinimumSize(QtCore.QSize(0, 20))
53 self.Commentaire.setMaximumSize(QtCore.QSize(465, 16777215))
54 self.Commentaire.setObjectName("Commentaire")
55 self.gridLayout_5.addWidget(self.Commentaire, 5, 0, 1, 2)
56 self.Commentaire_2 = QtGui.QLabel(self.Valeur_Parametre)
57 self.Commentaire_2.setWordWrap(False)
58 self.Commentaire_2.setObjectName("Commentaire_2")
59 self.gridLayout_5.addWidget(self.Commentaire_2, 6, 0, 1, 2)
60 self.TWChoix.addTab(self.Valeur_Parametre, "")
61 self.Commande = QtGui.QWidget()
62 self.Commande.setObjectName("Commande")
63 self.gridLayout_4 = QtGui.QGridLayout(self.Commande)
64 self.gridLayout_4.setObjectName("gridLayout_4")
65 self.gridLayout_2 = QtGui.QGridLayout()
66 self.gridLayout_2.setObjectName("gridLayout_2")
67 self.textLabel1_4 = QtGui.QLabel(self.Commande)
68 self.textLabel1_4.setWordWrap(False)
69 self.textLabel1_4.setObjectName("textLabel1_4")
70 self.gridLayout_2.addWidget(self.textLabel1_4, 0, 0, 1, 2)
71 self.groupBox = QtGui.QGroupBox(self.Commande)
72 self.groupBox.setMinimumSize(QtCore.QSize(171, 71))
73 self.groupBox.setObjectName("groupBox")
74 self.gridLayout = QtGui.QGridLayout(self.groupBox)
75 self.gridLayout.setObjectName("gridLayout")
76 self.RBalpha = QtGui.QRadioButton(self.groupBox)
77 self.RBalpha.setMinimumSize(QtCore.QSize(149, 16))
78 self.RBalpha.setMaximumSize(QtCore.QSize(149, 16))
79 self.RBalpha.setChecked(True)
80 self.RBalpha.setObjectName("RBalpha")
81 self.gridLayout.addWidget(self.RBalpha, 0, 0, 1, 1)
82 self.RBGroupe = QtGui.QRadioButton(self.groupBox)
83 self.RBGroupe.setObjectName("RBGroupe")
84 self.gridLayout.addWidget(self.RBGroupe, 1, 0, 1, 1)
85 self.gridLayout_2.addWidget(self.groupBox, 0, 4, 2, 1)
86 self.textLabel6 = QtGui.QLabel(self.Commande)
87 self.textLabel6.setMinimumSize(QtCore.QSize(91, 30))
88 self.textLabel6.setWordWrap(False)
89 self.textLabel6.setObjectName("textLabel6")
90 self.gridLayout_2.addWidget(self.textLabel6, 1, 0, 1, 1)
91 self.LEFiltre = QtGui.QLineEdit(self.Commande)
92 self.LEFiltre.setMinimumSize(QtCore.QSize(231, 30))
93 self.LEFiltre.setObjectName("LEFiltre")
94 self.gridLayout_2.addWidget(self.LEFiltre, 1, 1, 1, 1)
95 self.BNext = QtGui.QPushButton(self.Commande)
96 self.BNext.setMinimumSize(QtCore.QSize(90, 30))
97 self.BNext.setObjectName("BNext")
98 self.gridLayout_2.addWidget(self.BNext, 1, 2, 1, 1)
99 spacerItem1 = QtGui.QSpacerItem(108, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
100 self.gridLayout_2.addItem(spacerItem1, 1, 3, 1, 1)
101 self.gridLayout_4.addLayout(self.gridLayout_2, 0, 0, 1, 1)
102 self.LBNouvCommande = QtGui.QListWidget(self.Commande)
103 self.LBNouvCommande.setObjectName("LBNouvCommande")
104 self.gridLayout_4.addWidget(self.LBNouvCommande, 1, 0, 1, 1)
105 self.textLabel4 = QtGui.QLabel(self.Commande)
106 self.textLabel4.setMaximumSize(QtCore.QSize(721, 20))
107 self.textLabel4.setWordWrap(False)
108 self.textLabel4.setObjectName("textLabel4")
109 self.gridLayout_4.addWidget(self.textLabel4, 2, 0, 1, 1)
110 self.TWChoix.addTab(self.Commande, "")
111 self.gridLayout_3.addWidget(self.TWChoix, 0, 0, 1, 1)
112 self.horizontalLayout = QtGui.QHBoxLayout()
113 self.horizontalLayout.setObjectName("horizontalLayout")
114 spacerItem2 = QtGui.QSpacerItem(158, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
115 self.horizontalLayout.addItem(spacerItem2)
116 self.bOk = QtGui.QPushButton(DParam)
117 self.bOk.setMinimumSize(QtCore.QSize(160, 30))
118 self.bOk.setMaximumSize(QtCore.QSize(160, 30))
119 self.bOk.setAutoDefault(True)
120 self.bOk.setDefault(True)
121 self.bOk.setObjectName("bOk")
122 self.horizontalLayout.addWidget(self.bOk)
123 spacerItem3 = QtGui.QSpacerItem(148, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
124 self.horizontalLayout.addItem(spacerItem3)
125 self.gridLayout_3.addLayout(self.horizontalLayout, 1, 0, 1, 1)
127 self.retranslateUi(DParam)
128 self.TWChoix.setCurrentIndex(0)
129 QtCore.QMetaObject.connectSlotsByName(DParam)
130 DParam.setTabOrder(self.LEFiltre, self.TWChoix)
131 DParam.setTabOrder(self.TWChoix, self.lineEditNom)
132 DParam.setTabOrder(self.lineEditNom, self.lineEditVal)
133 DParam.setTabOrder(self.lineEditVal, self.LBNouvCommande)
134 DParam.setTabOrder(self.LBNouvCommande, self.RBalpha)
135 DParam.setTabOrder(self.RBalpha, self.bOk)
137 def retranslateUi(self, DParam):
138 DParam.setWindowTitle(QtGui.QApplication.translate("DParam", "DComm", None, QtGui.QApplication.UnicodeUTF8))
139 self.textLabel2_2_2.setText(QtGui.QApplication.translate("DParam", "<u><b><p align=\"center\">Parametre</p></b></u>", None, QtGui.QApplication.UnicodeUTF8))
140 self.textLabel2_2.setText(QtGui.QApplication.translate("DParam", "<b> Nom: </b>", None, QtGui.QApplication.UnicodeUTF8))
141 self.textLabel2.setText(QtGui.QApplication.translate("DParam", "<b> Valeur: </b>", None, QtGui.QApplication.UnicodeUTF8))
142 self.Commentaire2.setText(QtGui.QApplication.translate("DParam", "Retour Chariot dans une sone de saisie permet de vérifier la \n"
143 "validité de la valeur saisie.\n"
145 "Les nouvelles valeurs ne seront prises en compte qu\'après avoir \n"
146 "appuyé sur le bouton Valider.", None, QtGui.QApplication.UnicodeUTF8))
147 self.TWChoix.setTabText(self.TWChoix.indexOf(self.Valeur_Parametre), QtGui.QApplication.translate("DParam", "Valeur Parametre", None, QtGui.QApplication.UnicodeUTF8))
148 self.textLabel1_4.setText(QtGui.QApplication.translate("DParam", "<b><u>Commandes :</u></b>", None, QtGui.QApplication.UnicodeUTF8))
149 self.groupBox.setTitle(QtGui.QApplication.translate("DParam", "Affichage", None, QtGui.QApplication.UnicodeUTF8))
150 self.RBalpha.setText(QtGui.QApplication.translate("DParam", "alphabétique", None, QtGui.QApplication.UnicodeUTF8))
151 self.RBGroupe.setText(QtGui.QApplication.translate("DParam", "par groupe", None, QtGui.QApplication.UnicodeUTF8))
152 self.textLabel6.setText(QtGui.QApplication.translate("DParam", "Filtre", None, QtGui.QApplication.UnicodeUTF8))
153 self.BNext.setText(QtGui.QApplication.translate("DParam", "Suivant", None, QtGui.QApplication.UnicodeUTF8))
154 self.textLabel4.setText(QtGui.QApplication.translate("DParam", "La commande choisie sera ajoutée APRES la commande courante", None, QtGui.QApplication.UnicodeUTF8))
155 self.TWChoix.setTabText(self.TWChoix.indexOf(self.Commande), QtGui.QApplication.translate("DParam", "Nouvelle Commande", None, QtGui.QApplication.UnicodeUTF8))
156 self.bOk.setToolTip(QtGui.QApplication.translate("DParam", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8))
157 self.bOk.setText(QtGui.QApplication.translate("DParam", "&Valider", None, QtGui.QApplication.UnicodeUTF8))
158 self.bOk.setShortcut(QtGui.QApplication.translate("DParam", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8))
161 if __name__ == "__main__":
163 app = QtGui.QApplication(sys.argv)
164 DParam = QtGui.QWidget()
168 sys.exit(app.exec_())