Tizen 2.1 base
[platform/upstream/hplip.git] / ui / setupform_base.py
1 # -*- coding: utf-8 -*-
2
3 # Form implementation generated from reading ui file 'ui/setupform_base.ui'
4 #
5 # Created: Thu Sep 20 11:45:16 2007
6 #      by: The PyQt User Interface Compiler (pyuic) 3.17
7 #
8 # WARNING! All changes made in this file will be lost!
9
10
11 from qt import *
12
13
14 class SetupForm_base(QWizard):
15     def __init__(self,parent = None,name = None,modal = 0,fl = 0):
16         QWizard.__init__(self,parent,name,modal,fl)
17
18         if not name:
19             self.setName("SetupForm_base")
20
21
22
23         self.ConnectionPage = QWidget(self,"ConnectionPage")
24         ConnectionPageLayout = QGridLayout(self.ConnectionPage,1,1,11,6,"ConnectionPageLayout")
25
26         self.connectionTypeButtonGroup = QButtonGroup(self.ConnectionPage,"connectionTypeButtonGroup")
27         self.connectionTypeButtonGroup.setColumnLayout(0,Qt.Vertical)
28         self.connectionTypeButtonGroup.layout().setSpacing(6)
29         self.connectionTypeButtonGroup.layout().setMargin(11)
30         connectionTypeButtonGroupLayout = QGridLayout(self.connectionTypeButtonGroup.layout())
31         connectionTypeButtonGroupLayout.setAlignment(Qt.AlignTop)
32
33         self.usbRadioButton = QRadioButton(self.connectionTypeButtonGroup,"usbRadioButton")
34
35         connectionTypeButtonGroupLayout.addWidget(self.usbRadioButton,0,0)
36
37         self.netRadioButton = QRadioButton(self.connectionTypeButtonGroup,"netRadioButton")
38
39         connectionTypeButtonGroupLayout.addWidget(self.netRadioButton,1,0)
40
41         self.parRadioButton = QRadioButton(self.connectionTypeButtonGroup,"parRadioButton")
42
43         connectionTypeButtonGroupLayout.addWidget(self.parRadioButton,2,0)
44
45         ConnectionPageLayout.addMultiCellWidget(self.connectionTypeButtonGroup,1,1,0,1)
46         spacer12 = QSpacerItem(20,120,QSizePolicy.Minimum,QSizePolicy.Expanding)
47         ConnectionPageLayout.addItem(spacer12,2,0)
48         spacer18 = QSpacerItem(321,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
49         ConnectionPageLayout.addItem(spacer18,3,1)
50
51         self.searchFiltersPushButton2 = QPushButton(self.ConnectionPage,"searchFiltersPushButton2")
52
53         ConnectionPageLayout.addWidget(self.searchFiltersPushButton2,3,0)
54         self.addPage(self.ConnectionPage,QString(""))
55
56         self.ProbedDevicesPage = QWidget(self,"ProbedDevicesPage")
57         ProbedDevicesPageLayout = QGridLayout(self.ProbedDevicesPage,1,1,11,6,"ProbedDevicesPageLayout")
58
59         self.probedDevicesListView = QListView(self.ProbedDevicesPage,"probedDevicesListView")
60         self.probedDevicesListView.setAllColumnsShowFocus(1)
61
62         ProbedDevicesPageLayout.addMultiCellWidget(self.probedDevicesListView,1,1,0,3)
63
64         self.searchFiltersPushButton = QPushButton(self.ProbedDevicesPage,"searchFiltersPushButton")
65
66         ProbedDevicesPageLayout.addWidget(self.searchFiltersPushButton,2,0)
67
68         self.probeHeadingTextLabel = QLabel(self.ProbedDevicesPage,"probeHeadingTextLabel")
69
70         ProbedDevicesPageLayout.addMultiCellWidget(self.probeHeadingTextLabel,0,0,0,3)
71
72         self.manualFindPushButton = QPushButton(self.ProbedDevicesPage,"manualFindPushButton")
73
74         ProbedDevicesPageLayout.addWidget(self.manualFindPushButton,2,1)
75         spacer13 = QSpacerItem(101,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
76         ProbedDevicesPageLayout.addItem(spacer13,2,2)
77
78         self.probeUpdatePushButton = QPushButton(self.ProbedDevicesPage,"probeUpdatePushButton")
79
80         ProbedDevicesPageLayout.addWidget(self.probeUpdatePushButton,2,3)
81         self.addPage(self.ProbedDevicesPage,QString(""))
82
83         self.PPDPage = QWidget(self,"PPDPage")
84         PPDPageLayout = QGridLayout(self.PPDPage,1,1,11,6,"PPDPageLayout")
85
86         self.ppdListView = QListView(self.PPDPage,"ppdListView")
87         self.ppdListView.addColumn(self.__tr("PPD File"))
88         self.ppdListView.addColumn(self.__tr("Description"))
89         self.ppdListView.setAllColumnsShowFocus(1)
90
91         PPDPageLayout.addMultiCellWidget(self.ppdListView,1,1,0,2)
92
93         self.otherPPDPushButton = QPushButton(self.PPDPage,"otherPPDPushButton")
94         self.otherPPDPushButton.setEnabled(1)
95
96         PPDPageLayout.addWidget(self.otherPPDPushButton,2,0)
97         spacer9 = QSpacerItem(320,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
98         PPDPageLayout.addItem(spacer9,2,1)
99
100         self.ppdDefaultsPushButton = QPushButton(self.PPDPage,"ppdDefaultsPushButton")
101
102         PPDPageLayout.addWidget(self.ppdDefaultsPushButton,2,2)
103
104         self.textLabel1_5 = QLabel(self.PPDPage,"textLabel1_5")
105         self.textLabel1_5.setAlignment(QLabel.WordBreak | QLabel.AlignVCenter)
106
107         PPDPageLayout.addMultiCellWidget(self.textLabel1_5,0,0,0,2)
108         self.addPage(self.PPDPage,QString(""))
109
110         self.PrinterNamePage = QWidget(self,"PrinterNamePage")
111         PrinterNamePageLayout = QGridLayout(self.PrinterNamePage,1,1,11,6,"PrinterNamePageLayout")
112
113         self.groupBox4 = QGroupBox(self.PrinterNamePage,"groupBox4")
114         self.groupBox4.setColumnLayout(0,Qt.Vertical)
115         self.groupBox4.layout().setSpacing(6)
116         self.groupBox4.layout().setMargin(11)
117         groupBox4Layout = QGridLayout(self.groupBox4.layout())
118         groupBox4Layout.setAlignment(Qt.AlignTop)
119
120         self.printerNameLineEdit = QLineEdit(self.groupBox4,"printerNameLineEdit")
121         self.printerNameLineEdit.setMaxLength(50)
122
123         groupBox4Layout.addWidget(self.printerNameLineEdit,0,1)
124
125         self.defaultPrinterNamePushButton = QPushButton(self.groupBox4,"defaultPrinterNamePushButton")
126         self.defaultPrinterNamePushButton.setEnabled(0)
127
128         groupBox4Layout.addWidget(self.defaultPrinterNamePushButton,0,2)
129
130         self.textLabel1_2 = QLabel(self.groupBox4,"textLabel1_2")
131
132         groupBox4Layout.addWidget(self.textLabel1_2,1,0)
133
134         self.textLabel1 = QLabel(self.groupBox4,"textLabel1")
135
136         groupBox4Layout.addWidget(self.textLabel1,0,0)
137
138         self.printerDescriptionLineEdit = QLineEdit(self.groupBox4,"printerDescriptionLineEdit")
139         self.printerDescriptionLineEdit.setMaxLength(50)
140
141         groupBox4Layout.addWidget(self.printerDescriptionLineEdit,2,1)
142
143         self.printerLocationLineEdit = QLineEdit(self.groupBox4,"printerLocationLineEdit")
144         self.printerLocationLineEdit.setMaxLength(50)
145
146         groupBox4Layout.addWidget(self.printerLocationLineEdit,1,1)
147
148         self.textLabel2 = QLabel(self.groupBox4,"textLabel2")
149
150         groupBox4Layout.addWidget(self.textLabel2,2,0)
151
152         PrinterNamePageLayout.addWidget(self.groupBox4,0,0)
153
154         self.faxInfoGroupBox = QGroupBox(self.PrinterNamePage,"faxInfoGroupBox")
155         self.faxInfoGroupBox.setColumnLayout(0,Qt.Vertical)
156         self.faxInfoGroupBox.layout().setSpacing(6)
157         self.faxInfoGroupBox.layout().setMargin(11)
158         faxInfoGroupBoxLayout = QGridLayout(self.faxInfoGroupBox.layout())
159         faxInfoGroupBoxLayout.setAlignment(Qt.AlignTop)
160
161         self.faxNameLineEdit = QLineEdit(self.faxInfoGroupBox,"faxNameLineEdit")
162
163         faxInfoGroupBoxLayout.addWidget(self.faxNameLineEdit,1,1)
164
165         self.textLabel1_3 = QLabel(self.faxInfoGroupBox,"textLabel1_3")
166
167         faxInfoGroupBoxLayout.addWidget(self.textLabel1_3,1,0)
168
169         self.textLabel3 = QLabel(self.faxInfoGroupBox,"textLabel3")
170
171         faxInfoGroupBoxLayout.addWidget(self.textLabel3,3,0)
172
173         self.textLabel2_2 = QLabel(self.faxInfoGroupBox,"textLabel2_2")
174
175         faxInfoGroupBoxLayout.addWidget(self.textLabel2_2,2,0)
176
177         self.faxCheckBox = QCheckBox(self.faxInfoGroupBox,"faxCheckBox")
178         self.faxCheckBox.setChecked(1)
179
180         faxInfoGroupBoxLayout.addMultiCellWidget(self.faxCheckBox,0,0,0,2)
181
182         self.faxNumberLineEdit = QLineEdit(self.faxInfoGroupBox,"faxNumberLineEdit")
183         self.faxNumberLineEdit.setMaxLength(50)
184
185         faxInfoGroupBoxLayout.addWidget(self.faxNumberLineEdit,2,1)
186
187         self.faxNameCoLineEdit = QLineEdit(self.faxInfoGroupBox,"faxNameCoLineEdit")
188         self.faxNameCoLineEdit.setMaxLength(50)
189
190         faxInfoGroupBoxLayout.addWidget(self.faxNameCoLineEdit,3,1)
191
192         self.defaultFaxNamePushButton = QPushButton(self.faxInfoGroupBox,"defaultFaxNamePushButton")
193         self.defaultFaxNamePushButton.setEnabled(0)
194
195         faxInfoGroupBoxLayout.addWidget(self.defaultFaxNamePushButton,1,2)
196
197         self.textLabel1_2_2 = QLabel(self.faxInfoGroupBox,"textLabel1_2_2")
198
199         faxInfoGroupBoxLayout.addWidget(self.textLabel1_2_2,4,0)
200
201         self.textLabel2_4 = QLabel(self.faxInfoGroupBox,"textLabel2_4")
202
203         faxInfoGroupBoxLayout.addWidget(self.textLabel2_4,5,0)
204
205         self.faxLocationLineEdit = QLineEdit(self.faxInfoGroupBox,"faxLocationLineEdit")
206         self.faxLocationLineEdit.setMaxLength(50)
207
208         faxInfoGroupBoxLayout.addWidget(self.faxLocationLineEdit,4,1)
209
210         self.faxDescriptionLineEdit = QLineEdit(self.faxInfoGroupBox,"faxDescriptionLineEdit")
211         self.faxDescriptionLineEdit.setMaxLength(50)
212
213         faxInfoGroupBoxLayout.addWidget(self.faxDescriptionLineEdit,5,1)
214
215         PrinterNamePageLayout.addWidget(self.faxInfoGroupBox,1,0)
216
217         self.textLabel1_4 = QLabel(self.PrinterNamePage,"textLabel1_4")
218
219         PrinterNamePageLayout.addWidget(self.textLabel1_4,3,0)
220         spacer14 = QSpacerItem(20,20,QSizePolicy.Minimum,QSizePolicy.Expanding)
221         PrinterNamePageLayout.addItem(spacer14,2,0)
222         self.addPage(self.PrinterNamePage,QString(""))
223
224         self.FinishedPage = QWidget(self,"FinishedPage")
225         FinishedPageLayout = QGridLayout(self.FinishedPage,1,1,11,6,"FinishedPageLayout")
226
227         self.printTestPageCheckBox = QCheckBox(self.FinishedPage,"printTestPageCheckBox")
228         self.printTestPageCheckBox.setChecked(1)
229
230         FinishedPageLayout.addWidget(self.printTestPageCheckBox,4,0)
231         spacer7 = QSpacerItem(20,20,QSizePolicy.Minimum,QSizePolicy.Expanding)
232         FinishedPageLayout.addItem(spacer7,3,0)
233
234         self.faxGroupBox = QGroupBox(self.FinishedPage,"faxGroupBox")
235         self.faxGroupBox.setEnabled(0)
236         self.faxGroupBox.setColumnLayout(0,Qt.Vertical)
237         self.faxGroupBox.layout().setSpacing(6)
238         self.faxGroupBox.layout().setMargin(11)
239         faxGroupBoxLayout = QGridLayout(self.faxGroupBox.layout())
240         faxGroupBoxLayout.setAlignment(Qt.AlignTop)
241
242         self.textLabel7 = QLabel(self.faxGroupBox,"textLabel7")
243
244         faxGroupBoxLayout.addWidget(self.textLabel7,0,0)
245
246         self.lineEdit5 = QLineEdit(self.faxGroupBox,"lineEdit5")
247         self.lineEdit5.setFrameShape(QLineEdit.NoFrame)
248         self.lineEdit5.setReadOnly(1)
249
250         faxGroupBoxLayout.addWidget(self.lineEdit5,0,1)
251
252         self.lineEdit6 = QLineEdit(self.faxGroupBox,"lineEdit6")
253         self.lineEdit6.setFrameShape(QLineEdit.NoFrame)
254         self.lineEdit6.setReadOnly(1)
255
256         faxGroupBoxLayout.addWidget(self.lineEdit6,1,1)
257
258         self.textLabel6 = QLabel(self.faxGroupBox,"textLabel6")
259
260         faxGroupBoxLayout.addWidget(self.textLabel6,1,0)
261
262         self.textLabel8 = QLabel(self.faxGroupBox,"textLabel8")
263
264         faxGroupBoxLayout.addWidget(self.textLabel8,2,0)
265
266         self.textLabel8_2 = QLabel(self.faxGroupBox,"textLabel8_2")
267
268         faxGroupBoxLayout.addWidget(self.textLabel8_2,3,0)
269
270         self.lineEdit7 = QLineEdit(self.faxGroupBox,"lineEdit7")
271         self.lineEdit7.setFrameShape(QLineEdit.NoFrame)
272         self.lineEdit7.setReadOnly(1)
273
274         faxGroupBoxLayout.addWidget(self.lineEdit7,2,1)
275
276         self.textLabel8_3 = QLabel(self.faxGroupBox,"textLabel8_3")
277
278         faxGroupBoxLayout.addWidget(self.textLabel8_3,4,0)
279
280         self.lineEdit8 = QLineEdit(self.faxGroupBox,"lineEdit8")
281         self.lineEdit8.setFrameShape(QLineEdit.NoFrame)
282         self.lineEdit8.setReadOnly(1)
283
284         faxGroupBoxLayout.addWidget(self.lineEdit8,3,1)
285
286         self.lineEdit9 = QLineEdit(self.faxGroupBox,"lineEdit9")
287         self.lineEdit9.setFrameShape(QLineEdit.NoFrame)
288         self.lineEdit9.setReadOnly(1)
289
290         faxGroupBoxLayout.addWidget(self.lineEdit9,4,1)
291
292         FinishedPageLayout.addWidget(self.faxGroupBox,2,0)
293
294         self.groupBox3 = QGroupBox(self.FinishedPage,"groupBox3")
295         self.groupBox3.setColumnLayout(0,Qt.Vertical)
296         self.groupBox3.layout().setSpacing(6)
297         self.groupBox3.layout().setMargin(11)
298         groupBox3Layout = QGridLayout(self.groupBox3.layout())
299         groupBox3Layout.setAlignment(Qt.AlignTop)
300
301         self.textLabel4 = QLabel(self.groupBox3,"textLabel4")
302
303         groupBox3Layout.addWidget(self.textLabel4,2,0)
304
305         self.textLabel3_2 = QLabel(self.groupBox3,"textLabel3_2")
306
307         groupBox3Layout.addWidget(self.textLabel3_2,1,0)
308
309         self.lineEdit4 = QLineEdit(self.groupBox3,"lineEdit4")
310         self.lineEdit4.setFrameShape(QLineEdit.NoFrame)
311         self.lineEdit4.setReadOnly(1)
312
313         groupBox3Layout.addWidget(self.lineEdit4,3,1)
314
315         self.textLabel2_3 = QLabel(self.groupBox3,"textLabel2_3")
316
317         groupBox3Layout.addWidget(self.textLabel2_3,0,0)
318
319         self.lineEdit3 = QLineEdit(self.groupBox3,"lineEdit3")
320         self.lineEdit3.setFrameShape(QLineEdit.NoFrame)
321         self.lineEdit3.setReadOnly(1)
322
323         groupBox3Layout.addWidget(self.lineEdit3,2,1)
324
325         self.lineEdit2 = QLineEdit(self.groupBox3,"lineEdit2")
326         self.lineEdit2.setFrameShape(QLineEdit.NoFrame)
327         self.lineEdit2.setReadOnly(1)
328
329         groupBox3Layout.addWidget(self.lineEdit2,1,1)
330
331         self.lineEdit1 = QLineEdit(self.groupBox3,"lineEdit1")
332         self.lineEdit1.setFrameShape(QLineEdit.NoFrame)
333         self.lineEdit1.setReadOnly(1)
334
335         groupBox3Layout.addWidget(self.lineEdit1,0,1)
336
337         self.textLabel5 = QLabel(self.groupBox3,"textLabel5")
338
339         groupBox3Layout.addWidget(self.textLabel5,3,0)
340
341         FinishedPageLayout.addWidget(self.groupBox3,1,0)
342
343         self.textLabel2_5 = QLabel(self.FinishedPage,"textLabel2_5")
344         self.textLabel2_5.setAlignment(QLabel.WordBreak | QLabel.AlignVCenter)
345
346         FinishedPageLayout.addWidget(self.textLabel2_5,0,0)
347         self.addPage(self.FinishedPage,QString(""))
348
349         self.languageChange()
350
351         self.resize(QSize(754,456).expandedTo(self.minimumSizeHint()))
352         self.clearWState(Qt.WState_Polished)
353
354         self.connect(self.connectionTypeButtonGroup,SIGNAL("clicked(int)"),self.connectionTypeButtonGroup_clicked)
355         self.connect(self.probedDevicesListView,SIGNAL("currentChanged(QListViewItem*)"),self.probedDevicesListView_currentChanged)
356         self.connect(self.printerNameLineEdit,SIGNAL("textChanged(const QString&)"),self.printerNameLineEdit_textChanged)
357         self.connect(self.defaultPrinterNamePushButton,SIGNAL("clicked()"),self.defaultPrinterNamePushButton_clicked)
358         self.connect(self.ppdListView,SIGNAL("currentChanged(QListViewItem*)"),self.ppdListView_currentChanged)
359         self.connect(self.searchFiltersPushButton,SIGNAL("clicked()"),self.searchFiltersPushButton_clicked)
360         self.connect(self.searchFiltersPushButton2,SIGNAL("clicked()"),self.searchFiltersPushButton2_clicked)
361         self.connect(self.probeUpdatePushButton,SIGNAL("clicked()"),self.probeUpdatePushButton_clicked)
362         self.connect(self.manualFindPushButton,SIGNAL("clicked()"),self.manualFindPushButton_clicked)
363         self.connect(self.printerLocationLineEdit,SIGNAL("textChanged(const QString&)"),self.printerLocationLineEdit_textChanged)
364         self.connect(self.printerDescriptionLineEdit,SIGNAL("textChanged(const QString&)"),self.printerDescriptionLineEdit_textChanged)
365         self.connect(self.faxCheckBox,SIGNAL("toggled(bool)"),self.faxNameLineEdit.setEnabled)
366         self.connect(self.faxCheckBox,SIGNAL("toggled(bool)"),self.faxNumberLineEdit.setEnabled)
367         self.connect(self.faxCheckBox,SIGNAL("toggled(bool)"),self.faxNameCoLineEdit.setEnabled)
368         self.connect(self.faxNameLineEdit,SIGNAL("textChanged(const QString&)"),self.faxNameLineEdit_textChanged)
369         self.connect(self.faxNumberLineEdit,SIGNAL("textChanged(const QString&)"),self.faxNumberLineEdit_textChanged)
370         self.connect(self.faxNameCoLineEdit,SIGNAL("textChanged(const QString&)"),self.faxNameCoLineEdit_textChanged)
371         self.connect(self.faxCheckBox,SIGNAL("toggled(bool)"),self.faxCheckBox_toggled)
372         self.connect(self.printTestPageCheckBox,SIGNAL("toggled(bool)"),self.printTestPageCheckBox_toggled)
373         self.connect(self.defaultFaxNamePushButton,SIGNAL("clicked()"),self.defaultFaxNamePushButton_clicked)
374         self.connect(self.otherPPDPushButton,SIGNAL("clicked()"),self.otherPPDPushButton_clicked)
375         self.connect(self.ppdDefaultsPushButton,SIGNAL("clicked()"),self.ppdDefaultsPushButton_clicked)
376         self.connect(self.faxLocationLineEdit,SIGNAL("textChanged(const QString&)"),self.faxLocationLineEdit_textChanged)
377         self.connect(self.faxDescriptionLineEdit,SIGNAL("textChanged(const QString&)"),self.faxDescriptionLineEdit_textChanged)
378         self.connect(self.faxCheckBox,SIGNAL("toggled(bool)"),self.faxLocationLineEdit.setEnabled)
379         self.connect(self.faxCheckBox,SIGNAL("toggled(bool)"),self.faxDescriptionLineEdit.setEnabled)
380
381         self.setTabOrder(self.printerNameLineEdit,self.printerLocationLineEdit)
382         self.setTabOrder(self.printerLocationLineEdit,self.printerDescriptionLineEdit)
383         self.setTabOrder(self.printerDescriptionLineEdit,self.faxCheckBox)
384         self.setTabOrder(self.faxCheckBox,self.faxNameLineEdit)
385         self.setTabOrder(self.faxNameLineEdit,self.faxNumberLineEdit)
386         self.setTabOrder(self.faxNumberLineEdit,self.faxNameCoLineEdit)
387         self.setTabOrder(self.faxNameCoLineEdit,self.faxLocationLineEdit)
388         self.setTabOrder(self.faxLocationLineEdit,self.faxDescriptionLineEdit)
389         self.setTabOrder(self.faxDescriptionLineEdit,self.usbRadioButton)
390         self.setTabOrder(self.usbRadioButton,self.netRadioButton)
391         self.setTabOrder(self.netRadioButton,self.parRadioButton)
392         self.setTabOrder(self.parRadioButton,self.searchFiltersPushButton2)
393         self.setTabOrder(self.searchFiltersPushButton2,self.probedDevicesListView)
394         self.setTabOrder(self.probedDevicesListView,self.searchFiltersPushButton)
395         self.setTabOrder(self.searchFiltersPushButton,self.manualFindPushButton)
396         self.setTabOrder(self.manualFindPushButton,self.probeUpdatePushButton)
397         self.setTabOrder(self.probeUpdatePushButton,self.ppdListView)
398         self.setTabOrder(self.ppdListView,self.otherPPDPushButton)
399         self.setTabOrder(self.otherPPDPushButton,self.ppdDefaultsPushButton)
400         self.setTabOrder(self.ppdDefaultsPushButton,self.defaultPrinterNamePushButton)
401         self.setTabOrder(self.defaultPrinterNamePushButton,self.defaultFaxNamePushButton)
402         self.setTabOrder(self.defaultFaxNamePushButton,self.lineEdit4)
403         self.setTabOrder(self.lineEdit4,self.lineEdit3)
404         self.setTabOrder(self.lineEdit3,self.lineEdit2)
405         self.setTabOrder(self.lineEdit2,self.lineEdit1)
406         self.setTabOrder(self.lineEdit1,self.printTestPageCheckBox)
407         self.setTabOrder(self.printTestPageCheckBox,self.lineEdit5)
408         self.setTabOrder(self.lineEdit5,self.lineEdit6)
409         self.setTabOrder(self.lineEdit6,self.lineEdit7)
410         self.setTabOrder(self.lineEdit7,self.lineEdit8)
411         self.setTabOrder(self.lineEdit8,self.lineEdit9)
412
413
414     def languageChange(self):
415         self.setCaption(self.__tr("HP Device Manger - Printer Setup Wizard"))
416         self.connectionTypeButtonGroup.setTitle(self.__tr("Connection (I/O) Type"))
417         self.usbRadioButton.setText(self.__tr("Universal Serial Bus (USB)"))
418         self.netRadioButton.setText(self.__tr("Network/Ethernet/Wireless (direct connection or JetDirect)"))
419         self.parRadioButton.setText(self.__tr("Parallel Port (LPT)"))
420         self.searchFiltersPushButton2.setText(self.__tr("Advanced..."))
421         self.setTitle(self.ConnectionPage,self.__tr("Choose Connection Type"))
422         self.searchFiltersPushButton.setText(self.__tr("Advanced..."))
423         self.probeHeadingTextLabel.setText(self.__tr("probeHeadingTextLabel"))
424         self.manualFindPushButton.setText(self.__tr("Find Manually..."))
425         self.probeUpdatePushButton.setText(self.__tr("Refresh"))
426         self.setTitle(self.ProbedDevicesPage,self.__tr("Select from Discovered Devices"))
427         self.ppdListView.header().setLabel(0,self.__tr("PPD File"))
428         self.ppdListView.header().setLabel(1,self.__tr("Description"))
429         self.otherPPDPushButton.setText(self.__tr("Select Other..."))
430         self.ppdDefaultsPushButton.setText(self.__tr("Defaults"))
431         self.textLabel1_5.setText(self.__tr("Please choose the PPD file (by name and description) that most closely matches your printer. <i>Note: The model name of the printer may vary somewhat from the PPD file name, for example, a Deskjet 5550 may have a PPD file with the model name of Deskjet_5500_series.</i>"))
432         self.setTitle(self.PPDPage,self.__tr("Select/Confirm PPD File"))
433         self.groupBox4.setTitle(self.__tr("Printer Information"))
434         self.defaultPrinterNamePushButton.setText(self.__tr("Default"))
435         self.textLabel1_2.setText(self.__tr("Location:"))
436         self.textLabel1.setText(self.__tr("Printer Name:"))
437         self.textLabel2.setText(self.__tr("Description:"))
438         self.faxInfoGroupBox.setTitle(self.__tr("Fax Information"))
439         self.textLabel1_3.setText(self.__tr("Fax Name:"))
440         self.textLabel3.setText(self.__tr("Name/Company:"))
441         self.textLabel2_2.setText(self.__tr("Fax Number:"))
442         self.faxCheckBox.setText(self.__tr("Setup PC send fax"))
443         self.defaultFaxNamePushButton.setText(self.__tr("Default"))
444         self.textLabel1_2_2.setText(self.__tr("Location:"))
445         self.textLabel2_4.setText(self.__tr("Description:"))
446         self.textLabel1_4.setText(self.__tr("Click \"Next >\" to install the printer on your system."))
447         self.setTitle(self.PrinterNamePage,self.__tr("Enter Printer Information"))
448         self.printTestPageCheckBox.setText(self.__tr("Send test page to printer"))
449         self.faxGroupBox.setTitle(self.__tr("Fax Summary"))
450         self.textLabel7.setText(self.__tr("Fax Number:"))
451         self.textLabel6.setText(self.__tr("Fax Name:"))
452         self.textLabel8.setText(self.__tr("Name/Company:"))
453         self.textLabel8_2.setText(self.__tr("Location:"))
454         self.textLabel8_3.setText(self.__tr("Description:"))
455         self.groupBox3.setTitle(self.__tr("Printer Summary"))
456         self.textLabel4.setText(self.__tr("Description:"))
457         self.textLabel3_2.setText(self.__tr("Location:"))
458         self.textLabel2_3.setText(self.__tr("Printer Name:"))
459         self.textLabel5.setText(self.__tr("PPD File:"))
460         self.textLabel2_5.setText(self.__tr("The printer has been successfully installed on your system."))
461         self.setTitle(self.FinishedPage,self.__tr("Finished Adding Printer"))
462
463
464     def connectionTypeButtonGroup_clicked(self,a0):
465         print "SetupForm_base.connectionTypeButtonGroup_clicked(int): Not implemented yet"
466
467     def probedDevicesListView_currentChanged(self,a0):
468         print "SetupForm_base.probedDevicesListView_currentChanged(QListViewItem*): Not implemented yet"
469
470     def printerNameLineEdit_textChanged(self,a0):
471         print "SetupForm_base.printerNameLineEdit_textChanged(const QString&): Not implemented yet"
472
473     def defaultPrinterNamePushButton_clicked(self):
474         print "SetupForm_base.defaultPrinterNamePushButton_clicked(): Not implemented yet"
475
476     def ppdBrowsePushButton_clicked(self):
477         print "SetupForm_base.ppdBrowsePushButton_clicked(): Not implemented yet"
478
479     def ppdFileLineEdit_textChanged(self,a0):
480         print "SetupForm_base.ppdFileLineEdit_textChanged(const QString&): Not implemented yet"
481
482     def ppdListView_currentChanged(self,a0):
483         print "SetupForm_base.ppdListView_currentChanged(QListViewItem*): Not implemented yet"
484
485     def probeUpdatePushButton_clicked(self):
486         print "SetupForm_base.probeUpdatePushButton_clicked(): Not implemented yet"
487
488     def searchFiltersPushButton_clicked(self):
489         print "SetupForm_base.searchFiltersPushButton_clicked(): Not implemented yet"
490
491     def searchFiltersPushButton2_clicked(self):
492         print "SetupForm_base.searchFiltersPushButton2_clicked(): Not implemented yet"
493
494     def manualFindPushButton_clicked(self):
495         print "SetupForm_base.manualFindPushButton_clicked(): Not implemented yet"
496
497     def printerLocationLineEdit_textChanged(self,a0):
498         print "SetupForm_base.printerLocationLineEdit_textChanged(const QString&): Not implemented yet"
499
500     def printerDescriptionLineEdit_textChanged(self,a0):
501         print "SetupForm_base.printerDescriptionLineEdit_textChanged(const QString&): Not implemented yet"
502
503     def faxNameLineEdit_textChanged(self,a0):
504         print "SetupForm_base.faxNameLineEdit_textChanged(const QString&): Not implemented yet"
505
506     def faxNumberLineEdit_textChanged(self,a0):
507         print "SetupForm_base.faxNumberLineEdit_textChanged(const QString&): Not implemented yet"
508
509     def faxNameCoLineEdit_textChanged(self,a0):
510         print "SetupForm_base.faxNameCoLineEdit_textChanged(const QString&): Not implemented yet"
511
512     def printTestPageCheckBox_clicked(self):
513         print "SetupForm_base.printTestPageCheckBox_clicked(): Not implemented yet"
514
515     def faxCheckBox_clicked(self):
516         print "SetupForm_base.faxCheckBox_clicked(): Not implemented yet"
517
518     def faxCheckBox_toggled(self,a0):
519         print "SetupForm_base.faxCheckBox_toggled(bool): Not implemented yet"
520
521     def printTestPageCheckBox_toggled(self,a0):
522         print "SetupForm_base.printTestPageCheckBox_toggled(bool): Not implemented yet"
523
524     def defaultFaxNamePushButton_clicked(self):
525         print "SetupForm_base.defaultFaxNamePushButton_clicked(): Not implemented yet"
526
527     def otherPPDPushButton_clicked(self):
528         print "SetupForm_base.otherPPDPushButton_clicked(): Not implemented yet"
529
530     def ppdDefaultsPushButton_clicked(self):
531         print "SetupForm_base.ppdDefaultsPushButton_clicked(): Not implemented yet"
532
533     def faxLocationLineEdit_textChanged(self,a0):
534         print "SetupForm_base.faxLocationLineEdit_textChanged(const QString&): Not implemented yet"
535
536     def faxDescriptionLineEdit_textChanged(self,a0):
537         print "SetupForm_base.faxDescriptionLineEdit_textChanged(const QString&): Not implemented yet"
538
539     def __tr(self,s,c = None):
540         return qApp.translate("SetupForm_base",s,c)