1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file '/home/dwelch/linux-imaging-and-printing/src/ui/colorcalform_base.ui'
5 # Created: Wed Jul 13 09:36:13 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 ColorCalForm_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("ColorCalForm_base")
23 ColorCalForm_baseLayout = QGridLayout(self,1,1,11,6,"ColorCalForm_baseLayout")
25 self.ContinueButton = QPushButton(self,"ContinueButton")
27 ColorCalForm_baseLayout.addWidget(self.ContinueButton,1,3)
28 spacer1 = QSpacerItem(335,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
29 ColorCalForm_baseLayout.addItem(spacer1,1,1)
31 self.CancelButton = QPushButton(self,"CancelButton")
33 ColorCalForm_baseLayout.addWidget(self.CancelButton,1,2)
35 self.ColorCalGroup = QButtonGroup(self,"ColorCalGroup")
36 self.ColorCalGroup.setColumnLayout(0,Qt.Vertical)
37 self.ColorCalGroup.layout().setSpacing(6)
38 self.ColorCalGroup.layout().setMargin(11)
39 ColorCalGroupLayout = QGridLayout(self.ColorCalGroup.layout())
40 ColorCalGroupLayout.setAlignment(Qt.AlignTop)
42 layout2 = QHBoxLayout(None,0,6,"layout2")
44 self.radioButton12 = QRadioButton(self.ColorCalGroup,"radioButton12")
45 layout2.addWidget(self.radioButton12)
47 self.radioButton13 = QRadioButton(self.ColorCalGroup,"radioButton13")
48 layout2.addWidget(self.radioButton13)
50 self.radioButton14 = QRadioButton(self.ColorCalGroup,"radioButton14")
51 layout2.addWidget(self.radioButton14)
53 self.radioButton15 = QRadioButton(self.ColorCalGroup,"radioButton15")
54 self.radioButton15.setChecked(1)
55 layout2.addWidget(self.radioButton15)
57 self.radioButton16 = QRadioButton(self.ColorCalGroup,"radioButton16")
58 layout2.addWidget(self.radioButton16)
60 self.radioButton17 = QRadioButton(self.ColorCalGroup,"radioButton17")
61 layout2.addWidget(self.radioButton17)
63 self.radioButton18 = QRadioButton(self.ColorCalGroup,"radioButton18")
64 layout2.addWidget(self.radioButton18)
66 ColorCalGroupLayout.addLayout(layout2,1,0)
68 self.textLabel2_2 = QLabel(self.ColorCalGroup,"textLabel2_2")
69 self.textLabel2_2.setAlignment(QLabel.WordBreak | QLabel.AlignVCenter)
71 ColorCalGroupLayout.addWidget(self.textLabel2_2,0,0)
73 ColorCalForm_baseLayout.addMultiCellWidget(self.ColorCalGroup,0,0,0,3)
77 self.resize(QSize(610,220).expandedTo(self.minimumSizeHint()))
78 self.clearWState(Qt.WState_Polished)
80 self.connect(self.CancelButton,SIGNAL("clicked()"),self.reject)
81 self.connect(self.ContinueButton,SIGNAL("clicked()"),self.accept)
82 self.connect(self.ColorCalGroup,SIGNAL("clicked(int)"),self.ColorCalGroup_clicked)
85 def languageChange(self):
86 self.setCaption(self.__tr("HP Device Manager - Color Calibration"))
87 self.ContinueButton.setText(self.__tr("Next >"))
88 self.CancelButton.setText(self.__tr("Cancel"))
89 self.ColorCalGroup.setTitle(self.__tr("Color Calibration"))
90 self.radioButton12.setText(self.__tr("1"))
91 self.radioButton13.setText(self.__tr("2"))
92 self.radioButton14.setText(self.__tr("3"))
93 self.radioButton15.setText(self.__tr("4"))
94 self.radioButton16.setText(self.__tr("5"))
95 self.radioButton17.setText(self.__tr("6"))
96 self.radioButton18.setText(self.__tr("7"))
97 self.textLabel2_2.setText(self.__tr("Choose the numbered image labeled \"1\" thru \"7\" that is <b>best color matched</b> to the image labeled \"X\"."))
100 def buttonGroup2_clicked(self,a0):
101 print "ColorCalForm_base.buttonGroup2_clicked(int): Not implemented yet"
103 def ColorCalGroup_released(self,a0):
104 print "ColorCalForm_base.ColorCalGroup_released(int): Not implemented yet"
106 def ColorCalGroup_clicked(self,a0):
107 print "ColorCalForm_base.ColorCalGroup_clicked(int): Not implemented yet"
109 def __tr(self,s,c = None):
110 return qApp.translate("ColorCalForm_base",s,c)
112 if __name__ == "__main__":
113 a = QApplication(sys.argv)
114 QObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()"))
115 w = ColorCalForm_base()