@@ -1,395 +1,397 | |||
|
1 | 1 | # -*- coding: utf-8 -*- |
|
2 | 2 | |
|
3 | 3 | """ |
|
4 | 4 | Module implementing MainWindow. |
|
5 | 5 | """ |
|
6 | 6 | |
|
7 | 7 | from PyQt4.QtGui import QMainWindow |
|
8 | 8 | from PyQt4.QtCore import pyqtSignature |
|
9 | 9 | from PyQt4 import QtCore |
|
10 | 10 | from Ui_MainWindow import Ui_MainWindow |
|
11 | 11 | from PyQt4 import QtGui |
|
12 | 12 | from subprocess import * |
|
13 | 13 | import sys |
|
14 | 14 | import os |
|
15 | 15 | #import subprocess |
|
16 | 16 | import commands |
|
17 | 17 | from functions import functions |
|
18 | 18 | from functions import functions2 |
|
19 | 19 | |
|
20 | 20 | class MainWindow(QMainWindow, Ui_MainWindow): |
|
21 | 21 | """ |
|
22 | 22 | Class documentation goes here. |
|
23 | 23 | """ |
|
24 | 24 | |
|
25 | 25 | def __init__(self, parent = None): |
|
26 | 26 | QMainWindow.__init__(self, parent) |
|
27 | 27 | self.setupUi(self) |
|
28 | 28 | self.setupUi2() |
|
29 | 29 | #sys.stdout = self #redirige salida estandar |
|
30 | 30 | |
|
31 | 31 | def setupUi2(self): |
|
32 | 32 | |
|
33 | 33 | functions2.detect_devices(self) #busca los dispositivos de grabacion |
|
34 | 34 | |
|
35 | 35 | self.var_Discs = 0 #Numero de discos del proyecto |
|
36 | 36 | self.var_Copys = 0 #Numero de copias |
|
37 | 37 | self.var_disc_n = 0 |
|
38 | 38 | self.var_copy_n = 0 |
|
39 | 39 | |
|
40 | 40 | self.var_list=[] |
|
41 | 41 | self.var_sublist=[] |
|
42 | 42 | |
|
43 | 43 | self.var_devices=[] |
|
44 | 44 | |
|
45 | 45 | self.var_step = 0 |
|
46 | 46 | self.bool_state_burning = False |
|
47 | 47 | |
|
48 | 48 | |
|
49 | 49 | #Revisa si existe el archivo de confirguracion |
|
50 | 50 | if os.path.isfile("parameters.conf"): |
|
51 | 51 | self.txtInfo.append("Archivo de configuracion encontrado") |
|
52 | 52 | functions2.get_parameters_conf(self) |
|
53 | 53 | self.txtInfo.append("El proyecto es de "+str(self.var_Discs)+" discos") |
|
54 | 54 | else: |
|
55 | 55 | self.txtInfo.append("Elija los parametros de configuracion") |
|
56 | 56 | functions2.set_parameters_test(self) #Establece ciertos parametros, para pruebas |
|
57 | 57 | |
|
58 | 58 | functions2.set_vars(self) #Carga las variables de la clase con los parametros seleccionados |
|
59 | 59 | |
|
60 | 60 | self.statusDpath = functions.dir_exists(self.var_Dpath, self) |
|
61 | 61 | self.statusRpath = functions.dir_exists(self.var_Rpath, self) |
|
62 | 62 | functions.load_days(self) |
|
63 | 63 | |
|
64 | 64 | if os.path.isfile("parameters.conf"): |
|
65 | 65 | functions2.enabled_items1(True, self) #Se bloquean los parametros de configuracion |
|
66 | 66 | |
|
67 | 67 | |
|
68 | 68 | self.var_process = QtCore.QProcess() |
|
69 | 69 | self.connect(self.var_process, QtCore.SIGNAL('readyReadStandardOutput()'), self.readOuput) |
|
70 | 70 | self.connect(self.var_process, QtCore.SIGNAL('readyReadStandardError()'), self.readError) |
|
71 | 71 | self.connect(self.var_process, QtCore.SIGNAL('finished(int,QProcess::ExitStatus)'), self.finished) |
|
72 | 72 | |
|
73 | 73 | |
|
74 | 74 | def write(self, txt): |
|
75 | 75 | self.txtInfo.append(str(txt)) |
|
76 | 76 | |
|
77 | 77 | |
|
78 | 78 | #----------------------------------------------------- Funciones del proceso --------------------------------------------------------------- |
|
79 | 79 | |
|
80 | 80 | def readOuput(self): |
|
81 | 81 | self.txtSburn.insertPlainText("stdout: " + QtCore.QString(self.var_process.readAllStandardOutput())) |
|
82 | 82 | |
|
83 | 83 | def readError(self): |
|
84 | 84 | self.txtSburn.insertPlainText("stderr: " + QtCore.QString(self.var_process.readAllStandardError())) |
|
85 | 85 | |
|
86 | 86 | def finished(self): |
|
87 | 87 | self.txtInfo.append("proceso terminado finished() "+QtCore.QString(self.var_process.exitCode())) |
|
88 | 88 | if self.var_disc_n <= self.var_Discs and self.bool_state_burning: |
|
89 | 89 | self.burning() |
|
90 | 90 | |
|
91 | 91 | |
|
92 | 92 | #----------------------------------------------------- Obtencion de la ruta de los datos --------------------------------------------------------------- |
|
93 | 93 | |
|
94 | 94 | @pyqtSignature("") |
|
95 | 95 | def on_btnDpath_clicked(self): |
|
96 | 96 | """ |
|
97 | 97 | Permite seleccionar graficamente el direcorio de los datos a grabar |
|
98 | 98 | """ |
|
99 | 99 | self.var_Dpath= str(QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly)) |
|
100 | 100 | self.txtDpath.setText(self.var_Dpath) |
|
101 | 101 | self.statusDpath = functions.dir_exists(self.var_Dpath, self) |
|
102 | 102 | functions.load_days(self) |
|
103 | 103 | |
|
104 | 104 | |
|
105 | 105 | @pyqtSignature("") |
|
106 | 106 | def on_txtDpath_editingFinished(self): |
|
107 | 107 | """ |
|
108 | 108 | Carga la ruta editada y verifica que sea correcta y carga la lista de dias |
|
109 | 109 | """ |
|
110 | 110 | self.var_Dpath=str(self.txtDpath.text()) #Se carga la variable con la ruta recien editada |
|
111 | 111 | self.statusDpath = functions.dir_exists(self.var_Dpath, self) |
|
112 | 112 | functions.load_days(self) |
|
113 | 113 | |
|
114 | 114 | |
|
115 | 115 | #----------------------------------------------------- Obtencion de las ruta del proyecto --------------------------------------------------------------- |
|
116 | 116 | |
|
117 | 117 | @pyqtSignature("") |
|
118 | 118 | def on_btnRpath_clicked(self): |
|
119 | 119 | """ |
|
120 | 120 | Permite seleccionar graficamente el direcorio del proyecto |
|
121 | 121 | """ |
|
122 | 122 | self.var_Rpath = str(QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly)) |
|
123 | 123 | self.txtRpath.setText(self.var_Rpath) |
|
124 | 124 | self.statusRpath = functions.dir_exists(self.var_Rpath, self) |
|
125 | 125 | |
|
126 | 126 | |
|
127 | 127 | @pyqtSignature("") |
|
128 | 128 | def on_txtRpath_editingFinished(self): |
|
129 | 129 | """ |
|
130 | 130 | Valida la ruta del proyecto |
|
131 | 131 | """ |
|
132 | 132 | self.var_Rpath = str(self.txtRpath.text()) #Se carga la variable con la ruta recien editada |
|
133 | 133 | self.statusRpath = functions.dir_exists(self.var_Rpath, self) |
|
134 | 134 | |
|
135 | 135 | |
|
136 | 136 | #----------------------------------------------------- Tipo de datos --------------------------------------------------------------- |
|
137 | 137 | |
|
138 | 138 | @pyqtSignature("int") |
|
139 | 139 | def on_lstDtype_activated(self, index): |
|
140 | 140 | """ |
|
141 | 141 | Permite elegir entre los tipos de archivos |
|
142 | 142 | """ |
|
143 | 143 | self.txtDtype.setReadOnly(True) |
|
144 | 144 | if index == 0: |
|
145 | 145 | self.var_Dtype ='r' |
|
146 | 146 | elif index == 1: |
|
147 | 147 | self.var_Dtype ='pdata' |
|
148 | 148 | elif index == 2: |
|
149 | 149 | self.var_Dtype ='sswma' |
|
150 | 150 | else : |
|
151 | 151 | self.var_Dtype ='' |
|
152 | 152 | self.txtDtype.setReadOnly(False) |
|
153 | 153 | |
|
154 | 154 | self.txtDtype.setText(self.var_Dtype) |
|
155 | 155 | functions.load_days(self) #llamada a funcion |
|
156 | 156 | |
|
157 | 157 | @pyqtSignature("") |
|
158 | 158 | def on_txtDtype_editingFinished(self): |
|
159 | 159 | self.var_Dtype=str(self.txtDtype.text()) |
|
160 | 160 | functions.load_days(self) #llamada a funcion |
|
161 | 161 | |
|
162 | 162 | |
|
163 | 163 | #----------------------------------------------------- Etiqueta --------------------------------------------------------------- |
|
164 | 164 | |
|
165 | 165 | @pyqtSignature("") |
|
166 | 166 | def on_txtElabel_editingFinished(self): |
|
167 | 167 | self.var_Elabel = str(self.txtElabel.text()) |
|
168 | 168 | |
|
169 | 169 | #----------------------------------------------------- Numero de copias --------------------------------------------------------------- |
|
170 | 170 | @pyqtSignature("") |
|
171 | 171 | def on_txtCopys_editingFinished(self): |
|
172 | 172 | self.var_Copys = self.txtCopys.value() |
|
173 | 173 | |
|
174 | 174 | #----------------------------------------------------- Seleccion del rango de fechas --------------------------------------------------------------- |
|
175 | 175 | |
|
176 | 176 | @pyqtSignature("int") #CLOSED |
|
177 | 177 | def on_lstStartDay_activated(self, index): |
|
178 | 178 | """ |
|
179 | 179 | Cambia la lista de opciones en lstStopDay |
|
180 | 180 | """ |
|
181 | 181 | var_StopDay_index=self.lstStopDay.count() - self.lstStopDay.currentIndex() |
|
182 | 182 | self.lstStopDay.clear() |
|
183 | 183 | |
|
184 | 184 | for i in self.var_list[index:]: |
|
185 | 185 | self.lstStopDay.addItem(i) |
|
186 | 186 | |
|
187 | 187 | self.lstStopDay.setCurrentIndex(self.lstStopDay.count() - var_StopDay_index) |
|
188 | 188 | |
|
189 | 189 | functions.get_sub_list(self) |
|
190 | 190 | |
|
191 | 191 | |
|
192 | 192 | @pyqtSignature("int") #CLOSED |
|
193 | 193 | def on_lstStopDay_activated(self, index): |
|
194 | 194 | """ |
|
195 | 195 | Cambia la lista de opciones en lstStartDay |
|
196 | 196 | """ |
|
197 | 197 | var_StartDay_index=self.lstStartDay.currentIndex() |
|
198 | 198 | var_end_index = self.lstStopDay.count() - index |
|
199 | 199 | self.lstStartDay.clear() |
|
200 | 200 | |
|
201 | 201 | for i in self.var_list[:len(self.var_list) - var_end_index + 1]: |
|
202 | 202 | self.lstStartDay.addItem(i) |
|
203 | 203 | |
|
204 | 204 | self.lstStartDay.setCurrentIndex(var_StartDay_index) |
|
205 | 205 | |
|
206 | 206 | functions.get_sub_list(self) |
|
207 | 207 | |
|
208 | 208 | |
|
209 | 209 | #----------------------------------------------------- Capacidad del dispositivo de grabacion --------------------------------------------------------------- |
|
210 | 210 | |
|
211 | 211 | @pyqtSignature("") |
|
212 | 212 | def on_txtDcapacity_editingFinished(self): |
|
213 | 213 | self.var_Dcapacity = self.txtDcapacity.value() |
|
214 | 214 | |
|
215 | 215 | |
|
216 | 216 | @pyqtSignature("int") #CLOSED |
|
217 | 217 | def on_lstDcapacity_activated(self, index): |
|
218 | 218 | """ |
|
219 | 219 | Permite elegir el tamaΓ±o del disco |
|
220 | 220 | """ |
|
221 | 221 | if index == 0: |
|
222 | 222 | var_size=25.0 |
|
223 | 223 | elif index == 1: |
|
224 | 224 | var_size=8.5 |
|
225 | 225 | elif index == 2: |
|
226 | 226 | var_size=4.7 |
|
227 | 227 | elif index == 3: |
|
228 | 228 | var_size=0.7 |
|
229 | 229 | |
|
230 | 230 | if index != 4: |
|
231 | 231 | self.txtDcapacity.setValue(var_size*10**9/1024**2) |
|
232 | 232 | self.txtDcapacity.setReadOnly(True) |
|
233 | 233 | else: |
|
234 | 234 | self.txtDcapacity.setValue(100.0) |
|
235 | 235 | self.txtDcapacity.setReadOnly(False) |
|
236 | 236 | |
|
237 | 237 | self.var_lstDcapacity = self.lstDcapacity.currentIndex() |
|
238 | 238 | self.var_Dcapacity = self.txtDcapacity.value() |
|
239 | 239 | |
|
240 | 240 | |
|
241 | 241 | #============================================================================== |
|
242 | 242 | # Botones para la generacion de los archivos de configuracion y el proceso de grabacion |
|
243 | 243 | #============================================================================== |
|
244 | 244 | |
|
245 | 245 | #----------------------------------------------------- Generacion de la configuracion usando los parametros --------------------------------------------------------------- |
|
246 | 246 | |
|
247 | 247 | @pyqtSignature("") |
|
248 | 248 | def on_btnGbkp_clicked(self): |
|
249 | 249 | """ |
|
250 | 250 | Generacion de archivos de configuracion usando los parametros |
|
251 | 251 | """ |
|
252 | 252 | |
|
253 | 253 | if functions.validate_parameters(self) == False: |
|
254 | 254 | return |
|
255 | 255 | |
|
256 | 256 | #Crea las carpetas en la ruta del proyecto y verifica que se crearon correctamente |
|
257 | 257 | list_dirs=['gpath','iso','ppath'] |
|
258 | 258 | bool_make_dirs = functions.make_dirs(list_dirs, self) |
|
259 | 259 | if bool_make_dirs == False: |
|
260 | 260 | return |
|
261 | 261 | |
|
262 | 262 | var_files_list = functions.list_files(self) #Se obtiene la lista de archivos a grabar |
|
263 | 263 | self.var_Discs = functions.make_files_dat(var_files_list, self) #Se crean los archivos .dat |
|
264 | 264 | functions.make_files_print(self) # Se crean los archivos .print |
|
265 | 265 | functions2.make_parameters_conf(self) # se crea el archivo parameters.conf |
|
266 | 266 | |
|
267 | 267 | #Se bloquean los parametros de configuracion |
|
268 | 268 | functions2.enabled_items1(True, self) |
|
269 | 269 | |
|
270 | 270 | |
|
271 | 271 | |
|
272 | 272 | #----------------------------------------------------- Permite reiniciar la configuracion --------------------------------------------------------------- |
|
273 | 273 | |
|
274 | 274 | @pyqtSignature("") |
|
275 | 275 | def on_btnRestart_clicked(self): |
|
276 | 276 | """ |
|
277 | 277 | Permite que se puedan cambiar los parametros |
|
278 | 278 | """ |
|
279 | 279 | functions2.enabled_items1(False, self) |
|
280 | 280 | os.remove("parameters.conf") |
|
281 | 281 | |
|
282 | 282 | |
|
283 | 283 | #----------------------------------------------------- Iniciar proceso de grabacion --------------------------------------------------------------- |
|
284 | 284 | |
|
285 | 285 | @pyqtSignature("") |
|
286 | 286 | def on_btnStartburn_clicked(self): |
|
287 | 287 | """ |
|
288 | 288 | Se inicia el proceso de grabacion |
|
289 | 289 | """ |
|
290 | 290 | |
|
291 | 291 | #Verifica que exista algun dispositivo de grabacion seleccionado |
|
292 | 292 | if not(functions2.selected_devices(self)): |
|
293 | 293 | self.txtInfo.append("No hay ningun dispositivo de grabacion seleccionado ") |
|
294 | 294 | return |
|
295 | 295 | |
|
296 | 296 | #Lista los dispositivos de grabacion a usar |
|
297 | 297 | for dev in self.var_devices: |
|
298 | 298 | self.txtInfo.append("dispositivo :"+dev) |
|
299 | 299 | |
|
300 | 300 | #Asigna las variables con los valores iniciales |
|
301 | 301 | self.var_disc_n = 0 # numero de disco actual para grabacion |
|
302 | 302 | self.var_copy_n = 0 |
|
303 | 303 | self.var_step = 0 |
|
304 | 304 | self.bool_state_burning = True |
|
305 | 305 | |
|
306 | 306 | functions2.enabled_items2(True, self) |
|
307 | 307 | self.burning() |
|
308 | 308 | |
|
309 | 309 | def burning(self): |
|
310 | 310 | |
|
311 | 311 | var_Rpath_ppath=self.var_Rpath+"/ppath" |
|
312 | 312 | var_Rpath_iso=self.var_Rpath+"/iso" |
|
313 | 313 | file_iso=var_Rpath_iso+"/"+functions.i2s(self.var_disc_n)+".iso" |
|
314 | 314 | |
|
315 | 315 | #Creacion del archivo.iso para la grabacion |
|
316 | 316 | if self.var_step == 0: |
|
317 | ||
|
317 | 318 | self.var_disc_n += 1 # numero de disco actual para grabacion |
|
318 | self.txtInfo.append("Creando el iso del disco numero: "+self.var_disc_n) | |
|
319 | 319 | |
|
320 | 320 | #Si ya se grabaron todos los discos |
|
321 | 321 | if self.var_disc_n > self.var_Discs: |
|
322 | 322 | self.bool_state_burning = False |
|
323 | 323 | self.txtInfo.append("GRABACION TERMINADA") |
|
324 | 324 | return |
|
325 | 325 | |
|
326 | self.txtInfo.append("Creando el iso del disco numero: "+str(self.var_disc_n)) | |
|
327 | ||
|
326 | 328 | #comando para la creacion del archivo.iso |
|
327 | 329 | file_dat=var_Rpath_ppath+"/"+self.var_Elabel+"_"+functions.i2s(self.var_disc_n)+".dat" |
|
328 | 330 | var_cmd = 'genisoimage -hide-joliet-trans-tbl -joliet-long -r ' |
|
329 | 331 | var_cmd += ' -A '+self.var_Elabel+' -V '+self.var_Elabel |
|
330 | 332 | var_cmd += ' -graft-points -path-list '+ file_dat+' -o '+file_iso |
|
331 | 333 | self.var_step = 1 #Se ira al paso de la grabacion en la siguiente llamada |
|
332 | 334 | |
|
333 | 335 | #Grabacion de los DVDs |
|
334 | 336 | elif self.var_step == 1: |
|
335 | 337 | self.var_copy_n += 1 # numero de copia actual |
|
336 |
self.txtInfo.append("Grabando la copia numero: "+self.var_copy_n) |
|
|
338 | self.txtInfo.append("Grabando la copia numero: "+str(self.var_copy_n)) | |
|
337 | 339 | |
|
338 | 340 | #Si esta es la ultima copia se pasara al siguiente disco en la siguiente llamada a la funcion |
|
339 | 341 | if self.var_copy_n == self.var_Copys: |
|
340 | 342 | self.var_step = 0 |
|
341 | 343 | |
|
342 | 344 | var_index = (((self.var_disc_n - 1) * self.var_Discs) + self.var_copy_n) % len(self.var_devices) |
|
343 | 345 | |
|
344 | 346 | if var_index == 0: |
|
345 | 347 | self.txtInfo.append("EXPULSANDO BANDEJAS") |
|
346 | 348 | |
|
347 | 349 | var_dev_tmp=self.var_devices[var_index] |
|
348 | 350 | var_cmd = "wodim -v dev="+var_dev_tmp+" speed=16 "+ file_iso |
|
349 | 351 | |
|
350 | 352 | |
|
351 | 353 | self.var_process.start('ls') |
|
352 | 354 | self.txtInfo.append(var_cmd) |
|
353 | 355 | |
|
354 | 356 | # self.txtInfo.append("creando iso") |
|
355 | 357 | # self.var_process.start(var_cmd) |
|
356 | 358 | |
|
357 | 359 | |
|
358 | 360 | #----------------------------------------------------- Detener proceso de grabacion --------------------------------------------------------------- |
|
359 | 361 | |
|
360 | 362 | @pyqtSignature("") |
|
361 | 363 | def on_btnStopburn_clicked(self): |
|
362 | 364 | """ |
|
363 | 365 | Slot documentation goes here. |
|
364 | 366 | """ |
|
365 | 367 | self.bool_state_burning = False |
|
366 | 368 | self.var_process.terminate() #Termina el proceso, si puede |
|
367 | 369 | # self.var_process.kill() #Mata el proceso, no es la forma adecuada |
|
368 | 370 | functions2.enabled_items2(False, self) |
|
369 | 371 | |
|
370 | 372 | |
|
371 | 373 | #----------------------------------------------------- Testeo de las unidades de grabacion --------------------------------------------------------------- |
|
372 | 374 | |
|
373 | 375 | @pyqtSignature("") |
|
374 | 376 | def on_btnTdevA_clicked(self): |
|
375 | 377 | var_dev = str(self.txtDeviceA.text()) |
|
376 | 378 | var_cmd = 'eject ' + var_dev + '; eject -t ' + var_dev |
|
377 | 379 | commands.getstatusoutput(var_cmd) |
|
378 | 380 | |
|
379 | 381 | @pyqtSignature("") |
|
380 | 382 | def on_btnTdevB_clicked(self): |
|
381 | 383 | var_dev = str(self.txtDeviceB.text()) |
|
382 | 384 | var_cmd = 'eject ' + var_dev + '; eject -t ' + var_dev |
|
383 | 385 | commands.getstatusoutput(var_cmd) |
|
384 | 386 | |
|
385 | 387 | @pyqtSignature("") |
|
386 | 388 | def on_btnTdevC_clicked(self): |
|
387 | 389 | var_dev = str(self.txtDeviceC.text()) |
|
388 | 390 | var_cmd = 'eject ' + var_dev + '; eject -t ' + var_dev |
|
389 | 391 | commands.getstatusoutput(var_cmd) |
|
390 | 392 | |
|
391 | 393 | @pyqtSignature("") |
|
392 | 394 | def on_btnTdevD_clicked(self): |
|
393 | 395 | var_dev = str(self.txtDeviceD.text()) |
|
394 | 396 | var_cmd = 'eject ' + var_dev + '; eject -t ' + var_dev |
|
395 | 397 | commands.getstatusoutput(var_cmd) |
@@ -1,1019 +1,1022 | |||
|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|
2 | 2 | <ui version="4.0"> |
|
3 | 3 | <class>MainWindow</class> |
|
4 | 4 | <widget class="QMainWindow" name="MainWindow"> |
|
5 | 5 | <property name="geometry"> |
|
6 | 6 | <rect> |
|
7 | 7 | <x>0</x> |
|
8 | 8 | <y>0</y> |
|
9 | 9 | <width>809</width> |
|
10 | 10 | <height>737</height> |
|
11 | 11 | </rect> |
|
12 | 12 | </property> |
|
13 | 13 | <property name="windowTitle"> |
|
14 | 14 | <string>JRO BACKUP MANAGER</string> |
|
15 | 15 | </property> |
|
16 | 16 | <widget class="QWidget" name="centralwidget"> |
|
17 | 17 | <layout class="QVBoxLayout" name="verticalLayout"> |
|
18 | 18 | <item> |
|
19 | 19 | <widget class="QTabWidget" name="tabWidget"> |
|
20 | 20 | <property name="enabled"> |
|
21 | 21 | <bool>true</bool> |
|
22 | 22 | </property> |
|
23 | 23 | <property name="sizePolicy"> |
|
24 | 24 | <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> |
|
25 | 25 | <horstretch>0</horstretch> |
|
26 | 26 | <verstretch>0</verstretch> |
|
27 | 27 | </sizepolicy> |
|
28 | 28 | </property> |
|
29 | 29 | <property name="currentIndex"> |
|
30 | 30 | <number>0</number> |
|
31 | 31 | </property> |
|
32 | 32 | <widget class="QWidget" name="tabParameters"> |
|
33 | 33 | <property name="enabled"> |
|
34 | 34 | <bool>true</bool> |
|
35 | 35 | </property> |
|
36 | 36 | <attribute name="title"> |
|
37 | 37 | <string>Parameters</string> |
|
38 | 38 | </attribute> |
|
39 | 39 | <layout class="QVBoxLayout" name="verticalLayout_2"> |
|
40 | 40 | <item> |
|
41 | 41 | <layout class="QHBoxLayout" name="horizontalLayout"> |
|
42 | 42 | <property name="sizeConstraint"> |
|
43 | 43 | <enum>QLayout::SetDefaultConstraint</enum> |
|
44 | 44 | </property> |
|
45 | 45 | <item> |
|
46 | 46 | <widget class="QLineEdit" name="txtDpath"> |
|
47 | 47 | <property name="sizePolicy"> |
|
48 | 48 | <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> |
|
49 | 49 | <horstretch>0</horstretch> |
|
50 | 50 | <verstretch>0</verstretch> |
|
51 | 51 | </sizepolicy> |
|
52 | 52 | </property> |
|
53 | 53 | </widget> |
|
54 | 54 | </item> |
|
55 | 55 | <item> |
|
56 | 56 | <widget class="QPushButton" name="btnDpath"> |
|
57 | 57 | <property name="sizePolicy"> |
|
58 | 58 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
|
59 | 59 | <horstretch>0</horstretch> |
|
60 | 60 | <verstretch>0</verstretch> |
|
61 | 61 | </sizepolicy> |
|
62 | 62 | </property> |
|
63 | 63 | <property name="text"> |
|
64 | 64 | <string>Data Path</string> |
|
65 | 65 | </property> |
|
66 | 66 | <property name="checkable"> |
|
67 | 67 | <bool>false</bool> |
|
68 | 68 | </property> |
|
69 | 69 | </widget> |
|
70 | 70 | </item> |
|
71 | 71 | </layout> |
|
72 | 72 | </item> |
|
73 | 73 | <item> |
|
74 | 74 | <layout class="QHBoxLayout" name="horizontalLayout_3"> |
|
75 | 75 | <item> |
|
76 | 76 | <widget class="QLineEdit" name="txtRpath"/> |
|
77 | 77 | </item> |
|
78 | 78 | <item> |
|
79 | 79 | <widget class="QPushButton" name="btnRpath"> |
|
80 | 80 | <property name="text"> |
|
81 | 81 | <string>Resource Path</string> |
|
82 | 82 | </property> |
|
83 | 83 | </widget> |
|
84 | 84 | </item> |
|
85 | 85 | </layout> |
|
86 | 86 | </item> |
|
87 | 87 | <item> |
|
88 | 88 | <widget class="QLabel" name="lblDtype"> |
|
89 | 89 | <property name="text"> |
|
90 | 90 | <string>Data Type</string> |
|
91 | 91 | </property> |
|
92 | 92 | </widget> |
|
93 | 93 | </item> |
|
94 | 94 | <item> |
|
95 | 95 | <layout class="QHBoxLayout" name="horizontalLayout_4"> |
|
96 | 96 | <item> |
|
97 | 97 | <widget class="QComboBox" name="lstDtype"> |
|
98 | 98 | <item> |
|
99 | 99 | <property name="text"> |
|
100 | 100 | <string>Raw Data</string> |
|
101 | 101 | </property> |
|
102 | 102 | </item> |
|
103 | 103 | <item> |
|
104 | 104 | <property name="text"> |
|
105 | 105 | <string>Process Data</string> |
|
106 | 106 | </property> |
|
107 | 107 | </item> |
|
108 | 108 | <item> |
|
109 | 109 | <property name="text"> |
|
110 | 110 | <string>BLTR Data</string> |
|
111 | 111 | </property> |
|
112 | 112 | </item> |
|
113 | 113 | <item> |
|
114 | 114 | <property name="text"> |
|
115 | 115 | <string>Other</string> |
|
116 | 116 | </property> |
|
117 | 117 | </item> |
|
118 | 118 | </widget> |
|
119 | 119 | </item> |
|
120 | 120 | <item> |
|
121 | 121 | <widget class="QLineEdit" name="txtDtype"> |
|
122 | 122 | <property name="text"> |
|
123 | 123 | <string>r</string> |
|
124 | 124 | </property> |
|
125 | 125 | <property name="readOnly"> |
|
126 | 126 | <bool>true</bool> |
|
127 | 127 | </property> |
|
128 | 128 | </widget> |
|
129 | 129 | </item> |
|
130 | 130 | <item> |
|
131 | 131 | <widget class="QCheckBox" name="chkMST"> |
|
132 | 132 | <property name="text"> |
|
133 | 133 | <string>MST-ISR Data</string> |
|
134 | 134 | </property> |
|
135 | 135 | </widget> |
|
136 | 136 | </item> |
|
137 | 137 | </layout> |
|
138 | 138 | </item> |
|
139 | 139 | <item> |
|
140 | 140 | <layout class="QHBoxLayout" name="horizontalLayout_6"> |
|
141 | 141 | <item> |
|
142 | 142 | <widget class="QLabel" name="lblElabel"> |
|
143 | 143 | <property name="text"> |
|
144 | 144 | <string>Exp. Label at device</string> |
|
145 | 145 | </property> |
|
146 | 146 | </widget> |
|
147 | 147 | </item> |
|
148 | 148 | <item> |
|
149 | 149 | <widget class="QLabel" name="lblCopys"> |
|
150 | 150 | <property name="text"> |
|
151 | 151 | <string>Copys</string> |
|
152 | 152 | </property> |
|
153 | 153 | </widget> |
|
154 | 154 | </item> |
|
155 | 155 | </layout> |
|
156 | 156 | </item> |
|
157 | 157 | <item> |
|
158 | 158 | <layout class="QHBoxLayout" name="horizontalLayout_5"> |
|
159 | 159 | <item> |
|
160 | 160 | <widget class="QLineEdit" name="txtElabel"/> |
|
161 | 161 | </item> |
|
162 | 162 | <item> |
|
163 | 163 | <widget class="QSpinBox" name="txtCopys"> |
|
164 | 164 | <property name="sizePolicy"> |
|
165 | 165 | <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
166 | 166 | <horstretch>0</horstretch> |
|
167 | 167 | <verstretch>0</verstretch> |
|
168 | 168 | </sizepolicy> |
|
169 | </property> | |
|
170 | <property name="minimum"> | |
|
171 | <number>1</number> | |
|
169 | 172 | </property> |
|
170 | 173 | </widget> |
|
171 | 174 | </item> |
|
172 | 175 | </layout> |
|
173 | 176 | </item> |
|
174 | 177 | <item> |
|
175 | 178 | <layout class="QHBoxLayout" name="horizontalLayout_7"> |
|
176 | 179 | <item> |
|
177 | 180 | <widget class="QLabel" name="lblStartDay"> |
|
178 | 181 | <property name="text"> |
|
179 | 182 | <string>Start Day:</string> |
|
180 | 183 | </property> |
|
181 | 184 | </widget> |
|
182 | 185 | </item> |
|
183 | 186 | <item> |
|
184 | 187 | <widget class="QLabel" name="lblStopDay"> |
|
185 | 188 | <property name="text"> |
|
186 | 189 | <string>Stop Day:</string> |
|
187 | 190 | </property> |
|
188 | 191 | </widget> |
|
189 | 192 | </item> |
|
190 | 193 | </layout> |
|
191 | 194 | </item> |
|
192 | 195 | <item> |
|
193 | 196 | <layout class="QHBoxLayout" name="horizontalLayout_8"> |
|
194 | 197 | <item> |
|
195 | 198 | <widget class="QComboBox" name="lstStartDay"/> |
|
196 | 199 | </item> |
|
197 | 200 | <item> |
|
198 | 201 | <widget class="QComboBox" name="lstStopDay"/> |
|
199 | 202 | </item> |
|
200 | 203 | </layout> |
|
201 | 204 | </item> |
|
202 | 205 | </layout> |
|
203 | 206 | </widget> |
|
204 | 207 | <widget class="QWidget" name="tabDconfig"> |
|
205 | 208 | <property name="enabled"> |
|
206 | 209 | <bool>true</bool> |
|
207 | 210 | </property> |
|
208 | 211 | <property name="sizePolicy"> |
|
209 | 212 | <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> |
|
210 | 213 | <horstretch>0</horstretch> |
|
211 | 214 | <verstretch>0</verstretch> |
|
212 | 215 | </sizepolicy> |
|
213 | 216 | </property> |
|
214 | 217 | <attribute name="title"> |
|
215 | 218 | <string>Device Config.</string> |
|
216 | 219 | </attribute> |
|
217 | 220 | <layout class="QVBoxLayout" name="verticalLayout_3"> |
|
218 | 221 | <item> |
|
219 | 222 | <layout class="QGridLayout" name="gridLayout"> |
|
220 | 223 | <item row="0" column="0"> |
|
221 | 224 | <layout class="QVBoxLayout" name="verticalLayout_15"> |
|
222 | 225 | <item> |
|
223 | 226 | <widget class="QCheckBox" name="chkDevA"> |
|
224 | 227 | <property name="text"> |
|
225 | 228 | <string>Dev A</string> |
|
226 | 229 | </property> |
|
227 | 230 | <property name="checked"> |
|
228 | 231 | <bool>true</bool> |
|
229 | 232 | </property> |
|
230 | 233 | </widget> |
|
231 | 234 | </item> |
|
232 | 235 | <item> |
|
233 | 236 | <widget class="QWidget" name="grpDevA" native="true"> |
|
234 | 237 | <layout class="QVBoxLayout" name="verticalLayout_11"> |
|
235 | 238 | <item> |
|
236 | 239 | <widget class="QLineEdit" name="txtDeviceA"/> |
|
237 | 240 | </item> |
|
238 | 241 | <item> |
|
239 | 242 | <widget class="QLineEdit" name="txtBspeedA"> |
|
240 | 243 | <property name="text"> |
|
241 | 244 | <string>16</string> |
|
242 | 245 | </property> |
|
243 | 246 | </widget> |
|
244 | 247 | </item> |
|
245 | 248 | <item> |
|
246 | 249 | <widget class="QLineEdit" name="txtBmodeA"> |
|
247 | 250 | <property name="text"> |
|
248 | 251 | <string>-sao</string> |
|
249 | 252 | </property> |
|
250 | 253 | </widget> |
|
251 | 254 | </item> |
|
252 | 255 | <item> |
|
253 | 256 | <widget class="QPushButton" name="btnTdevA"> |
|
254 | 257 | <property name="text"> |
|
255 | 258 | <string>Test DevA</string> |
|
256 | 259 | </property> |
|
257 | 260 | </widget> |
|
258 | 261 | </item> |
|
259 | 262 | </layout> |
|
260 | 263 | </widget> |
|
261 | 264 | </item> |
|
262 | 265 | </layout> |
|
263 | 266 | </item> |
|
264 | 267 | <item row="0" column="1"> |
|
265 | 268 | <layout class="QVBoxLayout" name="verticalLayout_16"> |
|
266 | 269 | <item> |
|
267 | 270 | <widget class="QCheckBox" name="chkDevB"> |
|
268 | 271 | <property name="text"> |
|
269 | 272 | <string>Dev B</string> |
|
270 | 273 | </property> |
|
271 | 274 | <property name="checked"> |
|
272 | 275 | <bool>true</bool> |
|
273 | 276 | </property> |
|
274 | 277 | </widget> |
|
275 | 278 | </item> |
|
276 | 279 | <item> |
|
277 | 280 | <widget class="QWidget" name="grpDevB" native="true"> |
|
278 | 281 | <layout class="QVBoxLayout" name="verticalLayout_12"> |
|
279 | 282 | <item> |
|
280 | 283 | <widget class="QLineEdit" name="txtDeviceB"/> |
|
281 | 284 | </item> |
|
282 | 285 | <item> |
|
283 | 286 | <widget class="QLineEdit" name="txtBspeedB"> |
|
284 | 287 | <property name="text"> |
|
285 | 288 | <string>16</string> |
|
286 | 289 | </property> |
|
287 | 290 | </widget> |
|
288 | 291 | </item> |
|
289 | 292 | <item> |
|
290 | 293 | <widget class="QLineEdit" name="txtBmodeB"> |
|
291 | 294 | <property name="text"> |
|
292 | 295 | <string>-sao</string> |
|
293 | 296 | </property> |
|
294 | 297 | </widget> |
|
295 | 298 | </item> |
|
296 | 299 | <item> |
|
297 | 300 | <widget class="QPushButton" name="btnTdevB"> |
|
298 | 301 | <property name="text"> |
|
299 | 302 | <string>Test DevB</string> |
|
300 | 303 | </property> |
|
301 | 304 | </widget> |
|
302 | 305 | </item> |
|
303 | 306 | </layout> |
|
304 | 307 | </widget> |
|
305 | 308 | </item> |
|
306 | 309 | </layout> |
|
307 | 310 | </item> |
|
308 | 311 | <item row="0" column="2"> |
|
309 | 312 | <layout class="QVBoxLayout" name="verticalLayout_17"> |
|
310 | 313 | <item> |
|
311 | 314 | <widget class="QCheckBox" name="chkDevC"> |
|
312 | 315 | <property name="text"> |
|
313 | 316 | <string>Dev C</string> |
|
314 | 317 | </property> |
|
315 | 318 | <property name="checked"> |
|
316 | 319 | <bool>true</bool> |
|
317 | 320 | </property> |
|
318 | 321 | </widget> |
|
319 | 322 | </item> |
|
320 | 323 | <item> |
|
321 | 324 | <widget class="QWidget" name="grpDevC" native="true"> |
|
322 | 325 | <layout class="QVBoxLayout" name="verticalLayout_13"> |
|
323 | 326 | <item> |
|
324 | 327 | <widget class="QLineEdit" name="txtDeviceC"/> |
|
325 | 328 | </item> |
|
326 | 329 | <item> |
|
327 | 330 | <widget class="QLineEdit" name="txtBspeedC"> |
|
328 | 331 | <property name="text"> |
|
329 | 332 | <string>16</string> |
|
330 | 333 | </property> |
|
331 | 334 | </widget> |
|
332 | 335 | </item> |
|
333 | 336 | <item> |
|
334 | 337 | <widget class="QLineEdit" name="txtBmodeC"> |
|
335 | 338 | <property name="text"> |
|
336 | 339 | <string>-sao</string> |
|
337 | 340 | </property> |
|
338 | 341 | </widget> |
|
339 | 342 | </item> |
|
340 | 343 | <item> |
|
341 | 344 | <widget class="QPushButton" name="btnTdevC"> |
|
342 | 345 | <property name="text"> |
|
343 | 346 | <string>Test DevC</string> |
|
344 | 347 | </property> |
|
345 | 348 | </widget> |
|
346 | 349 | </item> |
|
347 | 350 | </layout> |
|
348 | 351 | </widget> |
|
349 | 352 | </item> |
|
350 | 353 | </layout> |
|
351 | 354 | </item> |
|
352 | 355 | <item row="0" column="3"> |
|
353 | 356 | <layout class="QVBoxLayout" name="verticalLayout_18"> |
|
354 | 357 | <item> |
|
355 | 358 | <widget class="QCheckBox" name="chkDevD"> |
|
356 | 359 | <property name="text"> |
|
357 | 360 | <string>Dev D</string> |
|
358 | 361 | </property> |
|
359 | 362 | <property name="checked"> |
|
360 | 363 | <bool>true</bool> |
|
361 | 364 | </property> |
|
362 | 365 | </widget> |
|
363 | 366 | </item> |
|
364 | 367 | <item> |
|
365 | 368 | <widget class="QWidget" name="grpDevD" native="true"> |
|
366 | 369 | <layout class="QVBoxLayout" name="verticalLayout_14"> |
|
367 | 370 | <item> |
|
368 | 371 | <widget class="QLineEdit" name="txtDeviceD"/> |
|
369 | 372 | </item> |
|
370 | 373 | <item> |
|
371 | 374 | <widget class="QLineEdit" name="txtBspeedD"> |
|
372 | 375 | <property name="text"> |
|
373 | 376 | <string>16</string> |
|
374 | 377 | </property> |
|
375 | 378 | </widget> |
|
376 | 379 | </item> |
|
377 | 380 | <item> |
|
378 | 381 | <widget class="QLineEdit" name="txtBmodeD"> |
|
379 | 382 | <property name="text"> |
|
380 | 383 | <string>-sao</string> |
|
381 | 384 | </property> |
|
382 | 385 | </widget> |
|
383 | 386 | </item> |
|
384 | 387 | <item> |
|
385 | 388 | <widget class="QPushButton" name="btnTdevD"> |
|
386 | 389 | <property name="text"> |
|
387 | 390 | <string>Test DevD</string> |
|
388 | 391 | </property> |
|
389 | 392 | </widget> |
|
390 | 393 | </item> |
|
391 | 394 | </layout> |
|
392 | 395 | </widget> |
|
393 | 396 | </item> |
|
394 | 397 | </layout> |
|
395 | 398 | </item> |
|
396 | 399 | <item row="0" column="4"> |
|
397 | 400 | <layout class="QVBoxLayout" name="verticalLayout_19"> |
|
398 | 401 | <item> |
|
399 | 402 | <widget class="QLabel" name="label_2"> |
|
400 | 403 | <property name="text"> |
|
401 | 404 | <string/> |
|
402 | 405 | </property> |
|
403 | 406 | </widget> |
|
404 | 407 | </item> |
|
405 | 408 | <item> |
|
406 | 409 | <widget class="QLabel" name="lblDevice"> |
|
407 | 410 | <property name="text"> |
|
408 | 411 | <string>Device</string> |
|
409 | 412 | </property> |
|
410 | 413 | </widget> |
|
411 | 414 | </item> |
|
412 | 415 | <item> |
|
413 | 416 | <widget class="QLabel" name="lblBspeed"> |
|
414 | 417 | <property name="text"> |
|
415 | 418 | <string>Burn Speed</string> |
|
416 | 419 | </property> |
|
417 | 420 | </widget> |
|
418 | 421 | </item> |
|
419 | 422 | <item> |
|
420 | 423 | <widget class="QLabel" name="lblBmode"> |
|
421 | 424 | <property name="text"> |
|
422 | 425 | <string>Burn Mode</string> |
|
423 | 426 | </property> |
|
424 | 427 | </widget> |
|
425 | 428 | </item> |
|
426 | 429 | <item> |
|
427 | 430 | <widget class="QLabel" name="label"> |
|
428 | 431 | <property name="text"> |
|
429 | 432 | <string/> |
|
430 | 433 | </property> |
|
431 | 434 | </widget> |
|
432 | 435 | </item> |
|
433 | 436 | </layout> |
|
434 | 437 | </item> |
|
435 | 438 | </layout> |
|
436 | 439 | </item> |
|
437 | 440 | <item> |
|
438 | 441 | <layout class="QHBoxLayout" name="horizontalLayout_9"> |
|
439 | 442 | <property name="sizeConstraint"> |
|
440 | 443 | <enum>QLayout::SetFixedSize</enum> |
|
441 | 444 | </property> |
|
442 | 445 | <item> |
|
443 | 446 | <widget class="QLabel" name="lblBprocess"> |
|
444 | 447 | <property name="sizePolicy"> |
|
445 | 448 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
|
446 | 449 | <horstretch>0</horstretch> |
|
447 | 450 | <verstretch>0</verstretch> |
|
448 | 451 | </sizepolicy> |
|
449 | 452 | </property> |
|
450 | 453 | <property name="text"> |
|
451 | 454 | <string>Burning process</string> |
|
452 | 455 | </property> |
|
453 | 456 | </widget> |
|
454 | 457 | </item> |
|
455 | 458 | <item> |
|
456 | 459 | <widget class="QCheckBox" name="chkSimultaneously"> |
|
457 | 460 | <property name="sizePolicy"> |
|
458 | 461 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
|
459 | 462 | <horstretch>0</horstretch> |
|
460 | 463 | <verstretch>0</verstretch> |
|
461 | 464 | </sizepolicy> |
|
462 | 465 | </property> |
|
463 | 466 | <property name="text"> |
|
464 | 467 | <string>Simultaneously</string> |
|
465 | 468 | </property> |
|
466 | 469 | </widget> |
|
467 | 470 | </item> |
|
468 | 471 | <item> |
|
469 | 472 | <widget class="QCheckBox" name="chkSequentially"> |
|
470 | 473 | <property name="sizePolicy"> |
|
471 | 474 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
|
472 | 475 | <horstretch>0</horstretch> |
|
473 | 476 | <verstretch>0</verstretch> |
|
474 | 477 | </sizepolicy> |
|
475 | 478 | </property> |
|
476 | 479 | <property name="text"> |
|
477 | 480 | <string>Sequentially</string> |
|
478 | 481 | </property> |
|
479 | 482 | <property name="checked"> |
|
480 | 483 | <bool>true</bool> |
|
481 | 484 | </property> |
|
482 | 485 | </widget> |
|
483 | 486 | </item> |
|
484 | 487 | </layout> |
|
485 | 488 | </item> |
|
486 | 489 | <item> |
|
487 | 490 | <layout class="QHBoxLayout" name="horizontalLayout_11"> |
|
488 | 491 | <property name="spacing"> |
|
489 | 492 | <number>6</number> |
|
490 | 493 | </property> |
|
491 | 494 | <property name="sizeConstraint"> |
|
492 | 495 | <enum>QLayout::SetDefaultConstraint</enum> |
|
493 | 496 | </property> |
|
494 | 497 | <item> |
|
495 | 498 | <widget class="QLabel" name="lblDcapacity"> |
|
496 | 499 | <property name="sizePolicy"> |
|
497 | 500 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
|
498 | 501 | <horstretch>0</horstretch> |
|
499 | 502 | <verstretch>0</verstretch> |
|
500 | 503 | </sizepolicy> |
|
501 | 504 | </property> |
|
502 | 505 | <property name="text"> |
|
503 | 506 | <string>Device Capacity (MB)</string> |
|
504 | 507 | </property> |
|
505 | 508 | </widget> |
|
506 | 509 | </item> |
|
507 | 510 | <item> |
|
508 | 511 | <widget class="QCheckBox" name="chkSalert"> |
|
509 | 512 | <property name="sizePolicy"> |
|
510 | 513 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
|
511 | 514 | <horstretch>0</horstretch> |
|
512 | 515 | <verstretch>0</verstretch> |
|
513 | 516 | </sizepolicy> |
|
514 | 517 | </property> |
|
515 | 518 | <property name="text"> |
|
516 | 519 | <string>Sound Alert</string> |
|
517 | 520 | </property> |
|
518 | 521 | </widget> |
|
519 | 522 | </item> |
|
520 | 523 | </layout> |
|
521 | 524 | </item> |
|
522 | 525 | <item> |
|
523 | 526 | <layout class="QHBoxLayout" name="horizontalLayout_10"> |
|
524 | 527 | <property name="sizeConstraint"> |
|
525 | 528 | <enum>QLayout::SetFixedSize</enum> |
|
526 | 529 | </property> |
|
527 | 530 | <item> |
|
528 | 531 | <widget class="QComboBox" name="lstDcapacity"> |
|
529 | 532 | <property name="currentIndex"> |
|
530 | 533 | <number>2</number> |
|
531 | 534 | </property> |
|
532 | 535 | <item> |
|
533 | 536 | <property name="text"> |
|
534 | 537 | <string>BluRay [25.0 GB]</string> |
|
535 | 538 | </property> |
|
536 | 539 | </item> |
|
537 | 540 | <item> |
|
538 | 541 | <property name="text"> |
|
539 | 542 | <string>DVD2 [8.5 GB]</string> |
|
540 | 543 | </property> |
|
541 | 544 | </item> |
|
542 | 545 | <item> |
|
543 | 546 | <property name="text"> |
|
544 | 547 | <string>DVD1 [4.7 GB]</string> |
|
545 | 548 | </property> |
|
546 | 549 | </item> |
|
547 | 550 | <item> |
|
548 | 551 | <property name="text"> |
|
549 | 552 | <string>CD [0.7 GB]</string> |
|
550 | 553 | </property> |
|
551 | 554 | </item> |
|
552 | 555 | <item> |
|
553 | 556 | <property name="text"> |
|
554 | 557 | <string>Other [? GB]</string> |
|
555 | 558 | </property> |
|
556 | 559 | </item> |
|
557 | 560 | </widget> |
|
558 | 561 | </item> |
|
559 | 562 | <item> |
|
560 | 563 | <widget class="QDoubleSpinBox" name="txtDcapacity"> |
|
561 | 564 | <property name="sizePolicy"> |
|
562 | 565 | <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
563 | 566 | <horstretch>0</horstretch> |
|
564 | 567 | <verstretch>0</verstretch> |
|
565 | 568 | </sizepolicy> |
|
566 | 569 | </property> |
|
567 | 570 | <property name="readOnly"> |
|
568 | 571 | <bool>true</bool> |
|
569 | 572 | </property> |
|
570 | 573 | <property name="minimum"> |
|
571 | 574 | <double>100.000000000000000</double> |
|
572 | 575 | </property> |
|
573 | 576 | <property name="maximum"> |
|
574 | 577 | <double>99999.990000000005239</double> |
|
575 | 578 | </property> |
|
576 | 579 | <property name="value"> |
|
577 | 580 | <double>4482.270000000000437</double> |
|
578 | 581 | </property> |
|
579 | 582 | </widget> |
|
580 | 583 | </item> |
|
581 | 584 | <item> |
|
582 | 585 | <widget class="QCheckBox" name="chkPSgraphic"> |
|
583 | 586 | <property name="text"> |
|
584 | 587 | <string>PS Graphic</string> |
|
585 | 588 | </property> |
|
586 | 589 | </widget> |
|
587 | 590 | </item> |
|
588 | 591 | <item> |
|
589 | 592 | <widget class="QLineEdit" name="lineEdit_17"/> |
|
590 | 593 | </item> |
|
591 | 594 | </layout> |
|
592 | 595 | </item> |
|
593 | 596 | </layout> |
|
594 | 597 | </widget> |
|
595 | 598 | <widget class="QWidget" name="tabSburn"> |
|
596 | 599 | <attribute name="title"> |
|
597 | 600 | <string>Status Burn</string> |
|
598 | 601 | </attribute> |
|
599 | 602 | <layout class="QVBoxLayout" name="verticalLayout_4"> |
|
600 | 603 | <item> |
|
601 | 604 | <widget class="QWidget" name="widget_2" native="true"> |
|
602 | 605 | <property name="sizePolicy"> |
|
603 | 606 | <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> |
|
604 | 607 | <horstretch>0</horstretch> |
|
605 | 608 | <verstretch>0</verstretch> |
|
606 | 609 | </sizepolicy> |
|
607 | 610 | </property> |
|
608 | 611 | <property name="maximumSize"> |
|
609 | 612 | <size> |
|
610 | 613 | <width>500</width> |
|
611 | 614 | <height>16777215</height> |
|
612 | 615 | </size> |
|
613 | 616 | </property> |
|
614 | 617 | <layout class="QGridLayout" name="gridLayout_2"> |
|
615 | 618 | <item row="3" column="2"> |
|
616 | 619 | <widget class="QLineEdit" name="txtSTATUSb"> |
|
617 | 620 | <property name="readOnly"> |
|
618 | 621 | <bool>true</bool> |
|
619 | 622 | </property> |
|
620 | 623 | </widget> |
|
621 | 624 | </item> |
|
622 | 625 | <item row="5" column="1"> |
|
623 | 626 | <widget class="QLineEdit" name="txtINFOa"> |
|
624 | 627 | <property name="readOnly"> |
|
625 | 628 | <bool>true</bool> |
|
626 | 629 | </property> |
|
627 | 630 | </widget> |
|
628 | 631 | </item> |
|
629 | 632 | <item row="3" column="1"> |
|
630 | 633 | <widget class="QLineEdit" name="txtSTATUSa"> |
|
631 | 634 | <property name="readOnly"> |
|
632 | 635 | <bool>true</bool> |
|
633 | 636 | </property> |
|
634 | 637 | </widget> |
|
635 | 638 | </item> |
|
636 | 639 | <item row="5" column="2"> |
|
637 | 640 | <widget class="QLineEdit" name="txtINFOb"> |
|
638 | 641 | <property name="readOnly"> |
|
639 | 642 | <bool>true</bool> |
|
640 | 643 | </property> |
|
641 | 644 | </widget> |
|
642 | 645 | </item> |
|
643 | 646 | <item row="3" column="3"> |
|
644 | 647 | <widget class="QLineEdit" name="txtSTATUSc"> |
|
645 | 648 | <property name="readOnly"> |
|
646 | 649 | <bool>true</bool> |
|
647 | 650 | </property> |
|
648 | 651 | </widget> |
|
649 | 652 | </item> |
|
650 | 653 | <item row="3" column="4"> |
|
651 | 654 | <widget class="QLineEdit" name="txtSTATUSd"> |
|
652 | 655 | <property name="readOnly"> |
|
653 | 656 | <bool>true</bool> |
|
654 | 657 | </property> |
|
655 | 658 | </widget> |
|
656 | 659 | </item> |
|
657 | 660 | <item row="5" column="4"> |
|
658 | 661 | <widget class="QLineEdit" name="txtINFOd"> |
|
659 | 662 | <property name="readOnly"> |
|
660 | 663 | <bool>true</bool> |
|
661 | 664 | </property> |
|
662 | 665 | </widget> |
|
663 | 666 | </item> |
|
664 | 667 | <item row="6" column="1"> |
|
665 | 668 | <widget class="QLineEdit" name="txtSETa"> |
|
666 | 669 | <property name="readOnly"> |
|
667 | 670 | <bool>true</bool> |
|
668 | 671 | </property> |
|
669 | 672 | </widget> |
|
670 | 673 | </item> |
|
671 | 674 | <item row="6" column="2"> |
|
672 | 675 | <widget class="QLineEdit" name="txtSETb"> |
|
673 | 676 | <property name="readOnly"> |
|
674 | 677 | <bool>true</bool> |
|
675 | 678 | </property> |
|
676 | 679 | </widget> |
|
677 | 680 | </item> |
|
678 | 681 | <item row="6" column="3"> |
|
679 | 682 | <widget class="QLineEdit" name="txtSETc"> |
|
680 | 683 | <property name="readOnly"> |
|
681 | 684 | <bool>true</bool> |
|
682 | 685 | </property> |
|
683 | 686 | </widget> |
|
684 | 687 | </item> |
|
685 | 688 | <item row="6" column="4"> |
|
686 | 689 | <widget class="QLineEdit" name="txtSETd"> |
|
687 | 690 | <property name="readOnly"> |
|
688 | 691 | <bool>true</bool> |
|
689 | 692 | </property> |
|
690 | 693 | </widget> |
|
691 | 694 | </item> |
|
692 | 695 | <item row="3" column="0"> |
|
693 | 696 | <widget class="QLabel" name="lblSTATUS"> |
|
694 | 697 | <property name="text"> |
|
695 | 698 | <string>STATUS</string> |
|
696 | 699 | </property> |
|
697 | 700 | </widget> |
|
698 | 701 | </item> |
|
699 | 702 | <item row="5" column="0"> |
|
700 | 703 | <widget class="QLabel" name="lblINFO"> |
|
701 | 704 | <property name="text"> |
|
702 | 705 | <string>INFO</string> |
|
703 | 706 | </property> |
|
704 | 707 | </widget> |
|
705 | 708 | </item> |
|
706 | 709 | <item row="6" column="0"> |
|
707 | 710 | <widget class="QLabel" name="lblSET"> |
|
708 | 711 | <property name="text"> |
|
709 | 712 | <string>SET</string> |
|
710 | 713 | </property> |
|
711 | 714 | </widget> |
|
712 | 715 | </item> |
|
713 | 716 | <item row="0" column="1"> |
|
714 | 717 | <widget class="QLabel" name="lblDevA"> |
|
715 | 718 | <property name="text"> |
|
716 | 719 | <string>DEV A</string> |
|
717 | 720 | </property> |
|
718 | 721 | <property name="alignment"> |
|
719 | 722 | <set>Qt::AlignCenter</set> |
|
720 | 723 | </property> |
|
721 | 724 | </widget> |
|
722 | 725 | </item> |
|
723 | 726 | <item row="0" column="2"> |
|
724 | 727 | <widget class="QLabel" name="lblDevB"> |
|
725 | 728 | <property name="text"> |
|
726 | 729 | <string>DEV B</string> |
|
727 | 730 | </property> |
|
728 | 731 | <property name="alignment"> |
|
729 | 732 | <set>Qt::AlignCenter</set> |
|
730 | 733 | </property> |
|
731 | 734 | </widget> |
|
732 | 735 | </item> |
|
733 | 736 | <item row="0" column="3"> |
|
734 | 737 | <widget class="QLabel" name="lblDevC"> |
|
735 | 738 | <property name="text"> |
|
736 | 739 | <string>DEV C</string> |
|
737 | 740 | </property> |
|
738 | 741 | <property name="alignment"> |
|
739 | 742 | <set>Qt::AlignCenter</set> |
|
740 | 743 | </property> |
|
741 | 744 | </widget> |
|
742 | 745 | </item> |
|
743 | 746 | <item row="0" column="4"> |
|
744 | 747 | <widget class="QLabel" name="lblDevD"> |
|
745 | 748 | <property name="text"> |
|
746 | 749 | <string>DEV D</string> |
|
747 | 750 | </property> |
|
748 | 751 | <property name="alignment"> |
|
749 | 752 | <set>Qt::AlignCenter</set> |
|
750 | 753 | </property> |
|
751 | 754 | </widget> |
|
752 | 755 | </item> |
|
753 | 756 | <item row="5" column="3"> |
|
754 | 757 | <widget class="QLineEdit" name="txtINFOc"> |
|
755 | 758 | <property name="readOnly"> |
|
756 | 759 | <bool>true</bool> |
|
757 | 760 | </property> |
|
758 | 761 | </widget> |
|
759 | 762 | </item> |
|
760 | 763 | </layout> |
|
761 | 764 | </widget> |
|
762 | 765 | </item> |
|
763 | 766 | <item> |
|
764 | 767 | <widget class="QTextEdit" name="txtSburn"> |
|
765 | 768 | <property name="readOnly"> |
|
766 | 769 | <bool>true</bool> |
|
767 | 770 | </property> |
|
768 | 771 | </widget> |
|
769 | 772 | </item> |
|
770 | 773 | </layout> |
|
771 | 774 | </widget> |
|
772 | 775 | </widget> |
|
773 | 776 | </item> |
|
774 | 777 | <item> |
|
775 | 778 | <widget class="QTextEdit" name="txtInfo"> |
|
776 | 779 | <property name="readOnly"> |
|
777 | 780 | <bool>true</bool> |
|
778 | 781 | </property> |
|
779 | 782 | </widget> |
|
780 | 783 | </item> |
|
781 | 784 | <item> |
|
782 | 785 | <layout class="QHBoxLayout" name="horizontalLayout_2"> |
|
783 | 786 | <property name="sizeConstraint"> |
|
784 | 787 | <enum>QLayout::SetDefaultConstraint</enum> |
|
785 | 788 | </property> |
|
786 | 789 | <item> |
|
787 | 790 | <widget class="QPushButton" name="btnGbkp"> |
|
788 | 791 | <property name="enabled"> |
|
789 | 792 | <bool>false</bool> |
|
790 | 793 | </property> |
|
791 | 794 | <property name="text"> |
|
792 | 795 | <string>Generate Bkp</string> |
|
793 | 796 | </property> |
|
794 | 797 | </widget> |
|
795 | 798 | </item> |
|
796 | 799 | <item> |
|
797 | 800 | <widget class="QPushButton" name="btnRestart"> |
|
798 | 801 | <property name="enabled"> |
|
799 | 802 | <bool>false</bool> |
|
800 | 803 | </property> |
|
801 | 804 | <property name="text"> |
|
802 | 805 | <string>Restart</string> |
|
803 | 806 | </property> |
|
804 | 807 | </widget> |
|
805 | 808 | </item> |
|
806 | 809 | <item> |
|
807 | 810 | <widget class="QPushButton" name="btnStartburn"> |
|
808 | 811 | <property name="enabled"> |
|
809 | 812 | <bool>false</bool> |
|
810 | 813 | </property> |
|
811 | 814 | <property name="text"> |
|
812 | 815 | <string>Start Burn</string> |
|
813 | 816 | </property> |
|
814 | 817 | </widget> |
|
815 | 818 | </item> |
|
816 | 819 | <item> |
|
817 | 820 | <widget class="QPushButton" name="btnStopburn"> |
|
818 | 821 | <property name="enabled"> |
|
819 | 822 | <bool>false</bool> |
|
820 | 823 | </property> |
|
821 | 824 | <property name="text"> |
|
822 | 825 | <string>Stop Burn</string> |
|
823 | 826 | </property> |
|
824 | 827 | </widget> |
|
825 | 828 | </item> |
|
826 | 829 | </layout> |
|
827 | 830 | </item> |
|
828 | 831 | </layout> |
|
829 | 832 | </widget> |
|
830 | 833 | <widget class="QMenuBar" name="menubar"> |
|
831 | 834 | <property name="geometry"> |
|
832 | 835 | <rect> |
|
833 | 836 | <x>0</x> |
|
834 | 837 | <y>0</y> |
|
835 | 838 | <width>809</width> |
|
836 | 839 | <height>21</height> |
|
837 | 840 | </rect> |
|
838 | 841 | </property> |
|
839 | <widget class="QMenu" name="menuFile"> | |
|
840 | <property name="title"> | |
|
841 | <string>File</string> | |
|
842 | </property> | |
|
843 | <addaction name="actionSave_Config"/> | |
|
844 | <addaction name="actionQuit"/> | |
|
845 | </widget> | |
|
846 | 842 | <widget class="QMenu" name="menuParameters"> |
|
847 | 843 | <property name="title"> |
|
848 | 844 | <string>Parameters</string> |
|
849 | 845 | </property> |
|
850 | 846 | <addaction name="actionChange_Parameters"/> |
|
851 | 847 | </widget> |
|
852 | 848 | <widget class="QMenu" name="menuHelp"> |
|
853 | 849 | <property name="title"> |
|
854 | 850 | <string>Help</string> |
|
855 | 851 | </property> |
|
856 | 852 | <addaction name="actionAbout"/> |
|
853 | </widget> | |
|
854 | <widget class="QMenu" name="menuFile"> | |
|
855 | <property name="title"> | |
|
856 | <string>File</string> | |
|
857 | </property> | |
|
858 | <addaction name="actionSave_Config"/> | |
|
859 | <addaction name="actionQuit"/> | |
|
857 | 860 | </widget> |
|
858 | 861 | <addaction name="menuFile"/> |
|
859 | 862 | <addaction name="menuParameters"/> |
|
860 | 863 | <addaction name="menuHelp"/> |
|
861 | 864 | </widget> |
|
862 | 865 | <widget class="QStatusBar" name="statusbar"/> |
|
863 | 866 | <action name="actionChange_Parameters"> |
|
864 | 867 | <property name="text"> |
|
865 | 868 | <string>Change Parameters</string> |
|
866 | 869 | </property> |
|
867 | 870 | </action> |
|
868 | 871 | <action name="actionSave_Config"> |
|
869 | 872 | <property name="text"> |
|
870 | 873 | <string>Save Config</string> |
|
871 | 874 | </property> |
|
872 | 875 | </action> |
|
873 | 876 | <action name="actionQuit"> |
|
874 | 877 | <property name="text"> |
|
875 | 878 | <string>Quit</string> |
|
876 | 879 | </property> |
|
877 | 880 | </action> |
|
878 | 881 | <action name="actionAbout"> |
|
879 | 882 | <property name="text"> |
|
880 | 883 | <string>About</string> |
|
881 | 884 | </property> |
|
882 | 885 | </action> |
|
883 | 886 | </widget> |
|
884 | 887 | <tabstops> |
|
885 | 888 | <tabstop>txtDpath</tabstop> |
|
886 | 889 | <tabstop>btnDpath</tabstop> |
|
887 | 890 | <tabstop>txtRpath</tabstop> |
|
888 | 891 | <tabstop>btnRpath</tabstop> |
|
889 | 892 | <tabstop>lstDtype</tabstop> |
|
890 | 893 | <tabstop>txtDtype</tabstop> |
|
891 | 894 | <tabstop>chkMST</tabstop> |
|
892 | 895 | <tabstop>txtElabel</tabstop> |
|
893 | 896 | <tabstop>lstStartDay</tabstop> |
|
894 | 897 | <tabstop>lstStopDay</tabstop> |
|
895 | 898 | <tabstop>chkSimultaneously</tabstop> |
|
896 | 899 | <tabstop>chkSequentially</tabstop> |
|
897 | 900 | <tabstop>chkSalert</tabstop> |
|
898 | 901 | <tabstop>lstDcapacity</tabstop> |
|
899 | 902 | <tabstop>chkPSgraphic</tabstop> |
|
900 | 903 | <tabstop>lineEdit_17</tabstop> |
|
901 | 904 | <tabstop>txtSTATUSa</tabstop> |
|
902 | 905 | <tabstop>txtSTATUSb</tabstop> |
|
903 | 906 | <tabstop>txtSTATUSc</tabstop> |
|
904 | 907 | <tabstop>txtSTATUSd</tabstop> |
|
905 | 908 | <tabstop>txtINFOa</tabstop> |
|
906 | 909 | <tabstop>txtINFOb</tabstop> |
|
907 | 910 | <tabstop>txtINFOc</tabstop> |
|
908 | 911 | <tabstop>txtINFOd</tabstop> |
|
909 | 912 | <tabstop>txtSETa</tabstop> |
|
910 | 913 | <tabstop>txtSETb</tabstop> |
|
911 | 914 | <tabstop>txtSETc</tabstop> |
|
912 | 915 | <tabstop>txtSETd</tabstop> |
|
913 | 916 | <tabstop>tabWidget</tabstop> |
|
914 | 917 | <tabstop>txtSburn</tabstop> |
|
915 | 918 | <tabstop>btnGbkp</tabstop> |
|
916 | 919 | <tabstop>btnRestart</tabstop> |
|
917 | 920 | <tabstop>btnStartburn</tabstop> |
|
918 | 921 | <tabstop>btnStopburn</tabstop> |
|
919 | 922 | </tabstops> |
|
920 | 923 | <resources/> |
|
921 | 924 | <connections> |
|
922 | 925 | <connection> |
|
923 | 926 | <sender>chkSequentially</sender> |
|
924 | 927 | <signal>clicked()</signal> |
|
925 | 928 | <receiver>chkSimultaneously</receiver> |
|
926 | 929 | <slot>toggle()</slot> |
|
927 | 930 | <hints> |
|
928 | 931 | <hint type="sourcelabel"> |
|
929 | 932 | <x>635</x> |
|
930 | 933 | <y>276</y> |
|
931 | 934 | </hint> |
|
932 | 935 | <hint type="destinationlabel"> |
|
933 | 936 | <x>350</x> |
|
934 | 937 | <y>269</y> |
|
935 | 938 | </hint> |
|
936 | 939 | </hints> |
|
937 | 940 | </connection> |
|
938 | 941 | <connection> |
|
939 | 942 | <sender>chkSimultaneously</sender> |
|
940 | 943 | <signal>clicked()</signal> |
|
941 | 944 | <receiver>chkSequentially</receiver> |
|
942 | 945 | <slot>toggle()</slot> |
|
943 | 946 | <hints> |
|
944 | 947 | <hint type="sourcelabel"> |
|
945 | 948 | <x>433</x> |
|
946 | 949 | <y>276</y> |
|
947 | 950 | </hint> |
|
948 | 951 | <hint type="destinationlabel"> |
|
949 | 952 | <x>635</x> |
|
950 | 953 | <y>276</y> |
|
951 | 954 | </hint> |
|
952 | 955 | </hints> |
|
953 | 956 | </connection> |
|
954 | 957 | <connection> |
|
955 | 958 | <sender>chkDevA</sender> |
|
956 | 959 | <signal>toggled(bool)</signal> |
|
957 | 960 | <receiver>grpDevA</receiver> |
|
958 | 961 | <slot>setEnabled(bool)</slot> |
|
959 | 962 | <hints> |
|
960 | 963 | <hint type="sourcelabel"> |
|
961 | 964 | <x>95</x> |
|
962 | 965 | <y>86</y> |
|
963 | 966 | </hint> |
|
964 | 967 | <hint type="destinationlabel"> |
|
965 | 968 | <x>95</x> |
|
966 | 969 | <y>167</y> |
|
967 | 970 | </hint> |
|
968 | 971 | </hints> |
|
969 | 972 | </connection> |
|
970 | 973 | <connection> |
|
971 | 974 | <sender>chkDevB</sender> |
|
972 | 975 | <signal>toggled(bool)</signal> |
|
973 | 976 | <receiver>grpDevB</receiver> |
|
974 | 977 | <slot>setEnabled(bool)</slot> |
|
975 | 978 | <hints> |
|
976 | 979 | <hint type="sourcelabel"> |
|
977 | 980 | <x>251</x> |
|
978 | 981 | <y>86</y> |
|
979 | 982 | </hint> |
|
980 | 983 | <hint type="destinationlabel"> |
|
981 | 984 | <x>251</x> |
|
982 | 985 | <y>167</y> |
|
983 | 986 | </hint> |
|
984 | 987 | </hints> |
|
985 | 988 | </connection> |
|
986 | 989 | <connection> |
|
987 | 990 | <sender>chkDevC</sender> |
|
988 | 991 | <signal>toggled(bool)</signal> |
|
989 | 992 | <receiver>grpDevC</receiver> |
|
990 | 993 | <slot>setEnabled(bool)</slot> |
|
991 | 994 | <hints> |
|
992 | 995 | <hint type="sourcelabel"> |
|
993 | 996 | <x>407</x> |
|
994 | 997 | <y>86</y> |
|
995 | 998 | </hint> |
|
996 | 999 | <hint type="destinationlabel"> |
|
997 | 1000 | <x>407</x> |
|
998 | 1001 | <y>167</y> |
|
999 | 1002 | </hint> |
|
1000 | 1003 | </hints> |
|
1001 | 1004 | </connection> |
|
1002 | 1005 | <connection> |
|
1003 | 1006 | <sender>chkDevD</sender> |
|
1004 | 1007 | <signal>toggled(bool)</signal> |
|
1005 | 1008 | <receiver>grpDevD</receiver> |
|
1006 | 1009 | <slot>setEnabled(bool)</slot> |
|
1007 | 1010 | <hints> |
|
1008 | 1011 | <hint type="sourcelabel"> |
|
1009 | 1012 | <x>563</x> |
|
1010 | 1013 | <y>86</y> |
|
1011 | 1014 | </hint> |
|
1012 | 1015 | <hint type="destinationlabel"> |
|
1013 | 1016 | <x>563</x> |
|
1014 | 1017 | <y>167</y> |
|
1015 | 1018 | </hint> |
|
1016 | 1019 | </hints> |
|
1017 | 1020 | </connection> |
|
1018 | 1021 | </connections> |
|
1019 | 1022 | </ui> |
@@ -1,603 +1,604 | |||
|
1 | 1 | # -*- coding: utf-8 -*- |
|
2 | 2 | |
|
3 | 3 | # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/MainWindow.ui' |
|
4 | 4 | # |
|
5 |
# Created: |
|
|
5 | # Created: Wed May 19 01:44:24 2010 | |
|
6 | 6 | # by: PyQt4 UI code generator 4.7.2 |
|
7 | 7 | # |
|
8 | 8 | # WARNING! All changes made in this file will be lost! |
|
9 | 9 | |
|
10 | 10 | from PyQt4 import QtCore, QtGui |
|
11 | 11 | |
|
12 | 12 | class Ui_MainWindow(object): |
|
13 | 13 | def setupUi(self, MainWindow): |
|
14 | 14 | MainWindow.setObjectName("MainWindow") |
|
15 | 15 | MainWindow.resize(809, 737) |
|
16 | 16 | self.centralwidget = QtGui.QWidget(MainWindow) |
|
17 | 17 | self.centralwidget.setObjectName("centralwidget") |
|
18 | 18 | self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget) |
|
19 | 19 | self.verticalLayout.setObjectName("verticalLayout") |
|
20 | 20 | self.tabWidget = QtGui.QTabWidget(self.centralwidget) |
|
21 | 21 | self.tabWidget.setEnabled(True) |
|
22 | 22 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) |
|
23 | 23 | sizePolicy.setHorizontalStretch(0) |
|
24 | 24 | sizePolicy.setVerticalStretch(0) |
|
25 | 25 | sizePolicy.setHeightForWidth(self.tabWidget.sizePolicy().hasHeightForWidth()) |
|
26 | 26 | self.tabWidget.setSizePolicy(sizePolicy) |
|
27 | 27 | self.tabWidget.setObjectName("tabWidget") |
|
28 | 28 | self.tabParameters = QtGui.QWidget() |
|
29 | 29 | self.tabParameters.setEnabled(True) |
|
30 | 30 | self.tabParameters.setObjectName("tabParameters") |
|
31 | 31 | self.verticalLayout_2 = QtGui.QVBoxLayout(self.tabParameters) |
|
32 | 32 | self.verticalLayout_2.setObjectName("verticalLayout_2") |
|
33 | 33 | self.horizontalLayout = QtGui.QHBoxLayout() |
|
34 | 34 | self.horizontalLayout.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint) |
|
35 | 35 | self.horizontalLayout.setObjectName("horizontalLayout") |
|
36 | 36 | self.txtDpath = QtGui.QLineEdit(self.tabParameters) |
|
37 | 37 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) |
|
38 | 38 | sizePolicy.setHorizontalStretch(0) |
|
39 | 39 | sizePolicy.setVerticalStretch(0) |
|
40 | 40 | sizePolicy.setHeightForWidth(self.txtDpath.sizePolicy().hasHeightForWidth()) |
|
41 | 41 | self.txtDpath.setSizePolicy(sizePolicy) |
|
42 | 42 | self.txtDpath.setObjectName("txtDpath") |
|
43 | 43 | self.horizontalLayout.addWidget(self.txtDpath) |
|
44 | 44 | self.btnDpath = QtGui.QPushButton(self.tabParameters) |
|
45 | 45 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) |
|
46 | 46 | sizePolicy.setHorizontalStretch(0) |
|
47 | 47 | sizePolicy.setVerticalStretch(0) |
|
48 | 48 | sizePolicy.setHeightForWidth(self.btnDpath.sizePolicy().hasHeightForWidth()) |
|
49 | 49 | self.btnDpath.setSizePolicy(sizePolicy) |
|
50 | 50 | self.btnDpath.setCheckable(False) |
|
51 | 51 | self.btnDpath.setObjectName("btnDpath") |
|
52 | 52 | self.horizontalLayout.addWidget(self.btnDpath) |
|
53 | 53 | self.verticalLayout_2.addLayout(self.horizontalLayout) |
|
54 | 54 | self.horizontalLayout_3 = QtGui.QHBoxLayout() |
|
55 | 55 | self.horizontalLayout_3.setObjectName("horizontalLayout_3") |
|
56 | 56 | self.txtRpath = QtGui.QLineEdit(self.tabParameters) |
|
57 | 57 | self.txtRpath.setObjectName("txtRpath") |
|
58 | 58 | self.horizontalLayout_3.addWidget(self.txtRpath) |
|
59 | 59 | self.btnRpath = QtGui.QPushButton(self.tabParameters) |
|
60 | 60 | self.btnRpath.setObjectName("btnRpath") |
|
61 | 61 | self.horizontalLayout_3.addWidget(self.btnRpath) |
|
62 | 62 | self.verticalLayout_2.addLayout(self.horizontalLayout_3) |
|
63 | 63 | self.lblDtype = QtGui.QLabel(self.tabParameters) |
|
64 | 64 | self.lblDtype.setObjectName("lblDtype") |
|
65 | 65 | self.verticalLayout_2.addWidget(self.lblDtype) |
|
66 | 66 | self.horizontalLayout_4 = QtGui.QHBoxLayout() |
|
67 | 67 | self.horizontalLayout_4.setObjectName("horizontalLayout_4") |
|
68 | 68 | self.lstDtype = QtGui.QComboBox(self.tabParameters) |
|
69 | 69 | self.lstDtype.setObjectName("lstDtype") |
|
70 | 70 | self.lstDtype.addItem("") |
|
71 | 71 | self.lstDtype.addItem("") |
|
72 | 72 | self.lstDtype.addItem("") |
|
73 | 73 | self.lstDtype.addItem("") |
|
74 | 74 | self.horizontalLayout_4.addWidget(self.lstDtype) |
|
75 | 75 | self.txtDtype = QtGui.QLineEdit(self.tabParameters) |
|
76 | 76 | self.txtDtype.setReadOnly(True) |
|
77 | 77 | self.txtDtype.setObjectName("txtDtype") |
|
78 | 78 | self.horizontalLayout_4.addWidget(self.txtDtype) |
|
79 | 79 | self.chkMST = QtGui.QCheckBox(self.tabParameters) |
|
80 | 80 | self.chkMST.setObjectName("chkMST") |
|
81 | 81 | self.horizontalLayout_4.addWidget(self.chkMST) |
|
82 | 82 | self.verticalLayout_2.addLayout(self.horizontalLayout_4) |
|
83 | 83 | self.horizontalLayout_6 = QtGui.QHBoxLayout() |
|
84 | 84 | self.horizontalLayout_6.setObjectName("horizontalLayout_6") |
|
85 | 85 | self.lblElabel = QtGui.QLabel(self.tabParameters) |
|
86 | 86 | self.lblElabel.setObjectName("lblElabel") |
|
87 | 87 | self.horizontalLayout_6.addWidget(self.lblElabel) |
|
88 | 88 | self.lblCopys = QtGui.QLabel(self.tabParameters) |
|
89 | 89 | self.lblCopys.setObjectName("lblCopys") |
|
90 | 90 | self.horizontalLayout_6.addWidget(self.lblCopys) |
|
91 | 91 | self.verticalLayout_2.addLayout(self.horizontalLayout_6) |
|
92 | 92 | self.horizontalLayout_5 = QtGui.QHBoxLayout() |
|
93 | 93 | self.horizontalLayout_5.setObjectName("horizontalLayout_5") |
|
94 | 94 | self.txtElabel = QtGui.QLineEdit(self.tabParameters) |
|
95 | 95 | self.txtElabel.setObjectName("txtElabel") |
|
96 | 96 | self.horizontalLayout_5.addWidget(self.txtElabel) |
|
97 | 97 | self.txtCopys = QtGui.QSpinBox(self.tabParameters) |
|
98 | 98 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) |
|
99 | 99 | sizePolicy.setHorizontalStretch(0) |
|
100 | 100 | sizePolicy.setVerticalStretch(0) |
|
101 | 101 | sizePolicy.setHeightForWidth(self.txtCopys.sizePolicy().hasHeightForWidth()) |
|
102 | 102 | self.txtCopys.setSizePolicy(sizePolicy) |
|
103 | self.txtCopys.setMinimum(1) | |
|
103 | 104 | self.txtCopys.setObjectName("txtCopys") |
|
104 | 105 | self.horizontalLayout_5.addWidget(self.txtCopys) |
|
105 | 106 | self.verticalLayout_2.addLayout(self.horizontalLayout_5) |
|
106 | 107 | self.horizontalLayout_7 = QtGui.QHBoxLayout() |
|
107 | 108 | self.horizontalLayout_7.setObjectName("horizontalLayout_7") |
|
108 | 109 | self.lblStartDay = QtGui.QLabel(self.tabParameters) |
|
109 | 110 | self.lblStartDay.setObjectName("lblStartDay") |
|
110 | 111 | self.horizontalLayout_7.addWidget(self.lblStartDay) |
|
111 | 112 | self.lblStopDay = QtGui.QLabel(self.tabParameters) |
|
112 | 113 | self.lblStopDay.setObjectName("lblStopDay") |
|
113 | 114 | self.horizontalLayout_7.addWidget(self.lblStopDay) |
|
114 | 115 | self.verticalLayout_2.addLayout(self.horizontalLayout_7) |
|
115 | 116 | self.horizontalLayout_8 = QtGui.QHBoxLayout() |
|
116 | 117 | self.horizontalLayout_8.setObjectName("horizontalLayout_8") |
|
117 | 118 | self.lstStartDay = QtGui.QComboBox(self.tabParameters) |
|
118 | 119 | self.lstStartDay.setObjectName("lstStartDay") |
|
119 | 120 | self.horizontalLayout_8.addWidget(self.lstStartDay) |
|
120 | 121 | self.lstStopDay = QtGui.QComboBox(self.tabParameters) |
|
121 | 122 | self.lstStopDay.setObjectName("lstStopDay") |
|
122 | 123 | self.horizontalLayout_8.addWidget(self.lstStopDay) |
|
123 | 124 | self.verticalLayout_2.addLayout(self.horizontalLayout_8) |
|
124 | 125 | self.tabWidget.addTab(self.tabParameters, "") |
|
125 | 126 | self.tabDconfig = QtGui.QWidget() |
|
126 | 127 | self.tabDconfig.setEnabled(True) |
|
127 | 128 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum) |
|
128 | 129 | sizePolicy.setHorizontalStretch(0) |
|
129 | 130 | sizePolicy.setVerticalStretch(0) |
|
130 | 131 | sizePolicy.setHeightForWidth(self.tabDconfig.sizePolicy().hasHeightForWidth()) |
|
131 | 132 | self.tabDconfig.setSizePolicy(sizePolicy) |
|
132 | 133 | self.tabDconfig.setObjectName("tabDconfig") |
|
133 | 134 | self.verticalLayout_3 = QtGui.QVBoxLayout(self.tabDconfig) |
|
134 | 135 | self.verticalLayout_3.setObjectName("verticalLayout_3") |
|
135 | 136 | self.gridLayout = QtGui.QGridLayout() |
|
136 | 137 | self.gridLayout.setObjectName("gridLayout") |
|
137 | 138 | self.verticalLayout_15 = QtGui.QVBoxLayout() |
|
138 | 139 | self.verticalLayout_15.setObjectName("verticalLayout_15") |
|
139 | 140 | self.chkDevA = QtGui.QCheckBox(self.tabDconfig) |
|
140 | 141 | self.chkDevA.setChecked(True) |
|
141 | 142 | self.chkDevA.setObjectName("chkDevA") |
|
142 | 143 | self.verticalLayout_15.addWidget(self.chkDevA) |
|
143 | 144 | self.grpDevA = QtGui.QWidget(self.tabDconfig) |
|
144 | 145 | self.grpDevA.setObjectName("grpDevA") |
|
145 | 146 | self.verticalLayout_11 = QtGui.QVBoxLayout(self.grpDevA) |
|
146 | 147 | self.verticalLayout_11.setObjectName("verticalLayout_11") |
|
147 | 148 | self.txtDeviceA = QtGui.QLineEdit(self.grpDevA) |
|
148 | 149 | self.txtDeviceA.setObjectName("txtDeviceA") |
|
149 | 150 | self.verticalLayout_11.addWidget(self.txtDeviceA) |
|
150 | 151 | self.txtBspeedA = QtGui.QLineEdit(self.grpDevA) |
|
151 | 152 | self.txtBspeedA.setObjectName("txtBspeedA") |
|
152 | 153 | self.verticalLayout_11.addWidget(self.txtBspeedA) |
|
153 | 154 | self.txtBmodeA = QtGui.QLineEdit(self.grpDevA) |
|
154 | 155 | self.txtBmodeA.setObjectName("txtBmodeA") |
|
155 | 156 | self.verticalLayout_11.addWidget(self.txtBmodeA) |
|
156 | 157 | self.btnTdevA = QtGui.QPushButton(self.grpDevA) |
|
157 | 158 | self.btnTdevA.setObjectName("btnTdevA") |
|
158 | 159 | self.verticalLayout_11.addWidget(self.btnTdevA) |
|
159 | 160 | self.verticalLayout_15.addWidget(self.grpDevA) |
|
160 | 161 | self.gridLayout.addLayout(self.verticalLayout_15, 0, 0, 1, 1) |
|
161 | 162 | self.verticalLayout_16 = QtGui.QVBoxLayout() |
|
162 | 163 | self.verticalLayout_16.setObjectName("verticalLayout_16") |
|
163 | 164 | self.chkDevB = QtGui.QCheckBox(self.tabDconfig) |
|
164 | 165 | self.chkDevB.setChecked(True) |
|
165 | 166 | self.chkDevB.setObjectName("chkDevB") |
|
166 | 167 | self.verticalLayout_16.addWidget(self.chkDevB) |
|
167 | 168 | self.grpDevB = QtGui.QWidget(self.tabDconfig) |
|
168 | 169 | self.grpDevB.setObjectName("grpDevB") |
|
169 | 170 | self.verticalLayout_12 = QtGui.QVBoxLayout(self.grpDevB) |
|
170 | 171 | self.verticalLayout_12.setObjectName("verticalLayout_12") |
|
171 | 172 | self.txtDeviceB = QtGui.QLineEdit(self.grpDevB) |
|
172 | 173 | self.txtDeviceB.setObjectName("txtDeviceB") |
|
173 | 174 | self.verticalLayout_12.addWidget(self.txtDeviceB) |
|
174 | 175 | self.txtBspeedB = QtGui.QLineEdit(self.grpDevB) |
|
175 | 176 | self.txtBspeedB.setObjectName("txtBspeedB") |
|
176 | 177 | self.verticalLayout_12.addWidget(self.txtBspeedB) |
|
177 | 178 | self.txtBmodeB = QtGui.QLineEdit(self.grpDevB) |
|
178 | 179 | self.txtBmodeB.setObjectName("txtBmodeB") |
|
179 | 180 | self.verticalLayout_12.addWidget(self.txtBmodeB) |
|
180 | 181 | self.btnTdevB = QtGui.QPushButton(self.grpDevB) |
|
181 | 182 | self.btnTdevB.setObjectName("btnTdevB") |
|
182 | 183 | self.verticalLayout_12.addWidget(self.btnTdevB) |
|
183 | 184 | self.verticalLayout_16.addWidget(self.grpDevB) |
|
184 | 185 | self.gridLayout.addLayout(self.verticalLayout_16, 0, 1, 1, 1) |
|
185 | 186 | self.verticalLayout_17 = QtGui.QVBoxLayout() |
|
186 | 187 | self.verticalLayout_17.setObjectName("verticalLayout_17") |
|
187 | 188 | self.chkDevC = QtGui.QCheckBox(self.tabDconfig) |
|
188 | 189 | self.chkDevC.setChecked(True) |
|
189 | 190 | self.chkDevC.setObjectName("chkDevC") |
|
190 | 191 | self.verticalLayout_17.addWidget(self.chkDevC) |
|
191 | 192 | self.grpDevC = QtGui.QWidget(self.tabDconfig) |
|
192 | 193 | self.grpDevC.setObjectName("grpDevC") |
|
193 | 194 | self.verticalLayout_13 = QtGui.QVBoxLayout(self.grpDevC) |
|
194 | 195 | self.verticalLayout_13.setObjectName("verticalLayout_13") |
|
195 | 196 | self.txtDeviceC = QtGui.QLineEdit(self.grpDevC) |
|
196 | 197 | self.txtDeviceC.setObjectName("txtDeviceC") |
|
197 | 198 | self.verticalLayout_13.addWidget(self.txtDeviceC) |
|
198 | 199 | self.txtBspeedC = QtGui.QLineEdit(self.grpDevC) |
|
199 | 200 | self.txtBspeedC.setObjectName("txtBspeedC") |
|
200 | 201 | self.verticalLayout_13.addWidget(self.txtBspeedC) |
|
201 | 202 | self.txtBmodeC = QtGui.QLineEdit(self.grpDevC) |
|
202 | 203 | self.txtBmodeC.setObjectName("txtBmodeC") |
|
203 | 204 | self.verticalLayout_13.addWidget(self.txtBmodeC) |
|
204 | 205 | self.btnTdevC = QtGui.QPushButton(self.grpDevC) |
|
205 | 206 | self.btnTdevC.setObjectName("btnTdevC") |
|
206 | 207 | self.verticalLayout_13.addWidget(self.btnTdevC) |
|
207 | 208 | self.verticalLayout_17.addWidget(self.grpDevC) |
|
208 | 209 | self.gridLayout.addLayout(self.verticalLayout_17, 0, 2, 1, 1) |
|
209 | 210 | self.verticalLayout_18 = QtGui.QVBoxLayout() |
|
210 | 211 | self.verticalLayout_18.setObjectName("verticalLayout_18") |
|
211 | 212 | self.chkDevD = QtGui.QCheckBox(self.tabDconfig) |
|
212 | 213 | self.chkDevD.setChecked(True) |
|
213 | 214 | self.chkDevD.setObjectName("chkDevD") |
|
214 | 215 | self.verticalLayout_18.addWidget(self.chkDevD) |
|
215 | 216 | self.grpDevD = QtGui.QWidget(self.tabDconfig) |
|
216 | 217 | self.grpDevD.setObjectName("grpDevD") |
|
217 | 218 | self.verticalLayout_14 = QtGui.QVBoxLayout(self.grpDevD) |
|
218 | 219 | self.verticalLayout_14.setObjectName("verticalLayout_14") |
|
219 | 220 | self.txtDeviceD = QtGui.QLineEdit(self.grpDevD) |
|
220 | 221 | self.txtDeviceD.setObjectName("txtDeviceD") |
|
221 | 222 | self.verticalLayout_14.addWidget(self.txtDeviceD) |
|
222 | 223 | self.txtBspeedD = QtGui.QLineEdit(self.grpDevD) |
|
223 | 224 | self.txtBspeedD.setObjectName("txtBspeedD") |
|
224 | 225 | self.verticalLayout_14.addWidget(self.txtBspeedD) |
|
225 | 226 | self.txtBmodeD = QtGui.QLineEdit(self.grpDevD) |
|
226 | 227 | self.txtBmodeD.setObjectName("txtBmodeD") |
|
227 | 228 | self.verticalLayout_14.addWidget(self.txtBmodeD) |
|
228 | 229 | self.btnTdevD = QtGui.QPushButton(self.grpDevD) |
|
229 | 230 | self.btnTdevD.setObjectName("btnTdevD") |
|
230 | 231 | self.verticalLayout_14.addWidget(self.btnTdevD) |
|
231 | 232 | self.verticalLayout_18.addWidget(self.grpDevD) |
|
232 | 233 | self.gridLayout.addLayout(self.verticalLayout_18, 0, 3, 1, 1) |
|
233 | 234 | self.verticalLayout_19 = QtGui.QVBoxLayout() |
|
234 | 235 | self.verticalLayout_19.setObjectName("verticalLayout_19") |
|
235 | 236 | self.label_2 = QtGui.QLabel(self.tabDconfig) |
|
236 | 237 | self.label_2.setText("") |
|
237 | 238 | self.label_2.setObjectName("label_2") |
|
238 | 239 | self.verticalLayout_19.addWidget(self.label_2) |
|
239 | 240 | self.lblDevice = QtGui.QLabel(self.tabDconfig) |
|
240 | 241 | self.lblDevice.setObjectName("lblDevice") |
|
241 | 242 | self.verticalLayout_19.addWidget(self.lblDevice) |
|
242 | 243 | self.lblBspeed = QtGui.QLabel(self.tabDconfig) |
|
243 | 244 | self.lblBspeed.setObjectName("lblBspeed") |
|
244 | 245 | self.verticalLayout_19.addWidget(self.lblBspeed) |
|
245 | 246 | self.lblBmode = QtGui.QLabel(self.tabDconfig) |
|
246 | 247 | self.lblBmode.setObjectName("lblBmode") |
|
247 | 248 | self.verticalLayout_19.addWidget(self.lblBmode) |
|
248 | 249 | self.label = QtGui.QLabel(self.tabDconfig) |
|
249 | 250 | self.label.setText("") |
|
250 | 251 | self.label.setObjectName("label") |
|
251 | 252 | self.verticalLayout_19.addWidget(self.label) |
|
252 | 253 | self.gridLayout.addLayout(self.verticalLayout_19, 0, 4, 1, 1) |
|
253 | 254 | self.verticalLayout_3.addLayout(self.gridLayout) |
|
254 | 255 | self.horizontalLayout_9 = QtGui.QHBoxLayout() |
|
255 | 256 | self.horizontalLayout_9.setSizeConstraint(QtGui.QLayout.SetFixedSize) |
|
256 | 257 | self.horizontalLayout_9.setObjectName("horizontalLayout_9") |
|
257 | 258 | self.lblBprocess = QtGui.QLabel(self.tabDconfig) |
|
258 | 259 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) |
|
259 | 260 | sizePolicy.setHorizontalStretch(0) |
|
260 | 261 | sizePolicy.setVerticalStretch(0) |
|
261 | 262 | sizePolicy.setHeightForWidth(self.lblBprocess.sizePolicy().hasHeightForWidth()) |
|
262 | 263 | self.lblBprocess.setSizePolicy(sizePolicy) |
|
263 | 264 | self.lblBprocess.setObjectName("lblBprocess") |
|
264 | 265 | self.horizontalLayout_9.addWidget(self.lblBprocess) |
|
265 | 266 | self.chkSimultaneously = QtGui.QCheckBox(self.tabDconfig) |
|
266 | 267 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) |
|
267 | 268 | sizePolicy.setHorizontalStretch(0) |
|
268 | 269 | sizePolicy.setVerticalStretch(0) |
|
269 | 270 | sizePolicy.setHeightForWidth(self.chkSimultaneously.sizePolicy().hasHeightForWidth()) |
|
270 | 271 | self.chkSimultaneously.setSizePolicy(sizePolicy) |
|
271 | 272 | self.chkSimultaneously.setObjectName("chkSimultaneously") |
|
272 | 273 | self.horizontalLayout_9.addWidget(self.chkSimultaneously) |
|
273 | 274 | self.chkSequentially = QtGui.QCheckBox(self.tabDconfig) |
|
274 | 275 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) |
|
275 | 276 | sizePolicy.setHorizontalStretch(0) |
|
276 | 277 | sizePolicy.setVerticalStretch(0) |
|
277 | 278 | sizePolicy.setHeightForWidth(self.chkSequentially.sizePolicy().hasHeightForWidth()) |
|
278 | 279 | self.chkSequentially.setSizePolicy(sizePolicy) |
|
279 | 280 | self.chkSequentially.setChecked(True) |
|
280 | 281 | self.chkSequentially.setObjectName("chkSequentially") |
|
281 | 282 | self.horizontalLayout_9.addWidget(self.chkSequentially) |
|
282 | 283 | self.verticalLayout_3.addLayout(self.horizontalLayout_9) |
|
283 | 284 | self.horizontalLayout_11 = QtGui.QHBoxLayout() |
|
284 | 285 | self.horizontalLayout_11.setSpacing(6) |
|
285 | 286 | self.horizontalLayout_11.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint) |
|
286 | 287 | self.horizontalLayout_11.setObjectName("horizontalLayout_11") |
|
287 | 288 | self.lblDcapacity = QtGui.QLabel(self.tabDconfig) |
|
288 | 289 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) |
|
289 | 290 | sizePolicy.setHorizontalStretch(0) |
|
290 | 291 | sizePolicy.setVerticalStretch(0) |
|
291 | 292 | sizePolicy.setHeightForWidth(self.lblDcapacity.sizePolicy().hasHeightForWidth()) |
|
292 | 293 | self.lblDcapacity.setSizePolicy(sizePolicy) |
|
293 | 294 | self.lblDcapacity.setObjectName("lblDcapacity") |
|
294 | 295 | self.horizontalLayout_11.addWidget(self.lblDcapacity) |
|
295 | 296 | self.chkSalert = QtGui.QCheckBox(self.tabDconfig) |
|
296 | 297 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) |
|
297 | 298 | sizePolicy.setHorizontalStretch(0) |
|
298 | 299 | sizePolicy.setVerticalStretch(0) |
|
299 | 300 | sizePolicy.setHeightForWidth(self.chkSalert.sizePolicy().hasHeightForWidth()) |
|
300 | 301 | self.chkSalert.setSizePolicy(sizePolicy) |
|
301 | 302 | self.chkSalert.setObjectName("chkSalert") |
|
302 | 303 | self.horizontalLayout_11.addWidget(self.chkSalert) |
|
303 | 304 | self.verticalLayout_3.addLayout(self.horizontalLayout_11) |
|
304 | 305 | self.horizontalLayout_10 = QtGui.QHBoxLayout() |
|
305 | 306 | self.horizontalLayout_10.setSizeConstraint(QtGui.QLayout.SetFixedSize) |
|
306 | 307 | self.horizontalLayout_10.setObjectName("horizontalLayout_10") |
|
307 | 308 | self.lstDcapacity = QtGui.QComboBox(self.tabDconfig) |
|
308 | 309 | self.lstDcapacity.setObjectName("lstDcapacity") |
|
309 | 310 | self.lstDcapacity.addItem("") |
|
310 | 311 | self.lstDcapacity.addItem("") |
|
311 | 312 | self.lstDcapacity.addItem("") |
|
312 | 313 | self.lstDcapacity.addItem("") |
|
313 | 314 | self.lstDcapacity.addItem("") |
|
314 | 315 | self.horizontalLayout_10.addWidget(self.lstDcapacity) |
|
315 | 316 | self.txtDcapacity = QtGui.QDoubleSpinBox(self.tabDconfig) |
|
316 | 317 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) |
|
317 | 318 | sizePolicy.setHorizontalStretch(0) |
|
318 | 319 | sizePolicy.setVerticalStretch(0) |
|
319 | 320 | sizePolicy.setHeightForWidth(self.txtDcapacity.sizePolicy().hasHeightForWidth()) |
|
320 | 321 | self.txtDcapacity.setSizePolicy(sizePolicy) |
|
321 | 322 | self.txtDcapacity.setReadOnly(True) |
|
322 | 323 | self.txtDcapacity.setMinimum(100.0) |
|
323 | 324 | self.txtDcapacity.setMaximum(99999.99) |
|
324 | 325 | self.txtDcapacity.setProperty("value", 4482.27) |
|
325 | 326 | self.txtDcapacity.setObjectName("txtDcapacity") |
|
326 | 327 | self.horizontalLayout_10.addWidget(self.txtDcapacity) |
|
327 | 328 | self.chkPSgraphic = QtGui.QCheckBox(self.tabDconfig) |
|
328 | 329 | self.chkPSgraphic.setObjectName("chkPSgraphic") |
|
329 | 330 | self.horizontalLayout_10.addWidget(self.chkPSgraphic) |
|
330 | 331 | self.lineEdit_17 = QtGui.QLineEdit(self.tabDconfig) |
|
331 | 332 | self.lineEdit_17.setObjectName("lineEdit_17") |
|
332 | 333 | self.horizontalLayout_10.addWidget(self.lineEdit_17) |
|
333 | 334 | self.verticalLayout_3.addLayout(self.horizontalLayout_10) |
|
334 | 335 | self.tabWidget.addTab(self.tabDconfig, "") |
|
335 | 336 | self.tabSburn = QtGui.QWidget() |
|
336 | 337 | self.tabSburn.setObjectName("tabSburn") |
|
337 | 338 | self.verticalLayout_4 = QtGui.QVBoxLayout(self.tabSburn) |
|
338 | 339 | self.verticalLayout_4.setObjectName("verticalLayout_4") |
|
339 | 340 | self.widget_2 = QtGui.QWidget(self.tabSburn) |
|
340 | 341 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum) |
|
341 | 342 | sizePolicy.setHorizontalStretch(0) |
|
342 | 343 | sizePolicy.setVerticalStretch(0) |
|
343 | 344 | sizePolicy.setHeightForWidth(self.widget_2.sizePolicy().hasHeightForWidth()) |
|
344 | 345 | self.widget_2.setSizePolicy(sizePolicy) |
|
345 | 346 | self.widget_2.setMaximumSize(QtCore.QSize(500, 16777215)) |
|
346 | 347 | self.widget_2.setObjectName("widget_2") |
|
347 | 348 | self.gridLayout_2 = QtGui.QGridLayout(self.widget_2) |
|
348 | 349 | self.gridLayout_2.setObjectName("gridLayout_2") |
|
349 | 350 | self.txtSTATUSb = QtGui.QLineEdit(self.widget_2) |
|
350 | 351 | self.txtSTATUSb.setReadOnly(True) |
|
351 | 352 | self.txtSTATUSb.setObjectName("txtSTATUSb") |
|
352 | 353 | self.gridLayout_2.addWidget(self.txtSTATUSb, 3, 2, 1, 1) |
|
353 | 354 | self.txtINFOa = QtGui.QLineEdit(self.widget_2) |
|
354 | 355 | self.txtINFOa.setReadOnly(True) |
|
355 | 356 | self.txtINFOa.setObjectName("txtINFOa") |
|
356 | 357 | self.gridLayout_2.addWidget(self.txtINFOa, 5, 1, 1, 1) |
|
357 | 358 | self.txtSTATUSa = QtGui.QLineEdit(self.widget_2) |
|
358 | 359 | self.txtSTATUSa.setReadOnly(True) |
|
359 | 360 | self.txtSTATUSa.setObjectName("txtSTATUSa") |
|
360 | 361 | self.gridLayout_2.addWidget(self.txtSTATUSa, 3, 1, 1, 1) |
|
361 | 362 | self.txtINFOb = QtGui.QLineEdit(self.widget_2) |
|
362 | 363 | self.txtINFOb.setReadOnly(True) |
|
363 | 364 | self.txtINFOb.setObjectName("txtINFOb") |
|
364 | 365 | self.gridLayout_2.addWidget(self.txtINFOb, 5, 2, 1, 1) |
|
365 | 366 | self.txtSTATUSc = QtGui.QLineEdit(self.widget_2) |
|
366 | 367 | self.txtSTATUSc.setReadOnly(True) |
|
367 | 368 | self.txtSTATUSc.setObjectName("txtSTATUSc") |
|
368 | 369 | self.gridLayout_2.addWidget(self.txtSTATUSc, 3, 3, 1, 1) |
|
369 | 370 | self.txtSTATUSd = QtGui.QLineEdit(self.widget_2) |
|
370 | 371 | self.txtSTATUSd.setReadOnly(True) |
|
371 | 372 | self.txtSTATUSd.setObjectName("txtSTATUSd") |
|
372 | 373 | self.gridLayout_2.addWidget(self.txtSTATUSd, 3, 4, 1, 1) |
|
373 | 374 | self.txtINFOd = QtGui.QLineEdit(self.widget_2) |
|
374 | 375 | self.txtINFOd.setReadOnly(True) |
|
375 | 376 | self.txtINFOd.setObjectName("txtINFOd") |
|
376 | 377 | self.gridLayout_2.addWidget(self.txtINFOd, 5, 4, 1, 1) |
|
377 | 378 | self.txtSETa = QtGui.QLineEdit(self.widget_2) |
|
378 | 379 | self.txtSETa.setReadOnly(True) |
|
379 | 380 | self.txtSETa.setObjectName("txtSETa") |
|
380 | 381 | self.gridLayout_2.addWidget(self.txtSETa, 6, 1, 1, 1) |
|
381 | 382 | self.txtSETb = QtGui.QLineEdit(self.widget_2) |
|
382 | 383 | self.txtSETb.setReadOnly(True) |
|
383 | 384 | self.txtSETb.setObjectName("txtSETb") |
|
384 | 385 | self.gridLayout_2.addWidget(self.txtSETb, 6, 2, 1, 1) |
|
385 | 386 | self.txtSETc = QtGui.QLineEdit(self.widget_2) |
|
386 | 387 | self.txtSETc.setReadOnly(True) |
|
387 | 388 | self.txtSETc.setObjectName("txtSETc") |
|
388 | 389 | self.gridLayout_2.addWidget(self.txtSETc, 6, 3, 1, 1) |
|
389 | 390 | self.txtSETd = QtGui.QLineEdit(self.widget_2) |
|
390 | 391 | self.txtSETd.setReadOnly(True) |
|
391 | 392 | self.txtSETd.setObjectName("txtSETd") |
|
392 | 393 | self.gridLayout_2.addWidget(self.txtSETd, 6, 4, 1, 1) |
|
393 | 394 | self.lblSTATUS = QtGui.QLabel(self.widget_2) |
|
394 | 395 | self.lblSTATUS.setObjectName("lblSTATUS") |
|
395 | 396 | self.gridLayout_2.addWidget(self.lblSTATUS, 3, 0, 1, 1) |
|
396 | 397 | self.lblINFO = QtGui.QLabel(self.widget_2) |
|
397 | 398 | self.lblINFO.setObjectName("lblINFO") |
|
398 | 399 | self.gridLayout_2.addWidget(self.lblINFO, 5, 0, 1, 1) |
|
399 | 400 | self.lblSET = QtGui.QLabel(self.widget_2) |
|
400 | 401 | self.lblSET.setObjectName("lblSET") |
|
401 | 402 | self.gridLayout_2.addWidget(self.lblSET, 6, 0, 1, 1) |
|
402 | 403 | self.lblDevA = QtGui.QLabel(self.widget_2) |
|
403 | 404 | self.lblDevA.setAlignment(QtCore.Qt.AlignCenter) |
|
404 | 405 | self.lblDevA.setObjectName("lblDevA") |
|
405 | 406 | self.gridLayout_2.addWidget(self.lblDevA, 0, 1, 1, 1) |
|
406 | 407 | self.lblDevB = QtGui.QLabel(self.widget_2) |
|
407 | 408 | self.lblDevB.setAlignment(QtCore.Qt.AlignCenter) |
|
408 | 409 | self.lblDevB.setObjectName("lblDevB") |
|
409 | 410 | self.gridLayout_2.addWidget(self.lblDevB, 0, 2, 1, 1) |
|
410 | 411 | self.lblDevC = QtGui.QLabel(self.widget_2) |
|
411 | 412 | self.lblDevC.setAlignment(QtCore.Qt.AlignCenter) |
|
412 | 413 | self.lblDevC.setObjectName("lblDevC") |
|
413 | 414 | self.gridLayout_2.addWidget(self.lblDevC, 0, 3, 1, 1) |
|
414 | 415 | self.lblDevD = QtGui.QLabel(self.widget_2) |
|
415 | 416 | self.lblDevD.setAlignment(QtCore.Qt.AlignCenter) |
|
416 | 417 | self.lblDevD.setObjectName("lblDevD") |
|
417 | 418 | self.gridLayout_2.addWidget(self.lblDevD, 0, 4, 1, 1) |
|
418 | 419 | self.txtINFOc = QtGui.QLineEdit(self.widget_2) |
|
419 | 420 | self.txtINFOc.setReadOnly(True) |
|
420 | 421 | self.txtINFOc.setObjectName("txtINFOc") |
|
421 | 422 | self.gridLayout_2.addWidget(self.txtINFOc, 5, 3, 1, 1) |
|
422 | 423 | self.verticalLayout_4.addWidget(self.widget_2) |
|
423 | 424 | self.txtSburn = QtGui.QTextEdit(self.tabSburn) |
|
424 | 425 | self.txtSburn.setReadOnly(True) |
|
425 | 426 | self.txtSburn.setObjectName("txtSburn") |
|
426 | 427 | self.verticalLayout_4.addWidget(self.txtSburn) |
|
427 | 428 | self.tabWidget.addTab(self.tabSburn, "") |
|
428 | 429 | self.verticalLayout.addWidget(self.tabWidget) |
|
429 | 430 | self.txtInfo = QtGui.QTextEdit(self.centralwidget) |
|
430 | 431 | self.txtInfo.setReadOnly(True) |
|
431 | 432 | self.txtInfo.setObjectName("txtInfo") |
|
432 | 433 | self.verticalLayout.addWidget(self.txtInfo) |
|
433 | 434 | self.horizontalLayout_2 = QtGui.QHBoxLayout() |
|
434 | 435 | self.horizontalLayout_2.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint) |
|
435 | 436 | self.horizontalLayout_2.setObjectName("horizontalLayout_2") |
|
436 | 437 | self.btnGbkp = QtGui.QPushButton(self.centralwidget) |
|
437 | 438 | self.btnGbkp.setEnabled(False) |
|
438 | 439 | self.btnGbkp.setObjectName("btnGbkp") |
|
439 | 440 | self.horizontalLayout_2.addWidget(self.btnGbkp) |
|
440 | 441 | self.btnRestart = QtGui.QPushButton(self.centralwidget) |
|
441 | 442 | self.btnRestart.setEnabled(False) |
|
442 | 443 | self.btnRestart.setObjectName("btnRestart") |
|
443 | 444 | self.horizontalLayout_2.addWidget(self.btnRestart) |
|
444 | 445 | self.btnStartburn = QtGui.QPushButton(self.centralwidget) |
|
445 | 446 | self.btnStartburn.setEnabled(False) |
|
446 | 447 | self.btnStartburn.setObjectName("btnStartburn") |
|
447 | 448 | self.horizontalLayout_2.addWidget(self.btnStartburn) |
|
448 | 449 | self.btnStopburn = QtGui.QPushButton(self.centralwidget) |
|
449 | 450 | self.btnStopburn.setEnabled(False) |
|
450 | 451 | self.btnStopburn.setObjectName("btnStopburn") |
|
451 | 452 | self.horizontalLayout_2.addWidget(self.btnStopburn) |
|
452 | 453 | self.verticalLayout.addLayout(self.horizontalLayout_2) |
|
453 | 454 | MainWindow.setCentralWidget(self.centralwidget) |
|
454 | 455 | self.menubar = QtGui.QMenuBar(MainWindow) |
|
455 | 456 | self.menubar.setGeometry(QtCore.QRect(0, 0, 809, 21)) |
|
456 | 457 | self.menubar.setObjectName("menubar") |
|
457 | self.menuFile = QtGui.QMenu(self.menubar) | |
|
458 | self.menuFile.setObjectName("menuFile") | |
|
459 | 458 | self.menuParameters = QtGui.QMenu(self.menubar) |
|
460 | 459 | self.menuParameters.setObjectName("menuParameters") |
|
461 | 460 | self.menuHelp = QtGui.QMenu(self.menubar) |
|
462 | 461 | self.menuHelp.setObjectName("menuHelp") |
|
462 | self.menuFile = QtGui.QMenu(self.menubar) | |
|
463 | self.menuFile.setObjectName("menuFile") | |
|
463 | 464 | MainWindow.setMenuBar(self.menubar) |
|
464 | 465 | self.statusbar = QtGui.QStatusBar(MainWindow) |
|
465 | 466 | self.statusbar.setObjectName("statusbar") |
|
466 | 467 | MainWindow.setStatusBar(self.statusbar) |
|
467 | 468 | self.actionChange_Parameters = QtGui.QAction(MainWindow) |
|
468 | 469 | self.actionChange_Parameters.setObjectName("actionChange_Parameters") |
|
469 | 470 | self.actionSave_Config = QtGui.QAction(MainWindow) |
|
470 | 471 | self.actionSave_Config.setObjectName("actionSave_Config") |
|
471 | 472 | self.actionQuit = QtGui.QAction(MainWindow) |
|
472 | 473 | self.actionQuit.setObjectName("actionQuit") |
|
473 | 474 | self.actionAbout = QtGui.QAction(MainWindow) |
|
474 | 475 | self.actionAbout.setObjectName("actionAbout") |
|
476 | self.menuParameters.addAction(self.actionChange_Parameters) | |
|
477 | self.menuHelp.addAction(self.actionAbout) | |
|
475 | 478 | self.menuFile.addAction(self.actionSave_Config) |
|
476 | 479 | self.menuFile.addAction(self.actionQuit) |
|
477 | self.menuParameters.addAction(self.actionChange_Parameters) | |
|
478 | self.menuHelp.addAction(self.actionAbout) | |
|
479 | 480 | self.menubar.addAction(self.menuFile.menuAction()) |
|
480 | 481 | self.menubar.addAction(self.menuParameters.menuAction()) |
|
481 | 482 | self.menubar.addAction(self.menuHelp.menuAction()) |
|
482 | 483 | |
|
483 | 484 | self.retranslateUi(MainWindow) |
|
484 | 485 | self.tabWidget.setCurrentIndex(0) |
|
485 | 486 | self.lstDcapacity.setCurrentIndex(2) |
|
486 | 487 | QtCore.QObject.connect(self.chkSequentially, QtCore.SIGNAL("clicked()"), self.chkSimultaneously.toggle) |
|
487 | 488 | QtCore.QObject.connect(self.chkSimultaneously, QtCore.SIGNAL("clicked()"), self.chkSequentially.toggle) |
|
488 | 489 | QtCore.QObject.connect(self.chkDevA, QtCore.SIGNAL("toggled(bool)"), self.grpDevA.setEnabled) |
|
489 | 490 | QtCore.QObject.connect(self.chkDevB, QtCore.SIGNAL("toggled(bool)"), self.grpDevB.setEnabled) |
|
490 | 491 | QtCore.QObject.connect(self.chkDevC, QtCore.SIGNAL("toggled(bool)"), self.grpDevC.setEnabled) |
|
491 | 492 | QtCore.QObject.connect(self.chkDevD, QtCore.SIGNAL("toggled(bool)"), self.grpDevD.setEnabled) |
|
492 | 493 | QtCore.QMetaObject.connectSlotsByName(MainWindow) |
|
493 | 494 | MainWindow.setTabOrder(self.txtDpath, self.btnDpath) |
|
494 | 495 | MainWindow.setTabOrder(self.btnDpath, self.txtRpath) |
|
495 | 496 | MainWindow.setTabOrder(self.txtRpath, self.btnRpath) |
|
496 | 497 | MainWindow.setTabOrder(self.btnRpath, self.lstDtype) |
|
497 | 498 | MainWindow.setTabOrder(self.lstDtype, self.txtDtype) |
|
498 | 499 | MainWindow.setTabOrder(self.txtDtype, self.chkMST) |
|
499 | 500 | MainWindow.setTabOrder(self.chkMST, self.txtElabel) |
|
500 | 501 | MainWindow.setTabOrder(self.txtElabel, self.lstStartDay) |
|
501 | 502 | MainWindow.setTabOrder(self.lstStartDay, self.lstStopDay) |
|
502 | 503 | MainWindow.setTabOrder(self.lstStopDay, self.chkSimultaneously) |
|
503 | 504 | MainWindow.setTabOrder(self.chkSimultaneously, self.chkSequentially) |
|
504 | 505 | MainWindow.setTabOrder(self.chkSequentially, self.chkSalert) |
|
505 | 506 | MainWindow.setTabOrder(self.chkSalert, self.lstDcapacity) |
|
506 | 507 | MainWindow.setTabOrder(self.lstDcapacity, self.chkPSgraphic) |
|
507 | 508 | MainWindow.setTabOrder(self.chkPSgraphic, self.lineEdit_17) |
|
508 | 509 | MainWindow.setTabOrder(self.lineEdit_17, self.txtSTATUSa) |
|
509 | 510 | MainWindow.setTabOrder(self.txtSTATUSa, self.txtSTATUSb) |
|
510 | 511 | MainWindow.setTabOrder(self.txtSTATUSb, self.txtSTATUSc) |
|
511 | 512 | MainWindow.setTabOrder(self.txtSTATUSc, self.txtSTATUSd) |
|
512 | 513 | MainWindow.setTabOrder(self.txtSTATUSd, self.txtINFOa) |
|
513 | 514 | MainWindow.setTabOrder(self.txtINFOa, self.txtINFOb) |
|
514 | 515 | MainWindow.setTabOrder(self.txtINFOb, self.txtINFOc) |
|
515 | 516 | MainWindow.setTabOrder(self.txtINFOc, self.txtINFOd) |
|
516 | 517 | MainWindow.setTabOrder(self.txtINFOd, self.txtSETa) |
|
517 | 518 | MainWindow.setTabOrder(self.txtSETa, self.txtSETb) |
|
518 | 519 | MainWindow.setTabOrder(self.txtSETb, self.txtSETc) |
|
519 | 520 | MainWindow.setTabOrder(self.txtSETc, self.txtSETd) |
|
520 | 521 | MainWindow.setTabOrder(self.txtSETd, self.tabWidget) |
|
521 | 522 | MainWindow.setTabOrder(self.tabWidget, self.txtSburn) |
|
522 | 523 | MainWindow.setTabOrder(self.txtSburn, self.btnGbkp) |
|
523 | 524 | MainWindow.setTabOrder(self.btnGbkp, self.btnRestart) |
|
524 | 525 | MainWindow.setTabOrder(self.btnRestart, self.btnStartburn) |
|
525 | 526 | MainWindow.setTabOrder(self.btnStartburn, self.btnStopburn) |
|
526 | 527 | |
|
527 | 528 | def retranslateUi(self, MainWindow): |
|
528 | 529 | MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "JRO BACKUP MANAGER", None, QtGui.QApplication.UnicodeUTF8)) |
|
529 | 530 | self.btnDpath.setText(QtGui.QApplication.translate("MainWindow", "Data Path", None, QtGui.QApplication.UnicodeUTF8)) |
|
530 | 531 | self.btnRpath.setText(QtGui.QApplication.translate("MainWindow", "Resource Path", None, QtGui.QApplication.UnicodeUTF8)) |
|
531 | 532 | self.lblDtype.setText(QtGui.QApplication.translate("MainWindow", "Data Type", None, QtGui.QApplication.UnicodeUTF8)) |
|
532 | 533 | self.lstDtype.setItemText(0, QtGui.QApplication.translate("MainWindow", "Raw Data", None, QtGui.QApplication.UnicodeUTF8)) |
|
533 | 534 | self.lstDtype.setItemText(1, QtGui.QApplication.translate("MainWindow", "Process Data", None, QtGui.QApplication.UnicodeUTF8)) |
|
534 | 535 | self.lstDtype.setItemText(2, QtGui.QApplication.translate("MainWindow", "BLTR Data", None, QtGui.QApplication.UnicodeUTF8)) |
|
535 | 536 | self.lstDtype.setItemText(3, QtGui.QApplication.translate("MainWindow", "Other", None, QtGui.QApplication.UnicodeUTF8)) |
|
536 | 537 | self.txtDtype.setText(QtGui.QApplication.translate("MainWindow", "r", None, QtGui.QApplication.UnicodeUTF8)) |
|
537 | 538 | self.chkMST.setText(QtGui.QApplication.translate("MainWindow", "MST-ISR Data", None, QtGui.QApplication.UnicodeUTF8)) |
|
538 | 539 | self.lblElabel.setText(QtGui.QApplication.translate("MainWindow", "Exp. Label at device", None, QtGui.QApplication.UnicodeUTF8)) |
|
539 | 540 | self.lblCopys.setText(QtGui.QApplication.translate("MainWindow", "Copys", None, QtGui.QApplication.UnicodeUTF8)) |
|
540 | 541 | self.lblStartDay.setText(QtGui.QApplication.translate("MainWindow", "Start Day:", None, QtGui.QApplication.UnicodeUTF8)) |
|
541 | 542 | self.lblStopDay.setText(QtGui.QApplication.translate("MainWindow", "Stop Day:", None, QtGui.QApplication.UnicodeUTF8)) |
|
542 | 543 | self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabParameters), QtGui.QApplication.translate("MainWindow", "Parameters", None, QtGui.QApplication.UnicodeUTF8)) |
|
543 | 544 | self.chkDevA.setText(QtGui.QApplication.translate("MainWindow", "Dev A", None, QtGui.QApplication.UnicodeUTF8)) |
|
544 | 545 | self.txtBspeedA.setText(QtGui.QApplication.translate("MainWindow", "16", None, QtGui.QApplication.UnicodeUTF8)) |
|
545 | 546 | self.txtBmodeA.setText(QtGui.QApplication.translate("MainWindow", "-sao", None, QtGui.QApplication.UnicodeUTF8)) |
|
546 | 547 | self.btnTdevA.setText(QtGui.QApplication.translate("MainWindow", "Test DevA", None, QtGui.QApplication.UnicodeUTF8)) |
|
547 | 548 | self.chkDevB.setText(QtGui.QApplication.translate("MainWindow", "Dev B", None, QtGui.QApplication.UnicodeUTF8)) |
|
548 | 549 | self.txtBspeedB.setText(QtGui.QApplication.translate("MainWindow", "16", None, QtGui.QApplication.UnicodeUTF8)) |
|
549 | 550 | self.txtBmodeB.setText(QtGui.QApplication.translate("MainWindow", "-sao", None, QtGui.QApplication.UnicodeUTF8)) |
|
550 | 551 | self.btnTdevB.setText(QtGui.QApplication.translate("MainWindow", "Test DevB", None, QtGui.QApplication.UnicodeUTF8)) |
|
551 | 552 | self.chkDevC.setText(QtGui.QApplication.translate("MainWindow", "Dev C", None, QtGui.QApplication.UnicodeUTF8)) |
|
552 | 553 | self.txtBspeedC.setText(QtGui.QApplication.translate("MainWindow", "16", None, QtGui.QApplication.UnicodeUTF8)) |
|
553 | 554 | self.txtBmodeC.setText(QtGui.QApplication.translate("MainWindow", "-sao", None, QtGui.QApplication.UnicodeUTF8)) |
|
554 | 555 | self.btnTdevC.setText(QtGui.QApplication.translate("MainWindow", "Test DevC", None, QtGui.QApplication.UnicodeUTF8)) |
|
555 | 556 | self.chkDevD.setText(QtGui.QApplication.translate("MainWindow", "Dev D", None, QtGui.QApplication.UnicodeUTF8)) |
|
556 | 557 | self.txtBspeedD.setText(QtGui.QApplication.translate("MainWindow", "16", None, QtGui.QApplication.UnicodeUTF8)) |
|
557 | 558 | self.txtBmodeD.setText(QtGui.QApplication.translate("MainWindow", "-sao", None, QtGui.QApplication.UnicodeUTF8)) |
|
558 | 559 | self.btnTdevD.setText(QtGui.QApplication.translate("MainWindow", "Test DevD", None, QtGui.QApplication.UnicodeUTF8)) |
|
559 | 560 | self.lblDevice.setText(QtGui.QApplication.translate("MainWindow", "Device", None, QtGui.QApplication.UnicodeUTF8)) |
|
560 | 561 | self.lblBspeed.setText(QtGui.QApplication.translate("MainWindow", "Burn Speed", None, QtGui.QApplication.UnicodeUTF8)) |
|
561 | 562 | self.lblBmode.setText(QtGui.QApplication.translate("MainWindow", "Burn Mode", None, QtGui.QApplication.UnicodeUTF8)) |
|
562 | 563 | self.lblBprocess.setText(QtGui.QApplication.translate("MainWindow", "Burning process", None, QtGui.QApplication.UnicodeUTF8)) |
|
563 | 564 | self.chkSimultaneously.setText(QtGui.QApplication.translate("MainWindow", "Simultaneously", None, QtGui.QApplication.UnicodeUTF8)) |
|
564 | 565 | self.chkSequentially.setText(QtGui.QApplication.translate("MainWindow", "Sequentially", None, QtGui.QApplication.UnicodeUTF8)) |
|
565 | 566 | self.lblDcapacity.setText(QtGui.QApplication.translate("MainWindow", "Device Capacity (MB)", None, QtGui.QApplication.UnicodeUTF8)) |
|
566 | 567 | self.chkSalert.setText(QtGui.QApplication.translate("MainWindow", "Sound Alert", None, QtGui.QApplication.UnicodeUTF8)) |
|
567 | 568 | self.lstDcapacity.setItemText(0, QtGui.QApplication.translate("MainWindow", "BluRay [25.0 GB]", None, QtGui.QApplication.UnicodeUTF8)) |
|
568 | 569 | self.lstDcapacity.setItemText(1, QtGui.QApplication.translate("MainWindow", "DVD2 [8.5 GB]", None, QtGui.QApplication.UnicodeUTF8)) |
|
569 | 570 | self.lstDcapacity.setItemText(2, QtGui.QApplication.translate("MainWindow", "DVD1 [4.7 GB]", None, QtGui.QApplication.UnicodeUTF8)) |
|
570 | 571 | self.lstDcapacity.setItemText(3, QtGui.QApplication.translate("MainWindow", "CD [0.7 GB]", None, QtGui.QApplication.UnicodeUTF8)) |
|
571 | 572 | self.lstDcapacity.setItemText(4, QtGui.QApplication.translate("MainWindow", "Other [? GB]", None, QtGui.QApplication.UnicodeUTF8)) |
|
572 | 573 | self.chkPSgraphic.setText(QtGui.QApplication.translate("MainWindow", "PS Graphic", None, QtGui.QApplication.UnicodeUTF8)) |
|
573 | 574 | self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabDconfig), QtGui.QApplication.translate("MainWindow", "Device Config.", None, QtGui.QApplication.UnicodeUTF8)) |
|
574 | 575 | self.lblSTATUS.setText(QtGui.QApplication.translate("MainWindow", "STATUS", None, QtGui.QApplication.UnicodeUTF8)) |
|
575 | 576 | self.lblINFO.setText(QtGui.QApplication.translate("MainWindow", "INFO", None, QtGui.QApplication.UnicodeUTF8)) |
|
576 | 577 | self.lblSET.setText(QtGui.QApplication.translate("MainWindow", "SET", None, QtGui.QApplication.UnicodeUTF8)) |
|
577 | 578 | self.lblDevA.setText(QtGui.QApplication.translate("MainWindow", "DEV A", None, QtGui.QApplication.UnicodeUTF8)) |
|
578 | 579 | self.lblDevB.setText(QtGui.QApplication.translate("MainWindow", "DEV B", None, QtGui.QApplication.UnicodeUTF8)) |
|
579 | 580 | self.lblDevC.setText(QtGui.QApplication.translate("MainWindow", "DEV C", None, QtGui.QApplication.UnicodeUTF8)) |
|
580 | 581 | self.lblDevD.setText(QtGui.QApplication.translate("MainWindow", "DEV D", None, QtGui.QApplication.UnicodeUTF8)) |
|
581 | 582 | self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabSburn), QtGui.QApplication.translate("MainWindow", "Status Burn", None, QtGui.QApplication.UnicodeUTF8)) |
|
582 | 583 | self.btnGbkp.setText(QtGui.QApplication.translate("MainWindow", "Generate Bkp", None, QtGui.QApplication.UnicodeUTF8)) |
|
583 | 584 | self.btnRestart.setText(QtGui.QApplication.translate("MainWindow", "Restart", None, QtGui.QApplication.UnicodeUTF8)) |
|
584 | 585 | self.btnStartburn.setText(QtGui.QApplication.translate("MainWindow", "Start Burn", None, QtGui.QApplication.UnicodeUTF8)) |
|
585 | 586 | self.btnStopburn.setText(QtGui.QApplication.translate("MainWindow", "Stop Burn", None, QtGui.QApplication.UnicodeUTF8)) |
|
586 | self.menuFile.setTitle(QtGui.QApplication.translate("MainWindow", "File", None, QtGui.QApplication.UnicodeUTF8)) | |
|
587 | 587 | self.menuParameters.setTitle(QtGui.QApplication.translate("MainWindow", "Parameters", None, QtGui.QApplication.UnicodeUTF8)) |
|
588 | 588 | self.menuHelp.setTitle(QtGui.QApplication.translate("MainWindow", "Help", None, QtGui.QApplication.UnicodeUTF8)) |
|
589 | self.menuFile.setTitle(QtGui.QApplication.translate("MainWindow", "File", None, QtGui.QApplication.UnicodeUTF8)) | |
|
589 | 590 | self.actionChange_Parameters.setText(QtGui.QApplication.translate("MainWindow", "Change Parameters", None, QtGui.QApplication.UnicodeUTF8)) |
|
590 | 591 | self.actionSave_Config.setText(QtGui.QApplication.translate("MainWindow", "Save Config", None, QtGui.QApplication.UnicodeUTF8)) |
|
591 | 592 | self.actionQuit.setText(QtGui.QApplication.translate("MainWindow", "Quit", None, QtGui.QApplication.UnicodeUTF8)) |
|
592 | 593 | self.actionAbout.setText(QtGui.QApplication.translate("MainWindow", "About", None, QtGui.QApplication.UnicodeUTF8)) |
|
593 | 594 | |
|
594 | 595 | |
|
595 | 596 | if __name__ == "__main__": |
|
596 | 597 | import sys |
|
597 | 598 | app = QtGui.QApplication(sys.argv) |
|
598 | 599 | MainWindow = QtGui.QMainWindow() |
|
599 | 600 | ui = Ui_MainWindow() |
|
600 | 601 | ui.setupUi(MainWindow) |
|
601 | 602 | MainWindow.show() |
|
602 | 603 | sys.exit(app.exec_()) |
|
603 | 604 |
General Comments 0
You need to be logged in to leave comments.
Login now