1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file '/home/dwelch/linux-imaging-and-printing/src/ui/loadpaperform_base.ui'
5 # Created: Fri Apr 1 14:51:29 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 LoadPaperForm_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("LoadPaperForm_base")
23 LoadPaperForm_baseLayout = QGridLayout(self,1,1,11,6,"LoadPaperForm_baseLayout")
25 self.ContinueButton = QPushButton(self,"ContinueButton")
27 LoadPaperForm_baseLayout.addWidget(self.ContinueButton,1,3)
29 self.CancelButton = QPushButton(self,"CancelButton")
31 LoadPaperForm_baseLayout.addWidget(self.CancelButton,1,2)
32 spacer7 = QSpacerItem(391,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
33 LoadPaperForm_baseLayout.addMultiCell(spacer7,1,1,0,1)
35 self.textLabel7 = QLabel(self,"textLabel7")
36 self.textLabel7.setAlignment(QLabel.WordBreak | QLabel.AlignVCenter)
38 LoadPaperForm_baseLayout.addMultiCellWidget(self.textLabel7,0,0,1,3)
40 self.Icon = QLabel(self,"Icon")
41 self.Icon.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.Icon.sizePolicy().hasHeightForWidth()))
42 self.Icon.setScaledContents(1)
44 LoadPaperForm_baseLayout.addWidget(self.Icon,0,0)
48 self.resize(QSize(621,178).expandedTo(self.minimumSizeHint()))
49 self.clearWState(Qt.WState_Polished)
51 self.connect(self.CancelButton,SIGNAL("clicked()"),self.reject)
52 self.connect(self.ContinueButton,SIGNAL("clicked()"),self.accept)
55 def languageChange(self):
56 self.setCaption(self.__tr("HP Device Manager - Load Plain Paper"))
57 self.ContinueButton.setText(self.__tr("Continue"))
58 self.CancelButton.setText(self.__tr("Cancel"))
59 self.textLabel7.setText(self.__tr("A page will be printed. Please load <b>plain paper</b> in the printer and then press continue."))
62 def __tr(self,s,c = None):
63 return qApp.translate("LoadPaperForm_base",s,c)
65 if __name__ == "__main__":
66 a = QApplication(sys.argv)
67 QObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()"))
68 w = LoadPaperForm_base()