1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'desCommentaire.ui'
5 # Created: Fri Apr 24 12:05:46 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_DComment(object):
13 def setupUi(self, DComment):
14 DComment.setObjectName("DComment")
15 DComment.resize(796, 618)
16 DComment.setMinimumSize(QtCore.QSize(505, 0))
17 self.gridLayout_3 = QtGui.QGridLayout(DComment)
18 self.gridLayout_3.setObjectName("gridLayout_3")
19 self.TWChoix = QtGui.QTabWidget(DComment)
20 self.TWChoix.setObjectName("TWChoix")
21 self.Valeur_Parametre = QtGui.QWidget()
22 self.Valeur_Parametre.setObjectName("Valeur_Parametre")
23 self.gridLayout = QtGui.QGridLayout(self.Valeur_Parametre)
24 self.gridLayout.setObjectName("gridLayout")
25 self.textCommentaire = QtGui.QTextEdit(self.Valeur_Parametre)
26 self.textCommentaire.setObjectName("textCommentaire")
27 self.gridLayout.addWidget(self.textCommentaire, 0, 0, 1, 1)
28 self.TWChoix.addTab(self.Valeur_Parametre, "")
29 self.Commande = QtGui.QWidget()
30 self.Commande.setObjectName("Commande")
31 self.gridLayout_4 = QtGui.QGridLayout(self.Commande)
32 self.gridLayout_4.setObjectName("gridLayout_4")
33 self.gridLayout_2 = QtGui.QGridLayout()
34 self.gridLayout_2.setObjectName("gridLayout_2")
35 self.textLabel1_4 = QtGui.QLabel(self.Commande)
36 self.textLabel1_4.setWordWrap(False)
37 self.textLabel1_4.setObjectName("textLabel1_4")
38 self.gridLayout_2.addWidget(self.textLabel1_4, 0, 0, 1, 2)
39 self.groupBox = QtGui.QGroupBox(self.Commande)
40 self.groupBox.setMinimumSize(QtCore.QSize(171, 71))
41 self.groupBox.setObjectName("groupBox")
42 self.gridLayout1 = QtGui.QGridLayout(self.groupBox)
43 self.gridLayout1.setObjectName("gridLayout1")
44 self.RBalpha = QtGui.QRadioButton(self.groupBox)
45 self.RBalpha.setMinimumSize(QtCore.QSize(149, 16))
46 self.RBalpha.setMaximumSize(QtCore.QSize(149, 16))
47 self.RBalpha.setChecked(True)
48 self.RBalpha.setObjectName("RBalpha")
49 self.gridLayout1.addWidget(self.RBalpha, 0, 0, 1, 1)
50 self.RBGroupe = QtGui.QRadioButton(self.groupBox)
51 self.RBGroupe.setObjectName("RBGroupe")
52 self.gridLayout1.addWidget(self.RBGroupe, 1, 0, 1, 1)
53 self.gridLayout_2.addWidget(self.groupBox, 0, 4, 2, 1)
54 self.textLabel6 = QtGui.QLabel(self.Commande)
55 self.textLabel6.setMinimumSize(QtCore.QSize(91, 30))
56 self.textLabel6.setWordWrap(False)
57 self.textLabel6.setObjectName("textLabel6")
58 self.gridLayout_2.addWidget(self.textLabel6, 1, 0, 1, 1)
59 self.LEFiltre = QtGui.QLineEdit(self.Commande)
60 self.LEFiltre.setMinimumSize(QtCore.QSize(231, 30))
61 self.LEFiltre.setObjectName("LEFiltre")
62 self.gridLayout_2.addWidget(self.LEFiltre, 1, 1, 1, 1)
63 self.BNext = QtGui.QPushButton(self.Commande)
64 self.BNext.setMinimumSize(QtCore.QSize(90, 30))
65 self.BNext.setObjectName("BNext")
66 self.gridLayout_2.addWidget(self.BNext, 1, 2, 1, 1)
67 spacerItem = QtGui.QSpacerItem(108, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
68 self.gridLayout_2.addItem(spacerItem, 1, 3, 1, 1)
69 self.gridLayout_4.addLayout(self.gridLayout_2, 0, 0, 1, 1)
70 self.LBNouvCommande = QtGui.QListWidget(self.Commande)
71 self.LBNouvCommande.setObjectName("LBNouvCommande")
72 self.gridLayout_4.addWidget(self.LBNouvCommande, 1, 0, 1, 1)
73 self.textLabel4 = QtGui.QLabel(self.Commande)
74 self.textLabel4.setMaximumSize(QtCore.QSize(721, 20))
75 self.textLabel4.setWordWrap(False)
76 self.textLabel4.setObjectName("textLabel4")
77 self.gridLayout_4.addWidget(self.textLabel4, 2, 0, 1, 1)
78 self.TWChoix.addTab(self.Commande, "")
79 self.gridLayout_3.addWidget(self.TWChoix, 0, 0, 1, 1)
80 self.horizontalLayout = QtGui.QHBoxLayout()
81 self.horizontalLayout.setObjectName("horizontalLayout")
82 spacerItem1 = QtGui.QSpacerItem(268, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
83 self.horizontalLayout.addItem(spacerItem1)
84 self.bOk = QtGui.QPushButton(DComment)
85 self.bOk.setMinimumSize(QtCore.QSize(160, 30))
86 self.bOk.setMaximumSize(QtCore.QSize(160, 30))
87 self.bOk.setAutoDefault(True)
88 self.bOk.setDefault(True)
89 self.bOk.setObjectName("bOk")
90 self.horizontalLayout.addWidget(self.bOk)
91 spacerItem2 = QtGui.QSpacerItem(328, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
92 self.horizontalLayout.addItem(spacerItem2)
93 self.gridLayout_3.addLayout(self.horizontalLayout, 1, 0, 1, 1)
95 self.retranslateUi(DComment)
96 self.TWChoix.setCurrentIndex(0)
97 QtCore.QMetaObject.connectSlotsByName(DComment)
98 DComment.setTabOrder(self.TWChoix, self.bOk)
100 def retranslateUi(self, DComment):
101 DComment.setWindowTitle(QtGui.QApplication.translate("DComment", "DComm", None, QtGui.QApplication.UnicodeUTF8))
102 self.TWChoix.setTabText(self.TWChoix.indexOf(self.Valeur_Parametre), QtGui.QApplication.translate("DComment", "Commentaire", None, QtGui.QApplication.UnicodeUTF8))
103 self.textLabel1_4.setText(QtGui.QApplication.translate("DComment", "<b><u>Commandes :</u></b>", None, QtGui.QApplication.UnicodeUTF8))
104 self.groupBox.setTitle(QtGui.QApplication.translate("DComment", "Affichage", None, QtGui.QApplication.UnicodeUTF8))
105 self.RBalpha.setText(QtGui.QApplication.translate("DComment", "alphabétique", None, QtGui.QApplication.UnicodeUTF8))
106 self.RBGroupe.setText(QtGui.QApplication.translate("DComment", "par groupe", None, QtGui.QApplication.UnicodeUTF8))
107 self.textLabel6.setText(QtGui.QApplication.translate("DComment", "Filtre", None, QtGui.QApplication.UnicodeUTF8))
108 self.BNext.setText(QtGui.QApplication.translate("DComment", "Suivant", None, QtGui.QApplication.UnicodeUTF8))
109 self.textLabel4.setText(QtGui.QApplication.translate("DComment", "La commande choisie sera ajoutée APRES la commande courante", None, QtGui.QApplication.UnicodeUTF8))
110 self.TWChoix.setTabText(self.TWChoix.indexOf(self.Commande), QtGui.QApplication.translate("DComment", "Nouvelle Commande", None, QtGui.QApplication.UnicodeUTF8))
111 self.bOk.setToolTip(QtGui.QApplication.translate("DComment", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8))
112 self.bOk.setText(QtGui.QApplication.translate("DComment", "&Valider", None, QtGui.QApplication.UnicodeUTF8))
113 self.bOk.setShortcut(QtGui.QApplication.translate("DComment", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8))
116 if __name__ == "__main__":
118 app = QtGui.QApplication(sys.argv)
119 DComment = QtGui.QWidget()
123 sys.exit(app.exec_())