1
# -*- coding: utf-8 -*-
3
# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Wizards/InputDialogWizard/InputDialogWizardDialog.ui'
5
# Created: Sat Mar 24 11:58:17 2007
6
# by: PyQt4 UI code generator 4-snapshot-20070125
8
# WARNING! All changes made in this file will be lost!
10
from PyQt4 import QtCore, QtGui
12
class Ui_InputDialogWizardDialog(object):
13
def setupUi(self, InputDialogWizardDialog):
14
InputDialogWizardDialog.setObjectName("InputDialogWizardDialog")
15
InputDialogWizardDialog.resize(QtCore.QSize(QtCore.QRect(0,0,501,684).size()).expandedTo(InputDialogWizardDialog.minimumSizeHint()))
16
InputDialogWizardDialog.setSizeGripEnabled(True)
18
self.vboxlayout = QtGui.QVBoxLayout(InputDialogWizardDialog)
19
self.vboxlayout.setMargin(6)
20
self.vboxlayout.setSpacing(6)
21
self.vboxlayout.setObjectName("vboxlayout")
23
self.qtGroup = QtGui.QGroupBox(InputDialogWizardDialog)
24
self.qtGroup.setObjectName("qtGroup")
26
self.hboxlayout = QtGui.QHBoxLayout(self.qtGroup)
27
self.hboxlayout.setMargin(6)
28
self.hboxlayout.setSpacing(6)
29
self.hboxlayout.setObjectName("hboxlayout")
31
self.rQt3 = QtGui.QRadioButton(self.qtGroup)
32
self.rQt3.setObjectName("rQt3")
33
self.hboxlayout.addWidget(self.rQt3)
35
self.rQt4 = QtGui.QRadioButton(self.qtGroup)
36
self.rQt4.setFocusPolicy(QtCore.Qt.TabFocus)
37
self.rQt4.setChecked(True)
38
self.rQt4.setObjectName("rQt4")
39
self.hboxlayout.addWidget(self.rQt4)
41
spacerItem = QtGui.QSpacerItem(353,23,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
42
self.hboxlayout.addItem(spacerItem)
43
self.vboxlayout.addWidget(self.qtGroup)
45
self.groupBox = QtGui.QGroupBox(InputDialogWizardDialog)
46
self.groupBox.setObjectName("groupBox")
48
self.hboxlayout1 = QtGui.QHBoxLayout(self.groupBox)
49
self.hboxlayout1.setMargin(6)
50
self.hboxlayout1.setSpacing(6)
51
self.hboxlayout1.setObjectName("hboxlayout1")
53
self.rText = QtGui.QRadioButton(self.groupBox)
54
self.rText.setChecked(True)
55
self.rText.setObjectName("rText")
56
self.hboxlayout1.addWidget(self.rText)
58
self.rInteger = QtGui.QRadioButton(self.groupBox)
59
self.rInteger.setObjectName("rInteger")
60
self.hboxlayout1.addWidget(self.rInteger)
62
self.rDouble = QtGui.QRadioButton(self.groupBox)
63
self.rDouble.setObjectName("rDouble")
64
self.hboxlayout1.addWidget(self.rDouble)
66
self.rItem = QtGui.QRadioButton(self.groupBox)
67
self.rItem.setObjectName("rItem")
68
self.hboxlayout1.addWidget(self.rItem)
69
self.vboxlayout.addWidget(self.groupBox)
71
self.TextLabel1 = QtGui.QLabel(InputDialogWizardDialog)
72
self.TextLabel1.setObjectName("TextLabel1")
73
self.vboxlayout.addWidget(self.TextLabel1)
75
self.eCaption = QtGui.QLineEdit(InputDialogWizardDialog)
76
self.eCaption.setObjectName("eCaption")
77
self.vboxlayout.addWidget(self.eCaption)
79
self.TextLabel2 = QtGui.QLabel(InputDialogWizardDialog)
80
self.TextLabel2.setObjectName("TextLabel2")
81
self.vboxlayout.addWidget(self.TextLabel2)
83
self.eLabel = QtGui.QLineEdit(InputDialogWizardDialog)
84
self.eLabel.setObjectName("eLabel")
85
self.vboxlayout.addWidget(self.eLabel)
87
self.groupBox_2 = QtGui.QGroupBox(InputDialogWizardDialog)
88
self.groupBox_2.setObjectName("groupBox_2")
90
self.vboxlayout1 = QtGui.QVBoxLayout(self.groupBox_2)
91
self.vboxlayout1.setMargin(6)
92
self.vboxlayout1.setSpacing(6)
93
self.vboxlayout1.setObjectName("vboxlayout1")
95
self.groupBox_3 = QtGui.QGroupBox(self.groupBox_2)
96
self.groupBox_3.setObjectName("groupBox_3")
98
self.hboxlayout2 = QtGui.QHBoxLayout(self.groupBox_3)
99
self.hboxlayout2.setMargin(6)
100
self.hboxlayout2.setSpacing(6)
101
self.hboxlayout2.setObjectName("hboxlayout2")
103
self.rEchoNormal = QtGui.QRadioButton(self.groupBox_3)
104
self.rEchoNormal.setChecked(True)
105
self.rEchoNormal.setObjectName("rEchoNormal")
106
self.hboxlayout2.addWidget(self.rEchoNormal)
108
self.rEchoNoEcho = QtGui.QRadioButton(self.groupBox_3)
109
self.rEchoNoEcho.setObjectName("rEchoNoEcho")
110
self.hboxlayout2.addWidget(self.rEchoNoEcho)
112
self.rEchoPassword = QtGui.QRadioButton(self.groupBox_3)
113
self.rEchoPassword.setObjectName("rEchoPassword")
114
self.hboxlayout2.addWidget(self.rEchoPassword)
115
self.vboxlayout1.addWidget(self.groupBox_3)
117
self.TextLabel3 = QtGui.QLabel(self.groupBox_2)
118
self.TextLabel3.setObjectName("TextLabel3")
119
self.vboxlayout1.addWidget(self.TextLabel3)
121
self.eTextDefault = QtGui.QLineEdit(self.groupBox_2)
122
self.eTextDefault.setObjectName("eTextDefault")
123
self.vboxlayout1.addWidget(self.eTextDefault)
124
self.vboxlayout.addWidget(self.groupBox_2)
126
self.groupBox_4 = QtGui.QGroupBox(InputDialogWizardDialog)
127
self.groupBox_4.setEnabled(False)
128
self.groupBox_4.setObjectName("groupBox_4")
130
self.gridlayout = QtGui.QGridLayout(self.groupBox_4)
131
self.gridlayout.setMargin(6)
132
self.gridlayout.setSpacing(6)
133
self.gridlayout.setObjectName("gridlayout")
135
self.sIntStep = QtGui.QSpinBox(self.groupBox_4)
136
self.sIntStep.setMaximum(2147483647)
137
self.sIntStep.setMinimum(-2147483647)
138
self.sIntStep.setProperty("value",QtCore.QVariant(1))
139
self.sIntStep.setObjectName("sIntStep")
140
self.gridlayout.addWidget(self.sIntStep,1,3,1,1)
142
self.sIntTo = QtGui.QSpinBox(self.groupBox_4)
143
self.sIntTo.setMaximum(2147483647)
144
self.sIntTo.setMinimum(-2147483647)
145
self.sIntTo.setProperty("value",QtCore.QVariant(2147483647))
146
self.sIntTo.setObjectName("sIntTo")
147
self.gridlayout.addWidget(self.sIntTo,1,2,1,1)
149
self.sIntFrom = QtGui.QSpinBox(self.groupBox_4)
150
self.sIntFrom.setMaximum(2147483647)
151
self.sIntFrom.setMinimum(-2147483647)
152
self.sIntFrom.setProperty("value",QtCore.QVariant(-2147483647))
153
self.sIntFrom.setObjectName("sIntFrom")
154
self.gridlayout.addWidget(self.sIntFrom,1,1,1,1)
156
self.sIntDefault = QtGui.QSpinBox(self.groupBox_4)
157
self.sIntDefault.setMaximum(2147483647)
158
self.sIntDefault.setMinimum(-2147483647)
159
self.sIntDefault.setObjectName("sIntDefault")
160
self.gridlayout.addWidget(self.sIntDefault,1,0,1,1)
162
self.TextLabel4_4 = QtGui.QLabel(self.groupBox_4)
163
self.TextLabel4_4.setObjectName("TextLabel4_4")
164
self.gridlayout.addWidget(self.TextLabel4_4,0,3,1,1)
166
self.TextLabel4_3 = QtGui.QLabel(self.groupBox_4)
167
self.TextLabel4_3.setObjectName("TextLabel4_3")
168
self.gridlayout.addWidget(self.TextLabel4_3,0,2,1,1)
170
self.TextLabel4_2 = QtGui.QLabel(self.groupBox_4)
171
self.TextLabel4_2.setObjectName("TextLabel4_2")
172
self.gridlayout.addWidget(self.TextLabel4_2,0,1,1,1)
174
self.TextLabel4 = QtGui.QLabel(self.groupBox_4)
175
self.TextLabel4.setObjectName("TextLabel4")
176
self.gridlayout.addWidget(self.TextLabel4,0,0,1,1)
177
self.vboxlayout.addWidget(self.groupBox_4)
179
self.groupBox_5 = QtGui.QGroupBox(InputDialogWizardDialog)
180
self.groupBox_5.setEnabled(False)
181
self.groupBox_5.setObjectName("groupBox_5")
183
self.gridlayout1 = QtGui.QGridLayout(self.groupBox_5)
184
self.gridlayout1.setMargin(6)
185
self.gridlayout1.setSpacing(6)
186
self.gridlayout1.setObjectName("gridlayout1")
188
self.sDoubleDecimals = QtGui.QSpinBox(self.groupBox_5)
189
self.sDoubleDecimals.setMaximum(2147483647)
190
self.sDoubleDecimals.setMinimum(-2147483647)
191
self.sDoubleDecimals.setProperty("value",QtCore.QVariant(1))
192
self.sDoubleDecimals.setObjectName("sDoubleDecimals")
193
self.gridlayout1.addWidget(self.sDoubleDecimals,1,3,1,1)
195
self.eDoubleTo = QtGui.QLineEdit(self.groupBox_5)
196
self.eDoubleTo.setObjectName("eDoubleTo")
197
self.gridlayout1.addWidget(self.eDoubleTo,1,2,1,1)
199
self.eDoubleFrom = QtGui.QLineEdit(self.groupBox_5)
200
self.eDoubleFrom.setObjectName("eDoubleFrom")
201
self.gridlayout1.addWidget(self.eDoubleFrom,1,1,1,1)
203
self.eDoubleDefault = QtGui.QLineEdit(self.groupBox_5)
204
self.eDoubleDefault.setObjectName("eDoubleDefault")
205
self.gridlayout1.addWidget(self.eDoubleDefault,1,0,1,1)
207
self.TextLabel5 = QtGui.QLabel(self.groupBox_5)
208
self.TextLabel5.setObjectName("TextLabel5")
209
self.gridlayout1.addWidget(self.TextLabel5,0,0,1,1)
211
self.TextLabel6 = QtGui.QLabel(self.groupBox_5)
212
self.TextLabel6.setObjectName("TextLabel6")
213
self.gridlayout1.addWidget(self.TextLabel6,0,1,1,1)
215
self.TextLabel7 = QtGui.QLabel(self.groupBox_5)
216
self.TextLabel7.setObjectName("TextLabel7")
217
self.gridlayout1.addWidget(self.TextLabel7,0,2,1,1)
219
self.TextLabel8 = QtGui.QLabel(self.groupBox_5)
220
self.TextLabel8.setObjectName("TextLabel8")
221
self.gridlayout1.addWidget(self.TextLabel8,0,3,1,1)
222
self.vboxlayout.addWidget(self.groupBox_5)
224
self.groupBox_6 = QtGui.QGroupBox(InputDialogWizardDialog)
225
self.groupBox_6.setEnabled(False)
226
self.groupBox_6.setObjectName("groupBox_6")
228
self.gridlayout2 = QtGui.QGridLayout(self.groupBox_6)
229
self.gridlayout2.setMargin(6)
230
self.gridlayout2.setSpacing(6)
231
self.gridlayout2.setObjectName("gridlayout2")
233
self.cEditable = QtGui.QCheckBox(self.groupBox_6)
234
self.cEditable.setChecked(True)
235
self.cEditable.setObjectName("cEditable")
236
self.gridlayout2.addWidget(self.cEditable,1,2,1,1)
238
self.sCurrentItem = QtGui.QSpinBox(self.groupBox_6)
239
self.sCurrentItem.setObjectName("sCurrentItem")
240
self.gridlayout2.addWidget(self.sCurrentItem,1,1,1,1)
242
self.eVariable = QtGui.QLineEdit(self.groupBox_6)
243
self.eVariable.setObjectName("eVariable")
244
self.gridlayout2.addWidget(self.eVariable,1,0,1,1)
246
self.TextLabel10 = QtGui.QLabel(self.groupBox_6)
247
self.TextLabel10.setObjectName("TextLabel10")
248
self.gridlayout2.addWidget(self.TextLabel10,0,1,1,1)
250
self.TextLabel9 = QtGui.QLabel(self.groupBox_6)
251
self.TextLabel9.setObjectName("TextLabel9")
252
self.gridlayout2.addWidget(self.TextLabel9,0,0,1,1)
253
self.vboxlayout.addWidget(self.groupBox_6)
255
self.buttonBox = QtGui.QDialogButtonBox(InputDialogWizardDialog)
256
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
257
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
258
self.buttonBox.setObjectName("buttonBox")
259
self.vboxlayout.addWidget(self.buttonBox)
261
self.retranslateUi(InputDialogWizardDialog)
262
QtCore.QObject.connect(self.rText,QtCore.SIGNAL("toggled(bool)"),self.groupBox_2.setEnabled)
263
QtCore.QObject.connect(self.rInteger,QtCore.SIGNAL("toggled(bool)"),self.groupBox_4.setEnabled)
264
QtCore.QObject.connect(self.rDouble,QtCore.SIGNAL("toggled(bool)"),self.groupBox_5.setEnabled)
265
QtCore.QObject.connect(self.rItem,QtCore.SIGNAL("toggled(bool)"),self.groupBox_6.setEnabled)
266
QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),InputDialogWizardDialog.accept)
267
QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),InputDialogWizardDialog.reject)
268
QtCore.QMetaObject.connectSlotsByName(InputDialogWizardDialog)
269
InputDialogWizardDialog.setTabOrder(self.rQt3,self.rQt4)
270
InputDialogWizardDialog.setTabOrder(self.rQt4,self.rText)
271
InputDialogWizardDialog.setTabOrder(self.rText,self.rInteger)
272
InputDialogWizardDialog.setTabOrder(self.rInteger,self.rDouble)
273
InputDialogWizardDialog.setTabOrder(self.rDouble,self.rItem)
274
InputDialogWizardDialog.setTabOrder(self.rItem,self.eCaption)
275
InputDialogWizardDialog.setTabOrder(self.eCaption,self.eLabel)
276
InputDialogWizardDialog.setTabOrder(self.eLabel,self.rEchoNormal)
277
InputDialogWizardDialog.setTabOrder(self.rEchoNormal,self.rEchoNoEcho)
278
InputDialogWizardDialog.setTabOrder(self.rEchoNoEcho,self.rEchoPassword)
279
InputDialogWizardDialog.setTabOrder(self.rEchoPassword,self.eTextDefault)
280
InputDialogWizardDialog.setTabOrder(self.eTextDefault,self.sIntDefault)
281
InputDialogWizardDialog.setTabOrder(self.sIntDefault,self.sIntFrom)
282
InputDialogWizardDialog.setTabOrder(self.sIntFrom,self.sIntTo)
283
InputDialogWizardDialog.setTabOrder(self.sIntTo,self.sIntStep)
284
InputDialogWizardDialog.setTabOrder(self.sIntStep,self.eDoubleDefault)
285
InputDialogWizardDialog.setTabOrder(self.eDoubleDefault,self.eDoubleFrom)
286
InputDialogWizardDialog.setTabOrder(self.eDoubleFrom,self.eDoubleTo)
287
InputDialogWizardDialog.setTabOrder(self.eDoubleTo,self.sDoubleDecimals)
288
InputDialogWizardDialog.setTabOrder(self.sDoubleDecimals,self.eVariable)
289
InputDialogWizardDialog.setTabOrder(self.eVariable,self.sCurrentItem)
290
InputDialogWizardDialog.setTabOrder(self.sCurrentItem,self.cEditable)
292
def retranslateUi(self, InputDialogWizardDialog):
293
InputDialogWizardDialog.setWindowTitle(QtGui.QApplication.translate("InputDialogWizardDialog", "QInputDialog Wizard", None, QtGui.QApplication.UnicodeUTF8))
294
self.qtGroup.setTitle(QtGui.QApplication.translate("InputDialogWizardDialog", "Qt Version", None, QtGui.QApplication.UnicodeUTF8))
295
self.rQt3.setToolTip(QtGui.QApplication.translate("InputDialogWizardDialog", "Select to generate code for Qt 3", None, QtGui.QApplication.UnicodeUTF8))
296
self.rQt3.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "Qt 3", None, QtGui.QApplication.UnicodeUTF8))
297
self.rQt4.setToolTip(QtGui.QApplication.translate("InputDialogWizardDialog", "Select to generate code for Qt 4", None, QtGui.QApplication.UnicodeUTF8))
298
self.rQt4.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "Qt 4", None, QtGui.QApplication.UnicodeUTF8))
299
self.groupBox.setTitle(QtGui.QApplication.translate("InputDialogWizardDialog", "Type", None, QtGui.QApplication.UnicodeUTF8))
300
self.rText.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "Text", None, QtGui.QApplication.UnicodeUTF8))
301
self.rInteger.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "Integer", None, QtGui.QApplication.UnicodeUTF8))
302
self.rDouble.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "Double", None, QtGui.QApplication.UnicodeUTF8))
303
self.rItem.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "Item", None, QtGui.QApplication.UnicodeUTF8))
304
self.TextLabel1.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "Caption", None, QtGui.QApplication.UnicodeUTF8))
305
self.TextLabel2.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "Label", None, QtGui.QApplication.UnicodeUTF8))
306
self.groupBox_2.setTitle(QtGui.QApplication.translate("InputDialogWizardDialog", "Text", None, QtGui.QApplication.UnicodeUTF8))
307
self.groupBox_3.setTitle(QtGui.QApplication.translate("InputDialogWizardDialog", "Echo Mode", None, QtGui.QApplication.UnicodeUTF8))
308
self.rEchoNormal.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "Normal", None, QtGui.QApplication.UnicodeUTF8))
309
self.rEchoNoEcho.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "No Echo", None, QtGui.QApplication.UnicodeUTF8))
310
self.rEchoPassword.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "Password", None, QtGui.QApplication.UnicodeUTF8))
311
self.TextLabel3.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "Default", None, QtGui.QApplication.UnicodeUTF8))
312
self.groupBox_4.setTitle(QtGui.QApplication.translate("InputDialogWizardDialog", "Integer", None, QtGui.QApplication.UnicodeUTF8))
313
self.TextLabel4_4.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "Step", None, QtGui.QApplication.UnicodeUTF8))
314
self.TextLabel4_3.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "To", None, QtGui.QApplication.UnicodeUTF8))
315
self.TextLabel4_2.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "From", None, QtGui.QApplication.UnicodeUTF8))
316
self.TextLabel4.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "Default", None, QtGui.QApplication.UnicodeUTF8))
317
self.groupBox_5.setTitle(QtGui.QApplication.translate("InputDialogWizardDialog", "Double", None, QtGui.QApplication.UnicodeUTF8))
318
self.eDoubleTo.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "2147483647", None, QtGui.QApplication.UnicodeUTF8))
319
self.eDoubleFrom.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "-2147483647", None, QtGui.QApplication.UnicodeUTF8))
320
self.eDoubleDefault.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "0", None, QtGui.QApplication.UnicodeUTF8))
321
self.TextLabel5.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "Default", None, QtGui.QApplication.UnicodeUTF8))
322
self.TextLabel6.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "From", None, QtGui.QApplication.UnicodeUTF8))
323
self.TextLabel7.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "To", None, QtGui.QApplication.UnicodeUTF8))
324
self.TextLabel8.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "Decimals", None, QtGui.QApplication.UnicodeUTF8))
325
self.groupBox_6.setTitle(QtGui.QApplication.translate("InputDialogWizardDialog", "Item", None, QtGui.QApplication.UnicodeUTF8))
326
self.cEditable.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "Editable", None, QtGui.QApplication.UnicodeUTF8))
327
self.TextLabel10.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "Current Item", None, QtGui.QApplication.UnicodeUTF8))
328
self.TextLabel9.setText(QtGui.QApplication.translate("InputDialogWizardDialog", "String List Variable", None, QtGui.QApplication.UnicodeUTF8))
332
if __name__ == "__main__":
334
app = QtGui.QApplication(sys.argv)
335
InputDialogWizardDialog = QtGui.QDialog()
336
ui = Ui_InputDialogWizardDialog()
337
ui.setupUi(InputDialogWizardDialog)
338
InputDialogWizardDialog.show()
339
sys.exit(app.exec_())