1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'align10form_base.ui'
5 # Created: Wed Aug 10 21:07:52 2005
6 # by: The PyQt User Interface Compiler (pyuic) 3.14.1
8 # WARNING! All changes made in this file will be lost!
14 class Align10Form_Base(QDialog):
15 def __init__(self,parent = None,name = None,modal = 0,fl = 0):
16 QDialog.__init__(self,parent,name,modal,fl)
19 self.setName("Align10Form_base")
22 Align10Form_baseLayout = QGridLayout(self,1,1,11,6,"Align10Form_baseLayout")
24 self.textLabel2 = QLabel(self,"textLabel2")
26 Align10Form_baseLayout.addMultiCellWidget(self.textLabel2,0,0,0,2)
28 layout2 = QGridLayout(None,1,1,0,6,"layout2")
30 self.comboBoxF = QComboBox(0,self,"comboBoxF")
32 layout2.addWidget(self.comboBoxF,5,1)
34 self.textLabel1_2 = QLabel(self,"textLabel1_2")
36 layout2.addWidget(self.textLabel1_2,1,0)
38 self.textLabel1_6 = QLabel(self,"textLabel1_6")
40 layout2.addWidget(self.textLabel1_6,5,0)
42 self.comboBoxD = QComboBox(0,self,"comboBoxD")
44 layout2.addWidget(self.comboBoxD,3,1)
46 self.comboBoxE = QComboBox(0,self,"comboBoxE")
48 layout2.addWidget(self.comboBoxE,4,1)
50 self.textLabel1_3 = QLabel(self,"textLabel1_3")
52 layout2.addWidget(self.textLabel1_3,2,0)
54 self.textLabel1_4 = QLabel(self,"textLabel1_4")
56 layout2.addWidget(self.textLabel1_4,3,0)
58 self.comboBoxC = QComboBox(0,self,"comboBoxC")
60 layout2.addWidget(self.comboBoxC,2,1)
62 self.comboBoxA = QComboBox(0,self,"comboBoxA")
64 layout2.addWidget(self.comboBoxA,0,1)
66 self.comboBoxH = QComboBox(0,self,"comboBoxH")
68 layout2.addWidget(self.comboBoxH,7,1)
70 self.textLabel1_7 = QLabel(self,"textLabel1_7")
72 layout2.addWidget(self.textLabel1_7,6,0)
74 self.textLabel1 = QLabel(self,"textLabel1")
76 layout2.addWidget(self.textLabel1,0,0)
78 self.textLabel1_5 = QLabel(self,"textLabel1_5")
80 layout2.addWidget(self.textLabel1_5,4,0)
82 self.textLabel1_8 = QLabel(self,"textLabel1_8")
84 layout2.addWidget(self.textLabel1_8,7,0)
86 self.comboBoxB = QComboBox(0,self,"comboBoxB")
88 layout2.addWidget(self.comboBoxB,1,1)
90 self.comboBoxG = QComboBox(0,self,"comboBoxG")
92 layout2.addWidget(self.comboBoxG,6,1)
94 Align10Form_baseLayout.addMultiCellLayout(layout2,0,1,4,5)
95 spacer2 = QSpacerItem(20,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
96 Align10Form_baseLayout.addItem(spacer2,0,3)
97 spacer3 = QSpacerItem(20,41,QSizePolicy.Minimum,QSizePolicy.Expanding)
98 Align10Form_baseLayout.addItem(spacer3,2,5)
100 self.pushButton1 = QPushButton(self,"pushButton1")
102 Align10Form_baseLayout.addWidget(self.pushButton1,3,5)
104 self.pushButton2 = QPushButton(self,"pushButton2")
106 Align10Form_baseLayout.addMultiCellWidget(self.pushButton2,3,3,3,4)
107 spacer1 = QSpacerItem(320,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
108 Align10Form_baseLayout.addMultiCell(spacer1,3,3,0,2)
109 spacer5 = QSpacerItem(40,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
110 Align10Form_baseLayout.addItem(spacer5,1,0)
112 self.Icon = QLabel(self,"Icon")
113 self.Icon.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.Icon.sizePolicy().hasHeightForWidth()))
114 self.Icon.setMinimumSize(QSize(192,93))
115 self.Icon.setMaximumSize(QSize(192,93))
116 self.Icon.setScaledContents(1)
118 Align10Form_baseLayout.addWidget(self.Icon,1,1)
119 spacer4 = QSpacerItem(60,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
120 Align10Form_baseLayout.addMultiCell(spacer4,1,1,2,3)
122 self.languageChange()
124 self.resize(QSize(520,326).expandedTo(self.minimumSizeHint()))
125 self.clearWState(Qt.WState_Polished)
127 self.connect(self.pushButton1,SIGNAL("clicked()"),self.accept)
128 self.connect(self.pushButton2,SIGNAL("clicked()"),self.reject)
131 def languageChange(self):
132 self.setCaption(self.__tr("HP Device Manager - Alignment"))
133 self.textLabel2.setText(self.__tr("Examine the page that was printed. Several rows of boxes, each made up of thin lines, appear on the printed page.<p>\n"
134 "For each row, select the label representing the box in which the shorter inner lines are the most aligned with the longer outer lines.."))
135 self.textLabel1_2.setText(self.__tr("<b><font face=\"Courier\">B:</font></b>"))
136 self.textLabel1_6.setText(self.__tr("<b><font face=\"Courier\">F:</font></b>"))
137 self.textLabel1_3.setText(self.__tr("<b><font face=\"Courier\">C:</font></b>"))
138 self.textLabel1_4.setText(self.__tr("<b><font face=\"Courier\">D:</font></b>"))
139 self.textLabel1_7.setText(self.__tr("<b><font face=\"Courier\">G:</font></b>"))
140 self.textLabel1.setText(self.__tr("<b><font face=\"Courier\">A:</font></b>"))
141 self.textLabel1_5.setText(self.__tr("<b><font face=\"Courier\">E:</font></b>"))
142 self.textLabel1_8.setText(self.__tr("<b><font face=\"Courier\">H:</font></b>"))
143 self.pushButton1.setText(self.__tr("Next >"))
144 self.pushButton2.setText(self.__tr("Cancel"))
147 def __tr(self,s,c = None):
148 return qApp.translate("Align10Form_Base",s,c)