1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file '/home/dwelch/linux-imaging-and-printing/src/ui/aligntype6form1_base.ui'
5 # Created: Fri Apr 1 14:51:30 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 AlignType6Form1_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("AlignType6Form1_base")
23 AlignType6Form1_baseLayout = QGridLayout(self,1,1,11,6,"AlignType6Form1_baseLayout")
25 self.textLabel1 = QLabel(self,"textLabel1")
26 self.textLabel1.setAlignment(QLabel.WordBreak | QLabel.AlignVCenter)
28 AlignType6Form1_baseLayout.addMultiCellWidget(self.textLabel1,0,0,0,2)
30 self.pushButton2 = QPushButton(self,"pushButton2")
32 AlignType6Form1_baseLayout.addWidget(self.pushButton2,1,2)
34 self.pushButton3 = QPushButton(self,"pushButton3")
36 AlignType6Form1_baseLayout.addWidget(self.pushButton3,1,1)
37 spacer2 = QSpacerItem(351,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
38 AlignType6Form1_baseLayout.addItem(spacer2,1,0)
42 self.resize(QSize(627,188).expandedTo(self.minimumSizeHint()))
43 self.clearWState(Qt.WState_Polished)
45 self.connect(self.pushButton2,SIGNAL("clicked()"),self.accept)
46 self.connect(self.pushButton3,SIGNAL("clicked()"),self.reject)
49 def languageChange(self):
50 self.setCaption(self.__tr("HP Device Manager - Alignment"))
51 self.textLabel1.setText(self.__tr("To perform alignment, you will need the <b>alignment page</b> that is automatically printed after you install a print cartridge.\n"
52 "<p> If you do <b>not</b> have this page, click <i>Print Page</i>.\n"
53 "<p>If you already have this page, click <i>Next ></i>."))
54 self.pushButton2.setText(self.__tr("Next >"))
55 self.pushButton3.setText(self.__tr("Print Page"))
58 def __tr(self,s,c = None):
59 return qApp.translate("AlignType6Form1_base",s,c)
61 if __name__ == "__main__":
62 a = QApplication(sys.argv)
63 QObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()"))
64 w = AlignType6Form1_base()