1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file '/home/dwelch/linux-imaging-and-printing/src/ui/aligntype6form2_base.ui'
5 # Created: Fri Apr 1 14:51:27 2005
6 # by: The PyQt User Interface Compiler (pyuic) 3.14.1
8 # WARNING! All changes made in this file will be lost!
15 class AlignType6Form2_base(QDialog):
16 def __init__(self,parent = None,name = None,modal = 0,fl = 0):
17 QDialog.__init__(self,parent,name,modal,fl)
20 self.setName("AlignType6Form2_base")
23 AlignType6Form2_baseLayout = QGridLayout(self,1,1,11,6,"AlignType6Form2_baseLayout")
25 self.textLabel1 = QLabel(self,"textLabel1")
26 self.textLabel1.setTextFormat(QLabel.RichText)
27 self.textLabel1.setAlignment(QLabel.WordBreak | QLabel.AlignVCenter)
29 AlignType6Form2_baseLayout.addMultiCellWidget(self.textLabel1,0,0,0,1)
31 self.pushButton4 = QPushButton(self,"pushButton4")
33 AlignType6Form2_baseLayout.addWidget(self.pushButton4,1,1)
34 spacer3 = QSpacerItem(581,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
35 AlignType6Form2_baseLayout.addItem(spacer3,1,0)
39 self.resize(QSize(626,211).expandedTo(self.minimumSizeHint()))
40 self.clearWState(Qt.WState_Polished)
42 self.connect(self.pushButton4,SIGNAL("clicked()"),self.accept)
45 def languageChange(self):
46 self.setCaption(self.__tr("HP Device Manager - Alignment"))
47 self.textLabel1.setText(self.__tr("<b>Follow these steps to complete the alignment:</b>\n"
48 "<p><b>1.</b> Place the alignment page, with the printed side facing down, on the scanner.\n"
49 "<p><b>2.</b> Press the <i>Enter</i> or <i>Scan</i> button on the printer.\n"
50 "<p><b>3.</b> \"Alignment Complete\" will be displayed when the process is finished (on some models).."))
51 self.pushButton4.setText(self.__tr("OK"))
54 def __tr(self,s,c = None):
55 return qApp.translate("AlignType6Form2_base",s,c)
57 if __name__ == "__main__":
58 a = QApplication(sys.argv)
59 QObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()"))
60 w = AlignType6Form2_base()