00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 from qt import *
00012 __version__ = "$Revision: 1.2 $"
00013
00014
00015 class HwCfgSelector(QDialog):
00016 def __init__(self,parent = None,name = None,modal = 0,fl = 0):
00017 QDialog.__init__(self,parent,name,modal,fl)
00018
00019 if not name:
00020 self.setName("HwCfgSelector")
00021
00022
00023 HwCfgSelectorLayout = QGridLayout(self,1,1,11,6,"HwCfgSelectorLayout")
00024
00025 self.frame3 = QFrame(self,"frame3")
00026 self.frame3.setFrameShape(QFrame.StyledPanel)
00027 self.frame3.setFrameShadow(QFrame.Raised)
00028 frame3Layout = QGridLayout(self.frame3,1,1,11,6,"frame3Layout")
00029
00030 self.groupBox1_3 = QGroupBox(self.frame3,"groupBox1_3")
00031 self.groupBox1_3.setColumnLayout(0,Qt.Vertical)
00032 self.groupBox1_3.layout().setSpacing(6)
00033 self.groupBox1_3.layout().setMargin(11)
00034 groupBox1_3Layout = QHBoxLayout(self.groupBox1_3.layout())
00035 groupBox1_3Layout.setAlignment(Qt.AlignTop)
00036
00037 layout95 = QVBoxLayout(None,0,6,"layout95")
00038
00039 self.bgGasuFeed = QButtonGroup(self.groupBox1_3,"bgGasuFeed")
00040 self.bgGasuFeed.setFrameShape(QButtonGroup.NoFrame)
00041 self.bgGasuFeed.setMargin(0)
00042 self.bgGasuFeed.setAlignment(QButtonGroup.AlignTop)
00043 self.bgGasuFeed.setColumnLayout(0,Qt.Vertical)
00044 self.bgGasuFeed.layout().setSpacing(9)
00045 self.bgGasuFeed.layout().setMargin(0)
00046 bgGasuFeedLayout = QGridLayout(self.bgGasuFeed.layout())
00047 bgGasuFeedLayout.setAlignment(Qt.AlignTop)
00048
00049 self.textLabel1_3_2_2_2_2_2 = QLabel(self.bgGasuFeed,"textLabel1_3_2_2_2_2_2")
00050 self.textLabel1_3_2_2_2_2_2.setMargin(0)
00051 self.textLabel1_3_2_2_2_2_2.setAlignment(QLabel.AlignCenter)
00052
00053 bgGasuFeedLayout.addWidget(self.textLabel1_3_2_2_2_2_2,0,1)
00054
00055 self.radioButton4_5 = QRadioButton(self.bgGasuFeed,"radioButton4_5")
00056 self.bgGasuFeed.insert( self.radioButton4_5,0)
00057
00058 bgGasuFeedLayout.addWidget(self.radioButton4_5,1,1)
00059
00060 self.textLabel1_3_2_2_2_2_3 = QLabel(self.bgGasuFeed,"textLabel1_3_2_2_2_2_3")
00061 self.textLabel1_3_2_2_2_2_3.setMargin(0)
00062 self.textLabel1_3_2_2_2_2_3.setAlignment(QLabel.AlignCenter)
00063
00064 bgGasuFeedLayout.addWidget(self.textLabel1_3_2_2_2_2_3,0,2)
00065
00066 self.radioButton4_2_3 = QRadioButton(self.bgGasuFeed,"radioButton4_2_3")
00067 self.bgGasuFeed.insert( self.radioButton4_2_3,1)
00068
00069 bgGasuFeedLayout.addWidget(self.radioButton4_2_3,1,2)
00070
00071 self.textLabel1_2_3_2_3 = QLabel(self.bgGasuFeed,"textLabel1_2_3_2_3")
00072 self.textLabel1_2_3_2_3.setMinimumSize(QSize(50,0))
00073 self.textLabel1_2_3_2_3.setAlignment(QLabel.WordBreak | QLabel.AlignBottom | QLabel.AlignRight)
00074
00075 bgGasuFeedLayout.addMultiCellWidget(self.textLabel1_2_3_2_3,0,1,0,0)
00076 layout95.addWidget(self.bgGasuFeed)
00077
00078 self.bgGasuPriRed = QButtonGroup(self.groupBox1_3,"bgGasuPriRed")
00079 self.bgGasuPriRed.setFrameShape(QButtonGroup.NoFrame)
00080 self.bgGasuPriRed.setMargin(0)
00081 self.bgGasuPriRed.setAlignment(QButtonGroup.AlignTop)
00082 self.bgGasuPriRed.setColumnLayout(0,Qt.Vertical)
00083 self.bgGasuPriRed.layout().setSpacing(9)
00084 self.bgGasuPriRed.layout().setMargin(0)
00085 bgGasuPriRedLayout = QHBoxLayout(self.bgGasuPriRed.layout())
00086 bgGasuPriRedLayout.setAlignment(Qt.AlignTop)
00087
00088 self.textLabel1_2_3_2_4 = QLabel(self.bgGasuPriRed,"textLabel1_2_3_2_4")
00089 self.textLabel1_2_3_2_4.setMinimumSize(QSize(50,0))
00090 self.textLabel1_2_3_2_4.setAlignment(QLabel.WordBreak | QLabel.AlignVCenter | QLabel.AlignRight)
00091 bgGasuPriRedLayout.addWidget(self.textLabel1_2_3_2_4)
00092
00093 self.radioButton4_6 = QRadioButton(self.bgGasuPriRed,"radioButton4_6")
00094 bgGasuPriRedLayout.addWidget(self.radioButton4_6)
00095
00096 self.radioButton4_2_4 = QRadioButton(self.bgGasuPriRed,"radioButton4_2_4")
00097 bgGasuPriRedLayout.addWidget(self.radioButton4_2_4)
00098 layout95.addWidget(self.bgGasuPriRed)
00099 groupBox1_3Layout.addLayout(layout95)
00100 spacer21 = QSpacerItem(21,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
00101 groupBox1_3Layout.addItem(spacer21)
00102
00103 frame3Layout.addWidget(self.groupBox1_3,2,0)
00104
00105 self.groupBox1_3_2 = QGroupBox(self.frame3,"groupBox1_3_2")
00106 self.groupBox1_3_2.setColumnLayout(0,Qt.Vertical)
00107 self.groupBox1_3_2.layout().setSpacing(6)
00108 self.groupBox1_3_2.layout().setMargin(11)
00109 groupBox1_3_2Layout = QHBoxLayout(self.groupBox1_3_2.layout())
00110 groupBox1_3_2Layout.setAlignment(Qt.AlignTop)
00111
00112 layout96 = QVBoxLayout(None,0,6,"layout96")
00113
00114 self.bgSiuPriRed = QButtonGroup(self.groupBox1_3_2,"bgSiuPriRed")
00115 self.bgSiuPriRed.setFrameShape(QButtonGroup.NoFrame)
00116 self.bgSiuPriRed.setMargin(0)
00117 self.bgSiuPriRed.setAlignment(QButtonGroup.AlignTop)
00118 self.bgSiuPriRed.setColumnLayout(0,Qt.Vertical)
00119 self.bgSiuPriRed.layout().setSpacing(9)
00120 self.bgSiuPriRed.layout().setMargin(0)
00121 bgSiuPriRedLayout = QGridLayout(self.bgSiuPriRed.layout())
00122 bgSiuPriRedLayout.setAlignment(Qt.AlignTop)
00123
00124 self.textLabel1_3_2_2_2_2_2_2 = QLabel(self.bgSiuPriRed,"textLabel1_3_2_2_2_2_2_2")
00125 self.textLabel1_3_2_2_2_2_2_2.setMargin(0)
00126 self.textLabel1_3_2_2_2_2_2_2.setAlignment(QLabel.AlignCenter)
00127
00128 bgSiuPriRedLayout.addWidget(self.textLabel1_3_2_2_2_2_2_2,0,1)
00129
00130 self.textLabel1_3_2_2_2_2_3_2 = QLabel(self.bgSiuPriRed,"textLabel1_3_2_2_2_2_3_2")
00131 self.textLabel1_3_2_2_2_2_3_2.setMargin(0)
00132 self.textLabel1_3_2_2_2_2_3_2.setAlignment(QLabel.AlignCenter)
00133
00134 bgSiuPriRedLayout.addWidget(self.textLabel1_3_2_2_2_2_3_2,0,2)
00135
00136 self.radioButton4_2_3_2 = QRadioButton(self.bgSiuPriRed,"radioButton4_2_3_2")
00137 self.bgSiuPriRed.insert( self.radioButton4_2_3_2,1)
00138
00139 bgSiuPriRedLayout.addWidget(self.radioButton4_2_3_2,1,2)
00140
00141 self.textLabel1_2_3_2_3_2 = QLabel(self.bgSiuPriRed,"textLabel1_2_3_2_3_2")
00142 self.textLabel1_2_3_2_3_2.setMinimumSize(QSize(50,0))
00143 self.textLabel1_2_3_2_3_2.setAlignment(QLabel.WordBreak | QLabel.AlignBottom | QLabel.AlignRight)
00144
00145 bgSiuPriRedLayout.addMultiCellWidget(self.textLabel1_2_3_2_3_2,0,1,0,0)
00146
00147 self.radioButton4_5_2 = QRadioButton(self.bgSiuPriRed,"radioButton4_5_2")
00148 self.bgSiuPriRed.insert( self.radioButton4_5_2,0)
00149
00150 bgSiuPriRedLayout.addWidget(self.radioButton4_5_2,1,1)
00151 layout96.addWidget(self.bgSiuPriRed)
00152
00153 self.bgPduPriRed = QButtonGroup(self.groupBox1_3_2,"bgPduPriRed")
00154 self.bgPduPriRed.setFrameShape(QButtonGroup.NoFrame)
00155 self.bgPduPriRed.setMargin(0)
00156 self.bgPduPriRed.setAlignment(QButtonGroup.AlignTop)
00157 self.bgPduPriRed.setColumnLayout(0,Qt.Vertical)
00158 self.bgPduPriRed.layout().setSpacing(9)
00159 self.bgPduPriRed.layout().setMargin(0)
00160 bgPduPriRedLayout = QHBoxLayout(self.bgPduPriRed.layout())
00161 bgPduPriRedLayout.setAlignment(Qt.AlignTop)
00162
00163 self.textLabel1_2_3_2_4_2 = QLabel(self.bgPduPriRed,"textLabel1_2_3_2_4_2")
00164 self.textLabel1_2_3_2_4_2.setMinimumSize(QSize(50,0))
00165 self.textLabel1_2_3_2_4_2.setAlignment(QLabel.WordBreak | QLabel.AlignVCenter | QLabel.AlignRight)
00166 bgPduPriRedLayout.addWidget(self.textLabel1_2_3_2_4_2)
00167
00168 self.radioButton4_6_2 = QRadioButton(self.bgPduPriRed,"radioButton4_6_2")
00169 bgPduPriRedLayout.addWidget(self.radioButton4_6_2)
00170
00171 self.radioButton4_2_4_2 = QRadioButton(self.bgPduPriRed,"radioButton4_2_4_2")
00172 bgPduPriRedLayout.addWidget(self.radioButton4_2_4_2)
00173 layout96.addWidget(self.bgPduPriRed)
00174 groupBox1_3_2Layout.addLayout(layout96)
00175 spacer12 = QSpacerItem(30,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
00176 groupBox1_3_2Layout.addItem(spacer12)
00177
00178 frame3Layout.addMultiCellWidget(self.groupBox1_3_2,2,2,1,2)
00179
00180 self.groupBox1 = QGroupBox(self.frame3,"groupBox1")
00181 self.groupBox1.setColumnLayout(0,Qt.Vertical)
00182 self.groupBox1.layout().setSpacing(6)
00183 self.groupBox1.layout().setMargin(11)
00184 groupBox1Layout = QHBoxLayout(self.groupBox1.layout())
00185 groupBox1Layout.setAlignment(Qt.AlignTop)
00186
00187 layout93 = QVBoxLayout(None,0,6,"layout93")
00188
00189 self.bgSiuSelect = QButtonGroup(self.groupBox1,"bgSiuSelect")
00190 self.bgSiuSelect.setFrameShape(QButtonGroup.NoFrame)
00191 self.bgSiuSelect.setLineWidth(1)
00192 self.bgSiuSelect.setMargin(0)
00193 self.bgSiuSelect.setAlignment(QButtonGroup.AlignTop)
00194 self.bgSiuSelect.setColumnLayout(0,Qt.Vertical)
00195 self.bgSiuSelect.layout().setSpacing(9)
00196 self.bgSiuSelect.layout().setMargin(0)
00197 bgSiuSelectLayout = QGridLayout(self.bgSiuSelect.layout())
00198 bgSiuSelectLayout.setAlignment(Qt.AlignTop)
00199
00200 self.textLabel6 = QLabel(self.bgSiuSelect,"textLabel6")
00201
00202 bgSiuSelectLayout.addWidget(self.textLabel6,0,1)
00203
00204 self.radioButton92 = QRadioButton(self.bgSiuSelect,"radioButton92")
00205 self.bgSiuSelect.insert( self.radioButton92,0)
00206
00207 bgSiuSelectLayout.addWidget(self.radioButton92,1,1)
00208
00209 self.textLabel6_2 = QLabel(self.bgSiuSelect,"textLabel6_2")
00210
00211 bgSiuSelectLayout.addWidget(self.textLabel6_2,0,2)
00212
00213 self.radioButton92_2 = QRadioButton(self.bgSiuSelect,"radioButton92_2")
00214 self.bgSiuSelect.insert( self.radioButton92_2,1)
00215
00216 bgSiuSelectLayout.addWidget(self.radioButton92_2,1,2)
00217
00218 self.textLabel6_3 = QLabel(self.bgSiuSelect,"textLabel6_3")
00219
00220 bgSiuSelectLayout.addWidget(self.textLabel6_3,0,3)
00221
00222 self.radioButton92_3 = QRadioButton(self.bgSiuSelect,"radioButton92_3")
00223 self.bgSiuSelect.insert( self.radioButton92_3,2)
00224
00225 bgSiuSelectLayout.addWidget(self.radioButton92_3,1,3)
00226
00227 self.textLabel6_4 = QLabel(self.bgSiuSelect,"textLabel6_4")
00228
00229 bgSiuSelectLayout.addWidget(self.textLabel6_4,0,4)
00230
00231 self.radioButton92_4 = QRadioButton(self.bgSiuSelect,"radioButton92_4")
00232 self.bgSiuSelect.insert( self.radioButton92_4,3)
00233
00234 bgSiuSelectLayout.addWidget(self.radioButton92_4,1,4)
00235
00236 self.textLabel4 = QLabel(self.bgSiuSelect,"textLabel4")
00237 self.textLabel4.setMinimumSize(QSize(50,0))
00238 self.textLabel4.setAlignment(QLabel.AlignBottom | QLabel.AlignRight)
00239
00240 bgSiuSelectLayout.addMultiCellWidget(self.textLabel4,0,1,0,0)
00241 layout93.addWidget(self.bgSiuSelect)
00242
00243 self.bgDaqSelect = QButtonGroup(self.groupBox1,"bgDaqSelect")
00244 self.bgDaqSelect.setFrameShape(QButtonGroup.NoFrame)
00245 self.bgDaqSelect.setLineWidth(1)
00246 self.bgDaqSelect.setMargin(0)
00247 self.bgDaqSelect.setColumnLayout(0,Qt.Vertical)
00248 self.bgDaqSelect.layout().setSpacing(9)
00249 self.bgDaqSelect.layout().setMargin(0)
00250 bgDaqSelectLayout = QHBoxLayout(self.bgDaqSelect.layout())
00251 bgDaqSelectLayout.setAlignment(Qt.AlignTop)
00252
00253 self.textLabel4_2 = QLabel(self.bgDaqSelect,"textLabel4_2")
00254 self.textLabel4_2.setMinimumSize(QSize(50,0))
00255 self.textLabel4_2.setAlignment(QLabel.AlignVCenter | QLabel.AlignRight)
00256 bgDaqSelectLayout.addWidget(self.textLabel4_2)
00257
00258 self.radioButton92_5 = QRadioButton(self.bgDaqSelect,"radioButton92_5")
00259 bgDaqSelectLayout.addWidget(self.radioButton92_5)
00260
00261 self.radioButton92_2_2 = QRadioButton(self.bgDaqSelect,"radioButton92_2_2")
00262 bgDaqSelectLayout.addWidget(self.radioButton92_2_2)
00263
00264 self.radioButton92_3_2 = QRadioButton(self.bgDaqSelect,"radioButton92_3_2")
00265 bgDaqSelectLayout.addWidget(self.radioButton92_3_2)
00266
00267 self.radioButton92_4_2 = QRadioButton(self.bgDaqSelect,"radioButton92_4_2")
00268 bgDaqSelectLayout.addWidget(self.radioButton92_4_2)
00269 layout93.addWidget(self.bgDaqSelect)
00270 groupBox1Layout.addLayout(layout93)
00271 spacer20 = QSpacerItem(16,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
00272 groupBox1Layout.addItem(spacer20)
00273
00274 frame3Layout.addWidget(self.groupBox1,1,0)
00275
00276 self.groupBox1_2 = QGroupBox(self.frame3,"groupBox1_2")
00277 self.groupBox1_2.setColumnLayout(0,Qt.Vertical)
00278 self.groupBox1_2.layout().setSpacing(6)
00279 self.groupBox1_2.layout().setMargin(11)
00280 groupBox1_2Layout = QHBoxLayout(self.groupBox1_2.layout())
00281 groupBox1_2Layout.setAlignment(Qt.AlignTop)
00282
00283 layout94 = QVBoxLayout(None,0,6,"layout94")
00284
00285 self.bgEpuAselect = QButtonGroup(self.groupBox1_2,"bgEpuAselect")
00286 self.bgEpuAselect.setFrameShape(QButtonGroup.NoFrame)
00287 self.bgEpuAselect.setAlignment(QButtonGroup.AlignVCenter)
00288 self.bgEpuAselect.setColumnLayout(0,Qt.Vertical)
00289 self.bgEpuAselect.layout().setSpacing(9)
00290 self.bgEpuAselect.layout().setMargin(0)
00291 bgEpuAselectLayout = QGridLayout(self.bgEpuAselect.layout())
00292 bgEpuAselectLayout.setAlignment(Qt.AlignTop)
00293
00294 self.textLabel1_3_2_2_2_2 = QLabel(self.bgEpuAselect,"textLabel1_3_2_2_2_2")
00295 self.textLabel1_3_2_2_2_2.setMargin(0)
00296 self.textLabel1_3_2_2_2_2.setAlignment(QLabel.AlignCenter)
00297
00298 bgEpuAselectLayout.addWidget(self.textLabel1_3_2_2_2_2,0,1)
00299
00300 self.radioButton4_4 = QRadioButton(self.bgEpuAselect,"radioButton4_4")
00301 self.bgEpuAselect.insert( self.radioButton4_4,0)
00302
00303 bgEpuAselectLayout.addWidget(self.radioButton4_4,1,1)
00304
00305 self.textLabel1_3_2_2_2 = QLabel(self.bgEpuAselect,"textLabel1_3_2_2_2")
00306 self.textLabel1_3_2_2_2.setMinimumSize(QSize(0,0))
00307 self.textLabel1_3_2_2_2.setMargin(0)
00308 self.textLabel1_3_2_2_2.setAlignment(QLabel.AlignCenter)
00309
00310 bgEpuAselectLayout.addWidget(self.textLabel1_3_2_2_2,0,2)
00311
00312 self.radioButton4_2_2 = QRadioButton(self.bgEpuAselect,"radioButton4_2_2")
00313 self.bgEpuAselect.insert( self.radioButton4_2_2,1)
00314
00315 bgEpuAselectLayout.addWidget(self.radioButton4_2_2,1,2)
00316
00317 self.textLabel1_3_2_2 = QLabel(self.bgEpuAselect,"textLabel1_3_2_2")
00318 self.textLabel1_3_2_2.setMargin(0)
00319 self.textLabel1_3_2_2.setAlignment(QLabel.AlignCenter)
00320
00321 bgEpuAselectLayout.addWidget(self.textLabel1_3_2_2,0,3)
00322
00323 self.radioButton4_3_2 = QRadioButton(self.bgEpuAselect,"radioButton4_3_2")
00324 self.bgEpuAselect.insert( self.radioButton4_3_2,2)
00325
00326 bgEpuAselectLayout.addWidget(self.radioButton4_3_2,1,3)
00327
00328 self.textLabel1_2_3_2_2 = QLabel(self.bgEpuAselect,"textLabel1_2_3_2_2")
00329 self.textLabel1_2_3_2_2.setMinimumSize(QSize(50,0))
00330 self.textLabel1_2_3_2_2.setAlignment(QLabel.WordBreak | QLabel.AlignBottom | QLabel.AlignRight)
00331
00332 bgEpuAselectLayout.addMultiCellWidget(self.textLabel1_2_3_2_2,0,1,0,0)
00333 layout94.addWidget(self.bgEpuAselect)
00334
00335 self.bgEpuBselect = QButtonGroup(self.groupBox1_2,"bgEpuBselect")
00336 self.bgEpuBselect.setFrameShape(QButtonGroup.NoFrame)
00337 self.bgEpuBselect.setMargin(0)
00338 self.bgEpuBselect.setAlignment(QButtonGroup.AlignTop)
00339 self.bgEpuBselect.setColumnLayout(0,Qt.Vertical)
00340 self.bgEpuBselect.layout().setSpacing(9)
00341 self.bgEpuBselect.layout().setMargin(0)
00342 bgEpuBselectLayout = QHBoxLayout(self.bgEpuBselect.layout())
00343 bgEpuBselectLayout.setAlignment(Qt.AlignTop)
00344
00345 self.textLabel1_2_3_2 = QLabel(self.bgEpuBselect,"textLabel1_2_3_2")
00346 self.textLabel1_2_3_2.setMinimumSize(QSize(50,0))
00347 self.textLabel1_2_3_2.setAlignment(QLabel.WordBreak | QLabel.AlignVCenter | QLabel.AlignRight)
00348 bgEpuBselectLayout.addWidget(self.textLabel1_2_3_2)
00349
00350 self.radioButton4 = QRadioButton(self.bgEpuBselect,"radioButton4")
00351 bgEpuBselectLayout.addWidget(self.radioButton4)
00352
00353 self.radioButton4_2 = QRadioButton(self.bgEpuBselect,"radioButton4_2")
00354 bgEpuBselectLayout.addWidget(self.radioButton4_2)
00355
00356 self.radioButton4_3 = QRadioButton(self.bgEpuBselect,"radioButton4_3")
00357 bgEpuBselectLayout.addWidget(self.radioButton4_3)
00358 layout94.addWidget(self.bgEpuBselect)
00359 groupBox1_2Layout.addLayout(layout94)
00360 spacer19 = QSpacerItem(16,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
00361 groupBox1_2Layout.addItem(spacer19)
00362
00363 frame3Layout.addMultiCellWidget(self.groupBox1_2,1,1,1,2)
00364
00365 layout10 = QHBoxLayout(None,0,6,"layout10")
00366 spacer23 = QSpacerItem(80,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
00367 layout10.addItem(spacer23)
00368
00369 self.buttonOK = QPushButton(self.frame3,"buttonOK")
00370 self.buttonOK.setDefault(1)
00371 layout10.addWidget(self.buttonOK)
00372
00373 self.buttonCancel = QPushButton(self.frame3,"buttonCancel")
00374 self.buttonCancel.setDefault(0)
00375 layout10.addWidget(self.buttonCancel)
00376
00377 frame3Layout.addMultiCellLayout(layout10,4,4,0,2)
00378
00379 self.bgPresetConfig = QButtonGroup(self.frame3,"bgPresetConfig")
00380 self.bgPresetConfig.setProperty("selectedId",QVariant(-1))
00381 self.bgPresetConfig.setColumnLayout(0,Qt.Vertical)
00382 self.bgPresetConfig.layout().setSpacing(6)
00383 self.bgPresetConfig.layout().setMargin(11)
00384 bgPresetConfigLayout = QGridLayout(self.bgPresetConfig.layout())
00385 bgPresetConfigLayout.setAlignment(Qt.AlignTop)
00386
00387 self.TWR6_2_4 = QRadioButton(self.bgPresetConfig,"TWR6_2_4")
00388 self.bgPresetConfig.insert( self.TWR6_2_4,8)
00389
00390 bgPresetConfigLayout.addWidget(self.TWR6_2_4,0,8)
00391
00392 self.TWR6Lbl_2_4 = QLabel(self.bgPresetConfig,"TWR6Lbl_2_4")
00393 self.TWR6Lbl_2_4.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Preferred,0,0,self.TWR6Lbl_2_4.sizePolicy().hasHeightForWidth()))
00394 self.TWR6Lbl_2_4.setMaximumSize(QSize(32767,32767))
00395 self.TWR6Lbl_2_4.setAlignment(QLabel.AlignCenter)
00396
00397 bgPresetConfigLayout.addWidget(self.TWR6Lbl_2_4,1,8)
00398
00399 self.TWR6_2_3 = QRadioButton(self.bgPresetConfig,"TWR6_2_3")
00400 self.bgPresetConfig.insert( self.TWR6_2_3,7)
00401
00402 bgPresetConfigLayout.addWidget(self.TWR6_2_3,0,7)
00403
00404 self.TWR6Lbl_2_3 = QLabel(self.bgPresetConfig,"TWR6Lbl_2_3")
00405 self.TWR6Lbl_2_3.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Preferred,0,0,self.TWR6Lbl_2_3.sizePolicy().hasHeightForWidth()))
00406 self.TWR6Lbl_2_3.setMaximumSize(QSize(32767,32767))
00407 self.TWR6Lbl_2_3.setAlignment(QLabel.AlignCenter)
00408
00409 bgPresetConfigLayout.addWidget(self.TWR6Lbl_2_3,1,7)
00410
00411 self.TWR6_2_2 = QRadioButton(self.bgPresetConfig,"TWR6_2_2")
00412 self.bgPresetConfig.insert( self.TWR6_2_2,6)
00413
00414 bgPresetConfigLayout.addWidget(self.TWR6_2_2,0,6)
00415
00416 self.TWR6Lbl_2_2 = QLabel(self.bgPresetConfig,"TWR6Lbl_2_2")
00417 self.TWR6Lbl_2_2.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Preferred,0,0,self.TWR6Lbl_2_2.sizePolicy().hasHeightForWidth()))
00418 self.TWR6Lbl_2_2.setMaximumSize(QSize(32767,32767))
00419 self.TWR6Lbl_2_2.setAlignment(QLabel.AlignCenter)
00420
00421 bgPresetConfigLayout.addWidget(self.TWR6Lbl_2_2,1,6)
00422
00423 self.TWR6_2 = QRadioButton(self.bgPresetConfig,"TWR6_2")
00424 self.bgPresetConfig.insert( self.TWR6_2,5)
00425
00426 bgPresetConfigLayout.addWidget(self.TWR6_2,0,5)
00427
00428 self.TWR6Lbl_2 = QLabel(self.bgPresetConfig,"TWR6Lbl_2")
00429 self.TWR6Lbl_2.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Preferred,0,0,self.TWR6Lbl_2.sizePolicy().hasHeightForWidth()))
00430 self.TWR6Lbl_2.setMaximumSize(QSize(32767,32767))
00431 self.TWR6Lbl_2.setAlignment(QLabel.AlignCenter)
00432
00433 bgPresetConfigLayout.addWidget(self.TWR6Lbl_2,1,5)
00434
00435 self.TWR5_2 = QRadioButton(self.bgPresetConfig,"TWR5_2")
00436 self.bgPresetConfig.insert( self.TWR5_2,4)
00437
00438 bgPresetConfigLayout.addWidget(self.TWR5_2,0,4)
00439
00440 self.TWR5Lbl_2 = QLabel(self.bgPresetConfig,"TWR5Lbl_2")
00441 self.TWR5Lbl_2.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Preferred,0,0,self.TWR5Lbl_2.sizePolicy().hasHeightForWidth()))
00442 self.TWR5Lbl_2.setMaximumSize(QSize(32767,32767))
00443 self.TWR5Lbl_2.setLineWidth(1)
00444 self.TWR5Lbl_2.setMargin(0)
00445 self.TWR5Lbl_2.setMidLineWidth(0)
00446 self.TWR5Lbl_2.setAlignment(QLabel.AlignCenter)
00447
00448 bgPresetConfigLayout.addWidget(self.TWR5Lbl_2,1,4)
00449
00450 self.TWR4_2 = QRadioButton(self.bgPresetConfig,"TWR4_2")
00451 self.bgPresetConfig.insert( self.TWR4_2,3)
00452
00453 bgPresetConfigLayout.addWidget(self.TWR4_2,0,3)
00454
00455 self.TWR4Lbl_2 = QLabel(self.bgPresetConfig,"TWR4Lbl_2")
00456 self.TWR4Lbl_2.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Preferred,0,0,self.TWR4Lbl_2.sizePolicy().hasHeightForWidth()))
00457 self.TWR4Lbl_2.setMaximumSize(QSize(32767,32767))
00458 self.TWR4Lbl_2.setAlignment(QLabel.AlignCenter)
00459
00460 bgPresetConfigLayout.addWidget(self.TWR4Lbl_2,1,3)
00461
00462 self.TWR3_2 = QRadioButton(self.bgPresetConfig,"TWR3_2")
00463 self.bgPresetConfig.insert( self.TWR3_2,2)
00464
00465 bgPresetConfigLayout.addWidget(self.TWR3_2,0,2)
00466
00467 self.TWR3Lbl_2 = QLabel(self.bgPresetConfig,"TWR3Lbl_2")
00468 self.TWR3Lbl_2.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Preferred,0,0,self.TWR3Lbl_2.sizePolicy().hasHeightForWidth()))
00469 self.TWR3Lbl_2.setMinimumSize(QSize(0,0))
00470 self.TWR3Lbl_2.setMaximumSize(QSize(32767,32767))
00471 self.TWR3Lbl_2.setAlignment(QLabel.AlignCenter)
00472
00473 bgPresetConfigLayout.addWidget(self.TWR3Lbl_2,1,2)
00474
00475 self.TWR2_2 = QRadioButton(self.bgPresetConfig,"TWR2_2")
00476 self.bgPresetConfig.insert( self.TWR2_2,1)
00477
00478 bgPresetConfigLayout.addWidget(self.TWR2_2,0,1)
00479
00480 self.TWR2Lbl_2 = QLabel(self.bgPresetConfig,"TWR2Lbl_2")
00481 self.TWR2Lbl_2.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Preferred,0,0,self.TWR2Lbl_2.sizePolicy().hasHeightForWidth()))
00482 self.TWR2Lbl_2.setMinimumSize(QSize(0,0))
00483 self.TWR2Lbl_2.setMaximumSize(QSize(32767,32767))
00484 self.TWR2Lbl_2.setLineWidth(1)
00485 self.TWR2Lbl_2.setMargin(0)
00486 self.TWR2Lbl_2.setMidLineWidth(0)
00487 self.TWR2Lbl_2.setAlignment(QLabel.AlignCenter)
00488
00489 bgPresetConfigLayout.addWidget(self.TWR2Lbl_2,1,1)
00490
00491 self.TWR1_2 = QRadioButton(self.bgPresetConfig,"TWR1_2")
00492 self.TWR1_2.setChecked(0)
00493 self.bgPresetConfig.insert( self.TWR1_2,0)
00494
00495 bgPresetConfigLayout.addWidget(self.TWR1_2,0,0)
00496
00497 self.TWR1Lbl_2 = QLabel(self.bgPresetConfig,"TWR1Lbl_2")
00498 self.TWR1Lbl_2.setSizePolicy(QSizePolicy(QSizePolicy.MinimumExpanding,QSizePolicy.Preferred,0,0,self.TWR1Lbl_2.sizePolicy().hasHeightForWidth()))
00499 self.TWR1Lbl_2.setMinimumSize(QSize(0,0))
00500 self.TWR1Lbl_2.setMaximumSize(QSize(32767,32767))
00501 self.TWR1Lbl_2.setScaledContents(0)
00502 self.TWR1Lbl_2.setAlignment(QLabel.AlignCenter)
00503 self.TWR1Lbl_2.setIndent(-1)
00504
00505 bgPresetConfigLayout.addWidget(self.TWR1Lbl_2,1,0)
00506
00507 frame3Layout.addWidget(self.bgPresetConfig,0,0)
00508 spacer12_2 = QSpacerItem(16,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
00509 frame3Layout.addItem(spacer12_2,0,1)
00510
00511 layout19 = QVBoxLayout(None,0,6,"layout19")
00512
00513 self.checkUnlock = QCheckBox(self.frame3,"checkUnlock")
00514 layout19.addWidget(self.checkUnlock)
00515 spacer38 = QSpacerItem(20,30,QSizePolicy.Minimum,QSizePolicy.Fixed)
00516 layout19.addItem(spacer38)
00517
00518 frame3Layout.addLayout(layout19,0,2)
00519 spacer11 = QSpacerItem(110,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
00520 frame3Layout.addItem(spacer11,3,2)
00521
00522 self.groupBox1_3_2_2 = QGroupBox(self.frame3,"groupBox1_3_2_2")
00523 self.groupBox1_3_2_2.setColumnLayout(0,Qt.Vertical)
00524 self.groupBox1_3_2_2.layout().setSpacing(6)
00525 self.groupBox1_3_2_2.layout().setMargin(11)
00526 groupBox1_3_2_2Layout = QHBoxLayout(self.groupBox1_3_2_2.layout())
00527 groupBox1_3_2_2Layout.setAlignment(Qt.AlignTop)
00528
00529 layout107 = QHBoxLayout(None,0,6,"layout107")
00530
00531 self.bgAcdHvbs = QButtonGroup(self.groupBox1_3_2_2,"bgAcdHvbs")
00532 self.bgAcdHvbs.setFrameShape(QButtonGroup.NoFrame)
00533 self.bgAcdHvbs.setMargin(0)
00534 self.bgAcdHvbs.setAlignment(QButtonGroup.AlignTop | QButtonGroup.AlignLeft)
00535 self.bgAcdHvbs.setColumnLayout(0,Qt.Vertical)
00536 self.bgAcdHvbs.layout().setSpacing(9)
00537 self.bgAcdHvbs.layout().setMargin(0)
00538 bgAcdHvbsLayout = QGridLayout(self.bgAcdHvbs.layout())
00539 bgAcdHvbsLayout.setAlignment(Qt.AlignTop)
00540
00541 self.radioButton4_6_3 = QRadioButton(self.bgAcdHvbs,"radioButton4_6_3")
00542 self.bgAcdHvbs.insert( self.radioButton4_6_3,0)
00543
00544 bgAcdHvbsLayout.addWidget(self.radioButton4_6_3,1,1)
00545
00546 self.textLabel1_3_2_2_2_2_2_3_2 = QLabel(self.bgAcdHvbs,"textLabel1_3_2_2_2_2_2_3_2")
00547 self.textLabel1_3_2_2_2_2_2_3_2.setMargin(0)
00548 self.textLabel1_3_2_2_2_2_2_3_2.setAlignment(QLabel.AlignCenter)
00549
00550 bgAcdHvbsLayout.addWidget(self.textLabel1_3_2_2_2_2_2_3_2,0,1)
00551
00552 self.textLabel1_3_2_2_2_2_2_3_3 = QLabel(self.bgAcdHvbs,"textLabel1_3_2_2_2_2_2_3_3")
00553 self.textLabel1_3_2_2_2_2_2_3_3.setMargin(0)
00554 self.textLabel1_3_2_2_2_2_2_3_3.setAlignment(QLabel.AlignCenter)
00555
00556 bgAcdHvbsLayout.addWidget(self.textLabel1_3_2_2_2_2_2_3_3,0,2)
00557
00558 self.textLabel1_2_3_2_4_3 = QLabel(self.bgAcdHvbs,"textLabel1_2_3_2_4_3")
00559 self.textLabel1_2_3_2_4_3.setMinimumSize(QSize(50,0))
00560 self.textLabel1_2_3_2_4_3.setAlignment(QLabel.AlignBottom | QLabel.AlignRight)
00561
00562 bgAcdHvbsLayout.addMultiCellWidget(self.textLabel1_2_3_2_4_3,0,1,0,0)
00563
00564 self.radioButton4_2_4_3 = QRadioButton(self.bgAcdHvbs,"radioButton4_2_4_3")
00565 self.bgAcdHvbs.insert( self.radioButton4_2_4_3,1)
00566
00567 bgAcdHvbsLayout.addWidget(self.radioButton4_2_4_3,1,2)
00568 layout107.addWidget(self.bgAcdHvbs)
00569 groupBox1_3_2_2Layout.addLayout(layout107)
00570 spacer11_2 = QSpacerItem(40,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
00571 groupBox1_3_2_2Layout.addItem(spacer11_2)
00572
00573 frame3Layout.addWidget(self.groupBox1_3_2_2,3,0)
00574
00575 HwCfgSelectorLayout.addWidget(self.frame3,0,0)
00576
00577 self.languageChange()
00578
00579 self.resize(QSize(377,413).expandedTo(self.minimumSizeHint()))
00580 self.clearWState(Qt.WState_Polished)
00581
00582
00583 def languageChange(self):
00584 self.setCaption(self.__tr("Hardware Configuration Selector"))
00585 self.groupBox1_3.setTitle(self.__tr("GASU"))
00586 self.bgGasuFeed.setTitle(QString.null)
00587 self.textLabel1_3_2_2_2_2_2.setText(self.__tr("P"))
00588 self.radioButton4_5.setText(QString.null)
00589 self.textLabel1_3_2_2_2_2_3.setText(self.__tr("R"))
00590 self.radioButton4_2_3.setText(QString.null)
00591 self.textLabel1_2_3_2_3.setText(self.__tr("Feed:"))
00592 self.bgGasuPriRed.setTitle(QString.null)
00593 self.textLabel1_2_3_2_4.setText(self.__tr("GASU:"))
00594 self.radioButton4_6.setText(QString.null)
00595 self.radioButton4_2_4.setText(QString.null)
00596 self.groupBox1_3_2.setTitle(self.__tr("SIU / PDU"))
00597 self.bgSiuPriRed.setTitle(QString.null)
00598 self.textLabel1_3_2_2_2_2_2_2.setText(self.__tr("P"))
00599 self.textLabel1_3_2_2_2_2_3_2.setText(self.__tr("R"))
00600 self.radioButton4_2_3_2.setText(QString.null)
00601 self.textLabel1_2_3_2_3_2.setText(self.__tr("SIU:"))
00602 self.radioButton4_5_2.setText(QString.null)
00603 self.bgPduPriRed.setTitle(QString.null)
00604 self.textLabel1_2_3_2_4_2.setText(self.__tr("PDU:"))
00605 self.radioButton4_6_2.setText(QString.null)
00606 self.radioButton4_2_4_2.setText(QString.null)
00607 self.groupBox1.setTitle(self.__tr("Cross Strapping"))
00608 self.bgSiuSelect.setTitle(QString.null)
00609 self.textLabel6.setText(self.__tr("AA"))
00610 self.radioButton92.setText(QString.null)
00611 self.textLabel6_2.setText(self.__tr("AB"))
00612 self.radioButton92_2.setText(QString.null)
00613 self.textLabel6_3.setText(self.__tr("BA"))
00614 self.radioButton92_3.setText(QString.null)
00615 self.textLabel6_4.setText(self.__tr("BB"))
00616 self.radioButton92_4.setText(QString.null)
00617 self.textLabel4.setText(self.__tr("SIU:"))
00618 self.bgDaqSelect.setTitle(QString.null)
00619 self.textLabel4_2.setText(self.__tr("DAQ:"))
00620 self.radioButton92_5.setText(QString.null)
00621 self.radioButton92_2_2.setText(QString.null)
00622 self.radioButton92_3_2.setText(QString.null)
00623 self.radioButton92_4_2.setText(QString.null)
00624 self.groupBox1_2.setTitle(self.__tr("EPU Selection"))
00625 self.bgEpuAselect.setTitle(QString.null)
00626 self.textLabel1_3_2_2_2_2.setText(self.__tr("0"))
00627 self.radioButton4_4.setText(QString.null)
00628 self.textLabel1_3_2_2_2.setText(self.__tr("1"))
00629 self.radioButton4_2_2.setText(QString.null)
00630 self.textLabel1_3_2_2.setText(self.__tr("2"))
00631 self.radioButton4_3_2.setText(QString.null)
00632 self.textLabel1_2_3_2_2.setText(self.__tr("EPU-A:"))
00633 self.bgEpuBselect.setTitle(QString.null)
00634 self.textLabel1_2_3_2.setText(self.__tr("EPU-B:"))
00635 self.radioButton4.setText(QString.null)
00636 self.radioButton4_2.setText(QString.null)
00637 self.radioButton4_3.setText(QString.null)
00638 self.buttonOK.setText(self.__tr("OK"))
00639 self.buttonCancel.setText(self.__tr("Cancel"))
00640 self.bgPresetConfig.setTitle(self.__tr("Preset Configurations"))
00641 self.TWR6_2_4.setText(QString.null)
00642 self.TWR6Lbl_2_4.setText(self.__tr("9"))
00643 self.TWR6_2_3.setText(QString.null)
00644 self.TWR6Lbl_2_3.setText(self.__tr("8"))
00645 self.TWR6_2_2.setText(QString.null)
00646 self.TWR6Lbl_2_2.setText(self.__tr("7"))
00647 self.TWR6_2.setText(QString.null)
00648 self.TWR6Lbl_2.setText(self.__tr("6"))
00649 self.TWR5_2.setText(QString.null)
00650 self.TWR5Lbl_2.setText(self.__tr("5"))
00651 self.TWR4_2.setText(QString.null)
00652 self.TWR4Lbl_2.setText(self.__tr("4"))
00653 self.TWR3_2.setText(QString.null)
00654 self.TWR3Lbl_2.setText(self.__tr("3"))
00655 self.TWR2_2.setText(QString.null)
00656 self.TWR2Lbl_2.setText(self.__tr("2"))
00657 self.TWR1_2.setText(QString.null)
00658 self.TWR1Lbl_2.setText(self.__tr("1"))
00659 self.checkUnlock.setText(self.__tr("Unlock to allow changes"))
00660 self.groupBox1_3_2_2.setTitle(self.__tr("ACD"))
00661 self.bgAcdHvbs.setTitle(QString.null)
00662 self.radioButton4_6_3.setText(QString.null)
00663 self.textLabel1_3_2_2_2_2_2_3_2.setText(self.__tr("1"))
00664 self.textLabel1_3_2_2_2_2_2_3_3.setText(self.__tr("2"))
00665 self.textLabel1_2_3_2_4_3.setText(self.__tr("HVBS:"))
00666 self.radioButton4_2_4_3.setText(QString.null)
00667
00668
00669 def __tr(self,s,c = None):
00670 return qApp.translate("HwCfgSelector",s,c)