Replace 'tap' to 'spaces' to make gbs build succeed
[platform/upstream/hplip.git] / ui4 / printtestpagedialog_base.py
1 # -*- coding: utf-8 -*-
2
3 # Form implementation generated from reading ui file 'ui4/printtestpagedialog_base.ui'
4 #
5 # Created: Mon May  4 14:30:36 2009
6 #      by: PyQt4 UI code generator 4.4.4
7 #
8 # WARNING! All changes made in this file will be lost!
9
10 from PyQt4 import QtCore, QtGui
11
12 class Ui_Dialog(object):
13     def setupUi(self, Dialog):
14         Dialog.setObjectName("Dialog")
15         Dialog.setWindowModality(QtCore.Qt.ApplicationModal)
16         Dialog.resize(700, 500)
17         self.gridlayout = QtGui.QGridLayout(Dialog)
18         self.gridlayout.setObjectName("gridlayout")
19         self.label = QtGui.QLabel(Dialog)
20         font = QtGui.QFont()
21         font.setPointSize(16)
22         self.label.setFont(font)
23         self.label.setObjectName("label")
24         self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
25         self.line = QtGui.QFrame(Dialog)
26         self.line.setFrameShape(QtGui.QFrame.HLine)
27         self.line.setFrameShadow(QtGui.QFrame.Sunken)
28         self.line.setObjectName("line")
29         self.gridlayout.addWidget(self.line, 1, 0, 1, 4)
30         self.PrinterNameCombo = PrinterNameComboBox(Dialog)
31         sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
32         sizePolicy.setHorizontalStretch(0)
33         sizePolicy.setVerticalStretch(0)
34         sizePolicy.setHeightForWidth(self.PrinterNameCombo.sizePolicy().hasHeightForWidth())
35         self.PrinterNameCombo.setSizePolicy(sizePolicy)
36         self.PrinterNameCombo.setObjectName("PrinterNameCombo")
37         self.gridlayout.addWidget(self.PrinterNameCombo, 2, 0, 1, 4)
38         self.groupBox = QtGui.QGroupBox(Dialog)
39         self.groupBox.setObjectName("groupBox")
40         self.gridlayout1 = QtGui.QGridLayout(self.groupBox)
41         self.gridlayout1.setObjectName("gridlayout1")
42         self.HPLIPTestPageRadioButton = QtGui.QRadioButton(self.groupBox)
43         self.HPLIPTestPageRadioButton.setObjectName("HPLIPTestPageRadioButton")
44         self.gridlayout1.addWidget(self.HPLIPTestPageRadioButton, 0, 0, 1, 1)
45         self.PrinterDiagnosticRadioButto = QtGui.QRadioButton(self.groupBox)
46         self.PrinterDiagnosticRadioButto.setEnabled(False)
47         self.PrinterDiagnosticRadioButto.setObjectName("PrinterDiagnosticRadioButto")
48         self.gridlayout1.addWidget(self.PrinterDiagnosticRadioButto, 1, 0, 1, 1)
49         self.gridlayout.addWidget(self.groupBox, 3, 0, 1, 4)
50         self.LoadPaper = LoadPaperGroupBox(Dialog)
51         self.LoadPaper.setObjectName("LoadPaper")
52         self.gridlayout.addWidget(self.LoadPaper, 4, 0, 1, 4)
53         spacerItem = QtGui.QSpacerItem(189, 61, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.MinimumExpanding)
54         self.gridlayout.addItem(spacerItem, 5, 1, 1, 1)
55         spacerItem1 = QtGui.QSpacerItem(400, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
56         self.gridlayout.addItem(spacerItem1, 6, 0, 1, 2)
57         self.PrintTestpageButton = QtGui.QPushButton(Dialog)
58         self.PrintTestpageButton.setObjectName("PrintTestpageButton")
59         self.gridlayout.addWidget(self.PrintTestpageButton, 6, 2, 1, 1)
60         self.CancelButton = QtGui.QPushButton(Dialog)
61         self.CancelButton.setObjectName("CancelButton")
62         self.gridlayout.addWidget(self.CancelButton, 6, 3, 1, 1)
63
64         self.retranslateUi(Dialog)
65         QtCore.QMetaObject.connectSlotsByName(Dialog)
66
67     def retranslateUi(self, Dialog):
68         Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "HP Device Manager - Print Test Page", None, QtGui.QApplication.UnicodeUTF8))
69         self.label.setText(QtGui.QApplication.translate("Dialog", "Print Test Page", None, QtGui.QApplication.UnicodeUTF8))
70         self.groupBox.setTitle(QtGui.QApplication.translate("Dialog", "Type", None, QtGui.QApplication.UnicodeUTF8))
71         self.HPLIPTestPageRadioButton.setText(QtGui.QApplication.translate("Dialog", "HPLIP test page (tests print driver)", None, QtGui.QApplication.UnicodeUTF8))
72         self.PrinterDiagnosticRadioButto.setText(QtGui.QApplication.translate("Dialog", "Printer diagnostic page (does not test print driver)", None, QtGui.QApplication.UnicodeUTF8))
73         self.PrintTestpageButton.setText(QtGui.QApplication.translate("Dialog", "Print Test Page", None, QtGui.QApplication.UnicodeUTF8))
74         self.CancelButton.setText(QtGui.QApplication.translate("Dialog", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
75
76 from printernamecombobox import PrinterNameComboBox
77 from loadpapergroupbox import LoadPaperGroupBox