]> SALOME platform Git repositories - tools/eficas.git/blob - UiQT4/desPoursuite.py
Salome HOME
CCAR: rabattre la version V1_15a4 dans la branche principale
[tools/eficas.git] / UiQT4 / desPoursuite.py
1 # -*- coding: utf-8 -*-
2
3 # Form implementation generated from reading ui file 'desPoursuite.ui'
4 #
5 # Created: Tue Nov 18 17:37:25 2008
6 #      by: PyQt4 UI code generator 4.4.2
7 #
8 # WARNING! All changes made in this file will be lost!
9
10 from PyQt4 import QtCore, QtGui
11
12 class Ui_DPour(object):
13     def setupUi(self, DPour):
14         DPour.setObjectName("DPour")
15         DPour.resize(521,544)
16         DPour.setMinimumSize(QtCore.QSize(505,0))
17         self.gridlayout = QtGui.QGridLayout(DPour)
18         self.gridlayout.setObjectName("gridlayout")
19         self.TWChoix = QtGui.QTabWidget(DPour)
20         self.TWChoix.setObjectName("TWChoix")
21         self.MotClef = QtGui.QWidget()
22         self.MotClef.setGeometry(QtCore.QRect(0,0,499,433))
23         self.MotClef.setObjectName("MotClef")
24         self.gridLayout_4 = QtGui.QGridLayout(self.MotClef)
25         self.gridLayout_4.setObjectName("gridLayout_4")
26         self.textLabel1 = QtGui.QLabel(self.MotClef)
27         self.textLabel1.setMinimumSize(QtCore.QSize(0,0))
28         self.textLabel1.setWordWrap(False)
29         self.textLabel1.setObjectName("textLabel1")
30         self.gridLayout_4.addWidget(self.textLabel1,0,0,1,1)
31         self.textLabel1_2 = QtGui.QLabel(self.MotClef)
32         self.textLabel1_2.setWordWrap(False)
33         self.textLabel1_2.setObjectName("textLabel1_2")
34         self.gridLayout_4.addWidget(self.textLabel1_2,0,1,1,1)
35         self.LBMCPermis = QtGui.QListWidget(self.MotClef)
36         self.LBMCPermis.setMinimumSize(QtCore.QSize(0,0))
37         self.LBMCPermis.setObjectName("LBMCPermis")
38         self.gridLayout_4.addWidget(self.LBMCPermis,1,0,1,1)
39         self.LBRegles = QtGui.QListWidget(self.MotClef)
40         self.LBRegles.setObjectName("LBRegles")
41         self.gridLayout_4.addWidget(self.LBRegles,1,1,1,1)
42         self.TWChoix.addTab(self.MotClef,"")
43         self.Commande = QtGui.QWidget()
44         self.Commande.setGeometry(QtCore.QRect(0,0,499,433))
45         self.Commande.setObjectName("Commande")
46         self.gridLayout_3 = QtGui.QGridLayout(self.Commande)
47         self.gridLayout_3.setObjectName("gridLayout_3")
48         self.textLabel1_4 = QtGui.QLabel(self.Commande)
49         self.textLabel1_4.setWordWrap(False)
50         self.textLabel1_4.setObjectName("textLabel1_4")
51         self.gridLayout_3.addWidget(self.textLabel1_4,0,0,1,3)
52         self.groupBox = QtGui.QGroupBox(self.Commande)
53         self.groupBox.setObjectName("groupBox")
54         self.gridLayout = QtGui.QGridLayout(self.groupBox)
55         self.gridLayout.setObjectName("gridLayout")
56         self.RBalpha = QtGui.QRadioButton(self.groupBox)
57         self.RBalpha.setChecked(True)
58         self.RBalpha.setObjectName("RBalpha")
59         self.gridLayout.addWidget(self.RBalpha,0,0,1,1)
60         self.RBGroupe = QtGui.QRadioButton(self.groupBox)
61         self.RBGroupe.setObjectName("RBGroupe")
62         self.gridLayout.addWidget(self.RBGroupe,1,0,1,1)
63         self.gridLayout_3.addWidget(self.groupBox,0,3,2,1)
64         self.textLabel6 = QtGui.QLabel(self.Commande)
65         self.textLabel6.setMinimumSize(QtCore.QSize(50,30))
66         self.textLabel6.setWordWrap(False)
67         self.textLabel6.setObjectName("textLabel6")
68         self.gridLayout_3.addWidget(self.textLabel6,1,0,1,1)
69         self.LEFiltre = QtGui.QLineEdit(self.Commande)
70         self.LEFiltre.setMinimumSize(QtCore.QSize(160,30))
71         self.LEFiltre.setObjectName("LEFiltre")
72         self.gridLayout_3.addWidget(self.LEFiltre,1,1,1,1)
73         self.pushButton = QtGui.QPushButton(self.Commande)
74         self.pushButton.setObjectName("pushButton")
75         self.gridLayout_3.addWidget(self.pushButton,1,2,1,1)
76         self.LBNouvCommande = QtGui.QListWidget(self.Commande)
77         self.LBNouvCommande.setObjectName("LBNouvCommande")
78         self.gridLayout_3.addWidget(self.LBNouvCommande,2,0,1,4)
79         self.textLabel4 = QtGui.QLabel(self.Commande)
80         self.textLabel4.setWordWrap(False)
81         self.textLabel4.setObjectName("textLabel4")
82         self.gridLayout_3.addWidget(self.textLabel4,3,0,1,4)
83         self.TWChoix.addTab(self.Commande,"")
84         self.TabPage = QtGui.QWidget()
85         self.TabPage.setGeometry(QtCore.QRect(0,0,499,433))
86         self.TabPage.setObjectName("TabPage")
87         self.gridLayout_2 = QtGui.QGridLayout(self.TabPage)
88         self.gridLayout_2.setObjectName("gridLayout_2")
89         self.textLabel1_3 = QtGui.QLabel(self.TabPage)
90         self.textLabel1_3.setWordWrap(False)
91         self.textLabel1_3.setObjectName("textLabel1_3")
92         self.gridLayout_2.addWidget(self.textLabel1_3,0,0,1,1)
93         self.LENomFichier = QtGui.QLineEdit(self.TabPage)
94         self.LENomFichier.setMinimumSize(QtCore.QSize(470,40))
95         self.LENomFichier.setObjectName("LENomFichier")
96         self.gridLayout_2.addWidget(self.LENomFichier,1,0,1,1)
97         spacerItem = QtGui.QSpacerItem(21,190,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
98         self.gridLayout_2.addItem(spacerItem,2,0,1,1)
99         self.hboxlayout = QtGui.QHBoxLayout()
100         self.hboxlayout.setObjectName("hboxlayout")
101         spacerItem1 = QtGui.QSpacerItem(331,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
102         self.hboxlayout.addItem(spacerItem1)
103         self.BBrowse = QtGui.QPushButton(self.TabPage)
104         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed)
105         sizePolicy.setHorizontalStretch(0)
106         sizePolicy.setVerticalStretch(0)
107         sizePolicy.setHeightForWidth(self.BBrowse.sizePolicy().hasHeightForWidth())
108         self.BBrowse.setSizePolicy(sizePolicy)
109         self.BBrowse.setMinimumSize(QtCore.QSize(140,50))
110         self.BBrowse.setObjectName("BBrowse")
111         self.hboxlayout.addWidget(self.BBrowse)
112         self.gridLayout_2.addLayout(self.hboxlayout,3,0,1,1)
113         spacerItem2 = QtGui.QSpacerItem(21,87,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
114         self.gridLayout_2.addItem(spacerItem2,4,0,1,1)
115         self.TWChoix.addTab(self.TabPage,"")
116         self.gridlayout.addWidget(self.TWChoix,0,0,1,3)
117         self.bSup = QtGui.QPushButton(DPour)
118         self.bSup.setMinimumSize(QtCore.QSize(0,30))
119         self.bSup.setAutoDefault(True)
120         self.bSup.setObjectName("bSup")
121         self.gridlayout.addWidget(self.bSup,2,0,1,1)
122         self.bOk = QtGui.QPushButton(DPour)
123         self.bOk.setMinimumSize(QtCore.QSize(0,30))
124         self.bOk.setAutoDefault(True)
125         self.bOk.setDefault(True)
126         self.bOk.setObjectName("bOk")
127         self.gridlayout.addWidget(self.bOk,2,1,1,1)
128         self.bHelp = QtGui.QPushButton(DPour)
129         self.bHelp.setMinimumSize(QtCore.QSize(0,30))
130         self.bHelp.setAutoDefault(True)
131         self.bHelp.setObjectName("bHelp")
132         self.gridlayout.addWidget(self.bHelp,2,2,1,1)
133         self.Commentaire = QtGui.QLabel(DPour)
134         self.Commentaire.setWordWrap(False)
135         self.Commentaire.setObjectName("Commentaire")
136         self.gridlayout.addWidget(self.Commentaire,1,0,1,3)
137
138         self.retranslateUi(DPour)
139         self.TWChoix.setCurrentIndex(0)
140         QtCore.QMetaObject.connectSlotsByName(DPour)
141         DPour.setTabOrder(self.LEFiltre,self.LENomFichier)
142         DPour.setTabOrder(self.LENomFichier,self.TWChoix)
143         DPour.setTabOrder(self.TWChoix,self.LBMCPermis)
144         DPour.setTabOrder(self.LBMCPermis,self.LBRegles)
145         DPour.setTabOrder(self.LBRegles,self.LBNouvCommande)
146         DPour.setTabOrder(self.LBNouvCommande,self.RBalpha)
147         DPour.setTabOrder(self.RBalpha,self.BBrowse)
148         DPour.setTabOrder(self.BBrowse,self.bSup)
149         DPour.setTabOrder(self.bSup,self.bOk)
150         DPour.setTabOrder(self.bOk,self.bHelp)
151
152     def retranslateUi(self, DPour):
153         DPour.setWindowTitle(QtGui.QApplication.translate("DPour", "DMacro", None, QtGui.QApplication.UnicodeUTF8))
154         self.textLabel1.setText(QtGui.QApplication.translate("DPour", "<h3><p align=\"center\"><u><b>Mots Clefs Permis</b></u></p></h3>", None, QtGui.QApplication.UnicodeUTF8))
155         self.textLabel1_2.setText(QtGui.QApplication.translate("DPour", "<h3><p align=\"center\"><u><b>Régles</b></u></p></h3>", None, QtGui.QApplication.UnicodeUTF8))
156         self.TWChoix.setTabText(self.TWChoix.indexOf(self.MotClef), QtGui.QApplication.translate("DPour", "Ajouter Mot-Clef", None, QtGui.QApplication.UnicodeUTF8))
157         self.textLabel1_4.setText(QtGui.QApplication.translate("DPour", "<b><u>Commandes :</u></b>", None, QtGui.QApplication.UnicodeUTF8))
158         self.groupBox.setTitle(QtGui.QApplication.translate("DPour", "Affichage", None, QtGui.QApplication.UnicodeUTF8))
159         self.RBalpha.setText(QtGui.QApplication.translate("DPour", "alphabétique", None, QtGui.QApplication.UnicodeUTF8))
160         self.RBGroupe.setText(QtGui.QApplication.translate("DPour", "par groupe", None, QtGui.QApplication.UnicodeUTF8))
161         self.textLabel6.setText(QtGui.QApplication.translate("DPour", "Filtre", None, QtGui.QApplication.UnicodeUTF8))
162         self.pushButton.setText(QtGui.QApplication.translate("DPour", "Suivant", None, QtGui.QApplication.UnicodeUTF8))
163         self.textLabel4.setText(QtGui.QApplication.translate("DPour", "La commande choisie sera ajoutée APRES la commande courante", None, QtGui.QApplication.UnicodeUTF8))
164         self.TWChoix.setTabText(self.TWChoix.indexOf(self.Commande), QtGui.QApplication.translate("DPour", "Nouvelle Commande", None, QtGui.QApplication.UnicodeUTF8))
165         self.textLabel1_3.setText(QtGui.QApplication.translate("DPour", "<font size=\"+1\">La commande POURSUITE requiert un nom de Fichier :</font>", None, QtGui.QApplication.UnicodeUTF8))
166         self.BBrowse.setText(QtGui.QApplication.translate("DPour", "Edit", None, QtGui.QApplication.UnicodeUTF8))
167         self.TWChoix.setTabText(self.TWChoix.indexOf(self.TabPage), QtGui.QApplication.translate("DPour", "Fichier Poursuite", None, QtGui.QApplication.UnicodeUTF8))
168         self.bSup.setToolTip(QtGui.QApplication.translate("DPour", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8))
169         self.bSup.setText(QtGui.QApplication.translate("DPour", "&Supprimer", None, QtGui.QApplication.UnicodeUTF8))
170         self.bSup.setShortcut(QtGui.QApplication.translate("DPour", "Alt+S", None, QtGui.QApplication.UnicodeUTF8))
171         self.bOk.setToolTip(QtGui.QApplication.translate("DPour", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8))
172         self.bOk.setText(QtGui.QApplication.translate("DPour", "&Valider", None, QtGui.QApplication.UnicodeUTF8))
173         self.bOk.setShortcut(QtGui.QApplication.translate("DPour", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8))
174         self.bHelp.setToolTip(QtGui.QApplication.translate("DPour", "affichage documentation aster", None, QtGui.QApplication.UnicodeUTF8))
175         self.bHelp.setText(QtGui.QApplication.translate("DPour", "&Documentation", None, QtGui.QApplication.UnicodeUTF8))
176         self.bHelp.setShortcut(QtGui.QApplication.translate("DPour", "Alt+D", None, QtGui.QApplication.UnicodeUTF8))
177
178
179 if __name__ == "__main__":
180     import sys
181     app = QtGui.QApplication(sys.argv)
182     DPour = QtGui.QWidget()
183     ui = Ui_DPour()
184     ui.setupUi(DPour)
185     DPour.show()
186     sys.exit(app.exec_())
187