1# -*- coding: utf-8 -*-
2
3# Form implementation generated from reading ui file 'cleaningform_base.ui'
4#
5# Created: Tue Sep 5 14:21:27 2006
6#      by: The PyQt User Interface Compiler (pyuic) 3.15.1
7#
8# WARNING! All changes made in this file will be lost!
9
10
11from qt import *
12
13
14class CleaningForm_base(QDialog):
15    def __init__(self,parent = None,name = None,modal = 0,fl = 0):
16        QDialog.__init__(self,parent,name,modal,fl)
17
18        if not name:
19            self.setName("CleaningForm_base")
20
21        self.setSizeGripEnabled(1)
22
23        CleaningForm_baseLayout = QGridLayout(self,1,1,6,6,"CleaningForm_baseLayout")
24
25        self.Icon = QLabel(self,"Icon")
26        self.Icon.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.Icon.sizePolicy().hasHeightForWidth()))
27        self.Icon.setMinimumSize(QSize(71,65))
28        self.Icon.setMaximumSize(QSize(71,65))
29        self.Icon.setScaledContents(1)
30
31        CleaningForm_baseLayout.addWidget(self.Icon,1,0)
32
33        self.Finish = QPushButton(self,"Finish")
34
35        CleaningForm_baseLayout.addWidget(self.Finish,3,3)
36        spacer2 = QSpacerItem(211,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
37        CleaningForm_baseLayout.addMultiCell(spacer2,3,3,0,1)
38
39        self.Continue = QPushButton(self,"Continue")
40        self.Continue.setEnabled(0)
41
42        CleaningForm_baseLayout.addWidget(self.Continue,3,2)
43
44        self.CleaningText = QLabel(self,"CleaningText")
45
46        CleaningForm_baseLayout.addMultiCellWidget(self.CleaningText,1,1,1,3)
47        spacer5 = QSpacerItem(20,20,QSizePolicy.Minimum,QSizePolicy.Expanding)
48        CleaningForm_baseLayout.addItem(spacer5,2,2)
49
50        self.CleaningTitle = QLabel(self,"CleaningTitle")
51
52        CleaningForm_baseLayout.addMultiCellWidget(self.CleaningTitle,0,0,1,3)
53
54        self.languageChange()
55
56        self.resize(QSize(562,186).expandedTo(self.minimumSizeHint()))
57        self.clearWState(Qt.WState_Polished)
58
59        self.connect(self.Finish,SIGNAL("clicked()"),self.reject)
60        self.connect(self.Continue,SIGNAL("clicked()"),self.accept)
61
62
63    def languageChange(self):
64        self.setCaption(self.__tr("HP Device Manager - Please Wait - Cleaning"))
65        self.Finish.setText(self.__tr("Finish"))
66        self.Continue.setText(self.__tr("Cleaning Level %s"))
67        self.CleaningText.setText(self.__tr("Please wait while the test page is printed. Check this page to see if the problem was fixed. If the test page looks fine click <b>Finish </b>to quit the cleaning procedure. Otherwise, click <b>Cleaning Level %s</b> to continue with cleaning."))
68        self.CleaningTitle.setText(self.__tr("<b>Please Wait - Cleaning Level %s Being Performed</b>"))
69
70
71    def __tr(self,s,c = None):
72        return qApp.translate("CleaningForm_base",s,c)
73