1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'faxsettingsform_base.ui'
5 # Created: Mon Dec 12 16:15:55 2005
6 # by: The PyQt User Interface Compiler (pyuic) 3.14.1
8 # WARNING! All changes made in this file will be lost!
14 class FaxSettingsForm_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("FaxSettingsForm_base")
22 FaxSettingsForm_baseLayout = QGridLayout(self,1,1,11,6,"FaxSettingsForm_baseLayout")
24 self.tabWidget2 = QTabWidget(self,"tabWidget2")
26 self.tab = QWidget(self.tabWidget2,"tab")
27 tabLayout = QGridLayout(self.tab,1,1,11,6,"tabLayout")
29 self.groupBox1 = QGroupBox(self.tab,"groupBox1")
30 self.groupBox1.setColumnLayout(0,Qt.Vertical)
31 self.groupBox1.layout().setSpacing(6)
32 self.groupBox1.layout().setMargin(11)
33 groupBox1Layout = QGridLayout(self.groupBox1.layout())
34 groupBox1Layout.setAlignment(Qt.AlignTop)
36 self.textLabel2 = QLabel(self.groupBox1,"textLabel2")
38 groupBox1Layout.addWidget(self.textLabel2,2,0)
40 self.faxEdit = QLineEdit(self.groupBox1,"faxEdit")
42 groupBox1Layout.addWidget(self.faxEdit,2,1)
44 self.textLabel1 = QLabel(self.groupBox1,"textLabel1")
46 groupBox1Layout.addWidget(self.textLabel1,1,0)
48 self.nameEdit = QLineEdit(self.groupBox1,"nameEdit")
50 groupBox1Layout.addWidget(self.nameEdit,1,1)
52 self.textLabel3 = QLabel(self.groupBox1,"textLabel3")
53 self.textLabel3.setAlignment(QLabel.WordBreak | QLabel.AlignVCenter)
55 groupBox1Layout.addMultiCellWidget(self.textLabel3,0,0,0,1)
57 tabLayout.addWidget(self.groupBox1,0,0)
58 spacer10 = QSpacerItem(20,60,QSizePolicy.Minimum,QSizePolicy.Expanding)
59 tabLayout.addItem(spacer10,2,0)
61 self.groupBox4 = QGroupBox(self.tab,"groupBox4")
62 self.groupBox4.setColumnLayout(0,Qt.Vertical)
63 self.groupBox4.layout().setSpacing(6)
64 self.groupBox4.layout().setMargin(11)
65 groupBox4Layout = QGridLayout(self.groupBox4.layout())
66 groupBox4Layout.setAlignment(Qt.AlignTop)
68 self.emailEdit = QLineEdit(self.groupBox4,"emailEdit")
70 groupBox4Layout.addWidget(self.emailEdit,2,1)
72 self.textLabel1_2 = QLabel(self.groupBox4,"textLabel1_2")
74 groupBox4Layout.addWidget(self.textLabel1_2,1,0)
76 self.voiceEdit = QLineEdit(self.groupBox4,"voiceEdit")
78 groupBox4Layout.addWidget(self.voiceEdit,1,1)
80 self.textLabel2_2 = QLabel(self.groupBox4,"textLabel2_2")
82 groupBox4Layout.addWidget(self.textLabel2_2,2,0)
84 self.textLabel3_2 = QLabel(self.groupBox4,"textLabel3_2")
85 self.textLabel3_2.setAlignment(QLabel.WordBreak | QLabel.AlignVCenter)
87 groupBox4Layout.addMultiCellWidget(self.textLabel3_2,0,0,0,1)
89 tabLayout.addWidget(self.groupBox4,1,0)
90 self.tabWidget2.insertTab(self.tab,QString.fromLatin1(""))
92 FaxSettingsForm_baseLayout.addMultiCellWidget(self.tabWidget2,2,2,0,3)
94 self.textLabel3_2_2 = QLabel(self,"textLabel3_2_2")
96 FaxSettingsForm_baseLayout.addMultiCellWidget(self.textLabel3_2_2,0,0,0,3)
98 self.line1_2_2 = QFrame(self,"line1_2_2")
99 self.line1_2_2.setFrameShape(QFrame.HLine)
100 self.line1_2_2.setFrameShadow(QFrame.Sunken)
101 self.line1_2_2.setFrameShape(QFrame.HLine)
103 FaxSettingsForm_baseLayout.addMultiCellWidget(self.line1_2_2,1,1,0,3)
105 self.pushButton31 = QPushButton(self,"pushButton31")
107 FaxSettingsForm_baseLayout.addWidget(self.pushButton31,3,2)
109 self.pushButtonOK = QPushButton(self,"pushButtonOK")
110 self.pushButtonOK.setEnabled(0)
112 FaxSettingsForm_baseLayout.addWidget(self.pushButtonOK,3,3)
113 spacer40 = QSpacerItem(386,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
114 FaxSettingsForm_baseLayout.addItem(spacer40,3,1)
116 self.languageChange()
118 self.resize(QSize(600,388).expandedTo(self.minimumSizeHint()))
119 self.clearWState(Qt.WState_Polished)
121 self.connect(self.pushButton31,SIGNAL("clicked()"),self.reject)
122 self.connect(self.pushButtonOK,SIGNAL("clicked()"),self.accept)
123 self.connect(self.faxEdit,SIGNAL("textChanged(const QString&)"),self.faxEdit_textChanged)
124 self.connect(self.nameEdit,SIGNAL("textChanged(const QString&)"),self.nameEdit_textChanged)
126 self.setTabOrder(self.nameEdit,self.faxEdit)
127 self.setTabOrder(self.faxEdit,self.voiceEdit)
128 self.setTabOrder(self.voiceEdit,self.emailEdit)
129 self.setTabOrder(self.emailEdit,self.pushButton31)
130 self.setTabOrder(self.pushButton31,self.pushButtonOK)
131 self.setTabOrder(self.pushButtonOK,self.tabWidget2)
134 def languageChange(self):
135 self.setCaption(self.__tr("HP Device Manager - Fax Settings"))
136 self.groupBox1.setTitle(self.__tr("Fax Header Information"))
137 self.textLabel2.setText(self.__tr("Device Fax Number:"))
138 self.textLabel1.setText(self.__tr("Name and/or Company:"))
139 self.textLabel3.setText(self.__tr("<i>This information will appear at the top of each fax that you send.</i>"))
140 self.groupBox4.setTitle(self.__tr("Coverpage Information"))
141 self.textLabel1_2.setText(self.__tr("Voice phone number:"))
142 self.textLabel2_2.setText(self.__tr("Email address:"))
143 self.textLabel3_2.setText(self.__tr("<i>This information will appear on any coverpage that you send.</i>"))
144 self.tabWidget2.changeTab(self.tab,self.__tr("Information"))
145 self.textLabel3_2_2.setText(self.__tr("<b>Configure device settings for sending faxes.</b>"))
146 self.pushButton31.setText(self.__tr("Cancel"))
147 self.pushButtonOK.setText(self.__tr("OK"))
150 def faxEdit_textChanged(self,a0):
151 print "FaxSettingsForm_base.faxEdit_textChanged(const QString&): Not implemented yet"
153 def nameEdit_textChanged(self,a0):
154 print "FaxSettingsForm_base.nameEdit_textChanged(const QString&): Not implemented yet"
156 def __tr(self,s,c = None):
157 return qApp.translate("FaxSettingsForm_base",s,c)