1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'align13form_base.ui'
5 # Created: Tue Oct 14 13:35:16 2008
6 # by: The PyQt User Interface Compiler (pyuic) 3.17.4
8 # WARNING! All changes made in this file will be lost!
14 class Align13Form_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("Align13Form_base")
23 self.textLabel2 = QLabel(self,"textLabel2")
24 self.textLabel2.setGeometry(QRect(30,20,540,140))
26 self.OKButton = QPushButton(self,"OKButton")
27 self.OKButton.setGeometry(QRect(490,180,80,30))
31 self.resize(QSize(600,232).expandedTo(self.minimumSizeHint()))
32 self.clearWState(Qt.WState_Polished)
34 self.connect(self.OKButton,SIGNAL("clicked()"),self.accept)
37 def languageChange(self):
38 self.setCaption(self.__tr("HP Device Manager - Align Print Cartridges"))
39 self.textLabel2.setText(self.__tr("<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
40 "p, li { white-space: pre-wrap; }\n"
41 "</style></head><body style=\" font-family:'DejaVu Sans'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
42 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Follow these steps to complete the alignment:</span> </p>\n"
43 "<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">1.</span> Place the alignment page, with the printed side facing down, on the scanner. </p>\n"
44 "<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">2.</span> Press the <span style=\" font-style:italic;\">Enter</span> or <span style=\" font-style:italic;\">Scan</span> button on the printer. </p>\n"
45 "<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">3.</span> \"Alignment Complete\" will be displayed when the process is finished (on some models with a front panel display) or the green light that was blinking during the process will stop blinking and remain green (on some models without a front panel display).</p></body></html>"))
46 self.OKButton.setText(self.__tr("OK"))
49 def __tr(self,s,c = None):
50 return qApp.translate("Align13Form_Base",s,c)