##// END OF EJS Templates
segun diagrama 2da parte ...
ralonso -
r77:78
parent child
Show More
@@ -1,281 +1,321
1 # -*- coding: utf-8 -*- No newline at end of file
1 # -*- coding: utf-8 -*-
2 No newline at end of file
2
3 #class BKmanager: No newline at end of file
3 #class BKmanager:
4 # def __init__(self): No newline at end of file
4 # def __init__(self):
5 No newline at end of file
5
6 from subprocess import * No newline at end of file
6 from subprocess import *
7 import sys No newline at end of file
7 import sys
8 import os No newline at end of file
8 import os
9 import subprocess No newline at end of file
9 import subprocess
10 import commands No newline at end of file
10 import commands
11 import shutil No newline at end of file
11 import shutil
12 No newline at end of file
12
13 #--------------------------------------------- Entero a cadena agregando ceros delante ------------------------------------------------- No newline at end of file
13 #--------------------------------------------- Entero a cadena agregando ceros delante -------------------------------------------------
14 No newline at end of file
14
15 def i2s(var_n, var_length=4): No newline at end of file
15 def i2s(var_n, var_length=4):
16 var_n2=str(var_n) No newline at end of file
16 var_n2=str(var_n)
17 while len(var_n2) < var_length: No newline at end of file
17 while len(var_n2) < var_length:
18 var_n2 = "0"+var_n2 No newline at end of file
18 var_n2 = "0"+var_n2
19 return var_n2 No newline at end of file
19 return var_n2
20 No newline at end of file
20
21 No newline at end of file
21
22 #----------------------------------------- Se verifica que la ruta exista y sea un directorio ------------------------------------------------- No newline at end of file
22 #----------------------------------------- Se verifica que la ruta exista y sea un directorio -------------------------------------------------
23 No newline at end of file
23
24 def dir_exists(var_dir, self): No newline at end of file
24 def dir_exists(var_dir, self):
25 if os.path.isdir(var_dir): No newline at end of file
25 if os.path.isdir(var_dir):
26 return True No newline at end of file
26 return True
27 else: No newline at end of file
27 else:
28 self.txtInfo.append("Incorrect path:" + str(var_dir)) No newline at end of file
28 self.txtInfo.append("Incorrect path:" + str(var_dir))
29 return False No newline at end of file
29 return False
30 No newline at end of file
30
31 No newline at end of file
31
32 #-------------------------------- Se buscan los archivos del tipo especificado y se cargan las fechas ----------------------------- No newline at end of file
32 #-------------------------------- Se buscan los archivos del tipo especificado y se cargan las fechas -----------------------------
33 No newline at end of file
33
34 def load_days(self): No newline at end of file
34 def load_days(self):
35 No newline at end of file
35
36 self.var_list=[] No newline at end of file
36 self.var_list=[]
37 self.lstStartDay.clear() No newline at end of file
37 self.lstStartDay.clear()
38 self.lstStopDay.clear() No newline at end of file
38 self.lstStopDay.clear()
39 No newline at end of file
39
40 if self.statusDpath == False: No newline at end of file
40 if self.statusDpath == False:
41 self.btnGbkp.setEnabled(False) No newline at end of file
41 self.btnGbkp.setEnabled(False)
42 return No newline at end of file
42 return
43 No newline at end of file
43
44 if self.var_Dtype == '': No newline at end of file
44 if self.var_Dtype == '':
45 return No newline at end of file
45 return
46 No newline at end of file
46
47 var_cmd="find " + str(self.var_Dpath) + " -name *."+ str(self.var_Dtype) +" | awk -F/ '{print substr($NF,2,7)}' | sort| uniq" No newline at end of file
47 var_cmd="find " + str(self.var_Dpath) + " -name *."+ str(self.var_Dtype) +" | awk -F/ '{print substr($NF,2,7)}' | sort| uniq"
48 output=commands.getstatusoutput(var_cmd)[1] No newline at end of file
48 output=commands.getstatusoutput(var_cmd)[1]
49 No newline at end of file
49
50 #Si no se encuentra ningun archivo No newline at end of file
50 #Si no se encuentra ningun archivo
51 if len(output) == 0: No newline at end of file
51 if len(output) == 0:
52 self.txtInfo.append("File not found") No newline at end of file
52 self.txtInfo.append("File not found")
53 self.btnGbkp.setEnabled(False) No newline at end of file
53 self.btnGbkp.setEnabled(False)
54 return No newline at end of file
54 return
55 No newline at end of file
55
56 #Se cargan las listas para seleccionar StartDay y StopDay (QComboBox) No newline at end of file
56 #Se cargan las listas para seleccionar StartDay y StopDay (QComboBox)
57 for i in range(0, (len(output)+1)/8): No newline at end of file
57 for i in range(0, (len(output)+1)/8):
58 self.var_list.append(output[8*i:8*(i+1)-1]) No newline at end of file
58 self.var_list.append(output[8*i:8*(i+1)-1])
59 No newline at end of file
59
60 for i in self.var_list: No newline at end of file
60 for i in self.var_list:
61 self.lstStartDay.addItem(i) No newline at end of file
61 self.lstStartDay.addItem(i)
62 self.lstStopDay.addItem(i) No newline at end of file
62 self.lstStopDay.addItem(i)
63 self.lstStopDay.setCurrentIndex(self.lstStartDay.count()-1) No newline at end of file
63 self.lstStopDay.setCurrentIndex(self.lstStartDay.count()-1)
64 No newline at end of file
64
65 get_sub_list(self) No newline at end of file
65 get_sub_list(self)
66 self.btnGbkp.setEnabled(True) No newline at end of file
66 self.btnGbkp.setEnabled(True)
67 No newline at end of file
67
68 No newline at end of file
68
69 #-------------------------------------------------- Obtiene el rango de las fechas seleccionadas ----------------------------------------- No newline at end of file
69 #-------------------------------------------------- Obtiene el rango de las fechas seleccionadas -----------------------------------------
70 No newline at end of file
70
71 def get_sub_list(self): No newline at end of file
71 def get_sub_list(self):
72 self.var_sublist=[] No newline at end of file
72 self.var_sublist=[]
73 for i in self.var_list[self.lstStartDay.currentIndex():self.lstStartDay.currentIndex() + self.lstStopDay.currentIndex()+1]: No newline at end of file
73 for i in self.var_list[self.lstStartDay.currentIndex():self.lstStartDay.currentIndex() + self.lstStopDay.currentIndex()+1]:
74 self.var_sublist.append(i) No newline at end of file
74 self.var_sublist.append(i)
75 No newline at end of file
75
76 No newline at end of file
76
77 #----------------------------------------------------- Verifica los parametros faltantes ----------------------------------------------------------- No newline at end of file
77 #----------------------------------------------------- Verifica los parametros faltantes -----------------------------------------------------------
78 No newline at end of file
78
79 def validate_parameters(self): No newline at end of file
79 def validate_parameters(self):
80 #Verifica que las ruta del proyecto sea valida No newline at end of file
80 #Verifica que las ruta del proyecto sea valida
81 if self.statusRpath == False: No newline at end of file
81 if self.statusRpath == False:
82 self.txtInfo.append("Incorrect proyect path") No newline at end of file
82 self.txtInfo.append("Incorrect proyect path")
83 return False No newline at end of file
83 return False
84 No newline at end of file
84
85 #Verifica la etiqueta No newline at end of file
85 #Verifica la etiqueta
86 if len(self.var_Elabel) == 0: No newline at end of file
86 if len(self.var_Elabel) == 0:
87 self.txtInfo.append("Enter label") No newline at end of file
87 self.txtInfo.append("Enter label")
88 return False No newline at end of file
88 return False
89 No newline at end of file
89
90 return True No newline at end of file
90 return True
91 No newline at end of file
91
92 No newline at end of file
92
93 #------------------------------------------------- Crea directorios en la ruta indicada ----------------------------------------------------------- No newline at end of file
93 #------------------------------------------------- Crea directorios en la ruta indicada -----------------------------------------------------------
94 No newline at end of file
94
95 def make_dirs(list_dirs, self): No newline at end of file
95 def make_dirs(list_dirs, self):
96 """ No newline at end of file
96 """
97 No newline at end of file
97
98 """ No newline at end of file
98 """
99 No newline at end of file
99
100 for var_dir in list_dirs: No newline at end of file
100 for var_dir in list_dirs:
101 shutil.rmtree(self.var_Rpath+'/'+var_dir, True) No newline at end of file
101 shutil.rmtree(self.var_Rpath+'/'+var_dir, True)
102 var_output=commands.getstatusoutput("mkdir -p "+self.var_Rpath+'/'+var_dir)[0] No newline at end of file
102 var_output=commands.getstatusoutput("mkdir -p "+self.var_Rpath+'/'+var_dir)[0]
103 if var_output != 0: No newline at end of file
103 if var_output != 0:
104 self.txtInfo.append("Error creating directory: "+var_dir+", output_error:" + str(var_output)) No newline at end of file
104 self.txtInfo.append("Error creating directory: "+var_dir+", output_error:" + str(var_output))
105 return False No newline at end of file
105 return False
106 self.txtInfo.append('Directories created correctly') No newline at end of file
106 self.txtInfo.append('Directories created correctly')
107 return True No newline at end of file
107 return True
108 No newline at end of file
108
109 No newline at end of file
109
110 #-------------------------------------------- Busca los archivos con los parametros de busqueda --------------------------------------- No newline at end of file
110 #-------------------------------------------- Busca los archivos con los parametros de busqueda ---------------------------------------
111 No newline at end of file
111
112 def list_files(self): No newline at end of file
112 def list_files(self):
113 var_files_list=[] No newline at end of file
113 var_files_list=[]
114 for var_doy in self.var_sublist: No newline at end of file
114 for var_doy in self.var_sublist:
115 var_cmd="find " + str(self.var_Dpath) + " -name ?"+var_doy+"???."+ str(self.var_Dtype) + " |sort" No newline at end of file
115 var_cmd="find " + str(self.var_Dpath) + " -name ?"+var_doy+"???."+ str(self.var_Dtype) + " |sort"
116 var_output=commands.getstatusoutput(var_cmd)[1] No newline at end of file
116 var_output=commands.getstatusoutput(var_cmd)[1]
117 for var_file in var_output.split(): No newline at end of file
117 for var_file in var_output.split():
118 var_files_list.append(var_file) #Almacena cada archivo en la lista No newline at end of file
118 var_files_list.append(var_file) #Almacena cada archivo en la lista
119 return var_files_list No newline at end of file
119 return var_files_list
120 No newline at end of file
120
121 No newline at end of file
121
122 #--------------- Genera la lista de archivos .dat que contienen los archivos a grabar en cada DVD ----------------------- No newline at end of file
122 #--------------- Genera la lista de archivos .dat que contienen los archivos a grabar en cada DVD -----------------------
123 No newline at end of file
123
124 def make_files_dat(var_files_list, self): No newline at end of file
124 def make_files_dat(var_files_list, self):
125 var_Rpath_ppath=self.var_Rpath+"/ppath" #Ruta de los archivos a grabar No newline at end of file
125 var_Rpath_ppath=self.var_Rpath+"/ppath" #Ruta de los archivos a grabar
126 var_n=1 #Numero del DVD actual No newline at end of file
126 var_n=1 #Numero del DVD actual
127 var_tmp=0 #Se usa para acumular el tamaΓ±o de los archivos de la lista No newline at end of file
127 var_tmp=0 #Se usa para acumular el tamaΓ±o de los archivos de la lista
128 var_files_list_2=[] #Se usa para almacenar la lista de archivos agrbar en cada DVD No newline at end of file
128 var_files_list_2=[] #Se usa para almacenar la lista de archivos agrbar en cada DVD
129 No newline at end of file
129
130 for i in var_files_list: #Se asignan en i los archivos de la lista No newline at end of file
130 for i in var_files_list: #Se asignan en i los archivos de la lista
131 No newline at end of file
131
132 var_size_i=os.path.getsize(i)/1024+1 #tamaΓ±o en KB del archivo de la lista, se suma 1 KB para evitar problemas al momento de sumar No newline at end of file
132 var_size_i=os.path.getsize(i)/1024+1 #tamaΓ±o en KB del archivo de la lista, se suma 1 KB para evitar problemas al momento de sumar
133 var_tmp += var_size_i #Se acumulan el tamaΓ±o de los archivos de la lista No newline at end of file
133 var_tmp += var_size_i #Se acumulan el tamaΓ±o de los archivos de la lista
134 No newline at end of file
134
135 #Si el tamaΓ±o acumulado es mayor que el de el DVD No newline at end of file
135 #Si el tamaΓ±o acumulado es mayor que el de el DVD
136 if var_tmp > (self.var_Dcapacity * 1024): No newline at end of file
136 if var_tmp > (self.var_Dcapacity * 1024):
137 var_tmp -= var_size_i #se quita el tamaΓ±o sumado para mostrar el tamaΓ±o real No newline at end of file
137 var_tmp -= var_size_i #se quita el tamaΓ±o sumado para mostrar el tamaΓ±o real
138 #se crea un archivo con numeral en el sufijo y extension .dat No newline at end of file
138 #se crea un archivo con numeral en el sufijo y extension .dat
139 var_file = open(var_Rpath_ppath+"/"+self.var_Elabel+"_"+i2s(var_n)+".dat","w") No newline at end of file
139 var_file = open(var_Rpath_ppath+"/"+self.var_Elabel+"_"+i2s(var_n)+".dat","w")
140 #Se aΓ±ade la lista de archivos a grabar en el DVD al archivo .dat No newline at end of file
140 #Se aΓ±ade la lista de archivos a grabar en el DVD al archivo .dat
141 for line in var_files_list_2: No newline at end of file
141 for line in var_files_list_2:
142 var_tmp_path=line.split(self.var_Dpath)[1][:-13] No newline at end of file
142 var_tmp_path=line.split(self.var_Dpath)[1][:-13]
143 var_file.write(var_tmp_path+'='+line+'\n') No newline at end of file
143 var_file.write(var_tmp_path+'='+line+'\n')
144 var_file.close() No newline at end of file
144 var_file.close()
145 No newline at end of file
145
146 var_tmp = var_size_i #Se asigna a la variable el tamaΓ±o del archivo actual No newline at end of file
146 var_tmp = var_size_i #Se asigna a la variable el tamaΓ±o del archivo actual
147 var_files_list_2=[] #Se reinicia la lista No newline at end of file
147 var_files_list_2=[] #Se reinicia la lista
148 var_n += 1 No newline at end of file
148 var_n += 1
149 var_files_list_2.append(i) No newline at end of file
149 var_files_list_2.append(i)
150 No newline at end of file
150
151 #se crea un archivo con numeral en el sufijo y extension .dat No newline at end of file
151 #se crea un archivo con numeral en el sufijo y extension .dat
152 var_file = open(var_Rpath_ppath+"/"+self.var_Elabel+"_"+i2s(var_n)+".dat","w") No newline at end of file
152 var_file = open(var_Rpath_ppath+"/"+self.var_Elabel+"_"+i2s(var_n)+".dat","w")
153 #Se aΓ±ade la lista de archivos a grabar en el DVD al archivo .dat No newline at end of file
153 #Se aΓ±ade la lista de archivos a grabar en el DVD al archivo .dat
154 for line in var_files_list_2: No newline at end of file
154 for line in var_files_list_2:
155 var_tmp_path=line.split(self.var_Dpath)[1][:-13] No newline at end of file
155 var_tmp_path=line.split(self.var_Dpath)[1][:-13]
156 var_file.write(var_tmp_path+'='+line+'\n') No newline at end of file
156 var_file.write(var_tmp_path+'='+line+'\n')
157 var_file.close() No newline at end of file
157 var_file.close()
158 No newline at end of file
158
159 self.txtInfo.append("configuration files created") No newline at end of file
159 self.txtInfo.append("configuration files created")
160 return var_n No newline at end of file
160 return var_n
161 No newline at end of file
161
162 No newline at end of file
162
163 #------------------------------ Genera los archivos .print con los cuales se creara los postscript ----------------------------------- No newline at end of file
163 #------------------------------ Genera los archivos .print con los cuales se creara los postscript -----------------------------------
164 No newline at end of file
164
165 def make_files_print(self): No newline at end of file
165 def make_files_print(self):
166 No newline at end of file
166
167 var_Rpath_ppath=self.var_Rpath+"/ppath" #Ruta de los archivos a grabar No newline at end of file
167 var_Rpath_ppath=self.var_Rpath+"/ppath" #Ruta de los archivos a grabar
168 var_Rpath_gpath=self.var_Rpath+"/gpath" #Ruta de los archivos postscript No newline at end of file
168 var_Rpath_gpath=self.var_Rpath+"/gpath" #Ruta de los archivos postscript
169 var_labels=[] No newline at end of file
169 var_labels=[]
170 for m in range (0, self.txtPSgraphic.value() - 1): No newline at end of file
170 for m in range (0, self.txtPSgraphic.value() - 1):
171 var_lines = "\n" * 9 No newline at end of file
171 var_lines = "\n" * 9
172 var_labels.append(var_lines) No newline at end of file
172 var_labels.append(var_lines)
173 No newline at end of file
173
174 # Se leen todos los archivos .dat creados para crear las etiquetas en los archivos .print No newline at end of file
174 # Se leen todos los archivos .dat creados para crear las etiquetas en los archivos .print
175 for var_n in range(1, self.var_Discs + 1): No newline at end of file
175 for var_n in range(1, self.var_Discs + 1):
176 No newline at end of file
176
177 #se abren los archivos .dat en modo lectura No newline at end of file
177 #se abren los archivos .dat en modo lectura
178 var_file = open(var_Rpath_ppath+"/"+self.var_Elabel+"_"+i2s(var_n)+".dat","r") No newline at end of file
178 var_file = open(var_Rpath_ppath+"/"+self.var_Elabel+"_"+i2s(var_n)+".dat","r")
179 lines=var_file.readlines() # Se lee las lineas en el archivo y se almacenan en la lista No newline at end of file
179 lines=var_file.readlines() # Se lee las lineas en el archivo y se almacenan en la lista
180 var_file.close() No newline at end of file
180 var_file.close()
181 list_files=[] No newline at end of file
181 list_files=[]
182 var_lines=[] No newline at end of file
182 var_lines=[]
183 No newline at end of file
183
184 for j in range(0, len(lines)): No newline at end of file
184 for j in range(0, len(lines)):
185 No newline at end of file
185
186 if j == 0: No newline at end of file
186 if j == 0:
187 var_first_folder = lines[j].split('=')[0] No newline at end of file
187 var_first_folder = lines[j].split('=')[0]
188 var_first_file = (lines[j].split('=')[1])[:-1] No newline at end of file
188 var_first_file = (lines[j].split('=')[1])[:-1]
189 continue No newline at end of file
189 continue
190 No newline at end of file
190
191 var_tmp_folder = lines[j].split('=')[0] No newline at end of file
191 var_tmp_folder = lines[j].split('=')[0]
192 var_tmp_file = (lines[j].split('=')[1])[:-1] No newline at end of file
192 var_tmp_file = (lines[j].split('=')[1])[:-1]
193 No newline at end of file
193
194 # Si el subfolder superior o el DOY del archivo actual y el anterior son diferentes No newline at end of file
194 # Si el subfolder superior o el DOY del archivo actual y el anterior son diferentes
195 if (var_tmp_folder != var_first_folder) or (var_tmp_file[0:-5] != var_first_file[0:-5]): No newline at end of file
195 if (var_tmp_folder != var_first_folder) or (var_tmp_file[0:-5] != var_first_file[0:-5]):
196 var_last_file = (lines[j-1].split('=')[1])[:-1] No newline at end of file
196 var_last_file = (lines[j-1].split('=')[1])[:-1]
197 list_files.append([var_first_folder, var_first_file, var_last_file]) No newline at end of file
197 list_files.append([var_first_folder, var_first_file, var_last_file])
198 No newline at end of file
198
199 var_first_folder = lines[j].split('=')[0] No newline at end of file
199 var_first_folder = lines[j].split('=')[0]
200 var_first_file = (lines[j].split('=')[1])[:-1] No newline at end of file
200 var_first_file = (lines[j].split('=')[1])[:-1]
201 No newline at end of file
201
202 var_last_file = (lines[-1].split('=')[1])[:-1] No newline at end of file
202 var_last_file = (lines[-1].split('=')[1])[:-1]
203 list_files.append([var_first_folder, var_first_file, var_last_file]) No newline at end of file
203 list_files.append([var_first_folder, var_first_file, var_last_file])
204 No newline at end of file
204
205 var_lines2 = lines_print(list_files, self.var_Elabel) No newline at end of file
205 var_lines2 = lines_print(list_files, self.var_Elabel)
206 No newline at end of file
206
207 for k in range(0, len(var_lines2) / 5): No newline at end of file
207 for k in range(0, len(var_lines2) / 5):
208 var_lines=["\n"] No newline at end of file
208 var_lines=["\n"]
209 var_lines.append(" "+self.var_Elabel+" "+i2s(var_n)+"/"+i2s(self.var_Discs)+"\n") No newline at end of file
209 var_lines.append(" "+self.var_Elabel+" "+i2s(var_n)+"/"+i2s(self.var_Discs)+"\n")
210 var_lines.append("Year Doy Folder"+" "*6+"Set"+" "*9+"Time range\n") No newline at end of file
210 var_lines.append("Year Doy Folder"+" "*6+"Set"+" "*9+"Time range\n")
211 var_lines.extend(var_lines2[(5*k):(5*(k+1))]) No newline at end of file
211 var_lines.extend(var_lines2[(5*k):(5*(k+1))])
212 var_lines.append("\n") No newline at end of file
212 var_lines.append("\n")
213 var_labels.append(var_lines) No newline at end of file
213 var_labels.append(var_lines)
214 No newline at end of file
214
215 for i in range(0, (len(var_labels) // 33) +1 ): No newline at end of file
215 for i in range(0, (len(var_labels) // 33) +1 ):
216 var_file=var_Rpath_gpath+"/"+self.var_Elabel+"_"+i2s(i+1) No newline at end of file
216 var_file=var_Rpath_gpath+"/"+self.var_Elabel+"_"+i2s(i+1)
217 file_ps = open(var_file+".print","w") No newline at end of file
217 file_ps = open(var_file+".print","w")
218 if i == (len(var_labels) // 33): No newline at end of file
218 if i == (len(var_labels) // 33):
219 var_sub_labels = var_labels[33*i:] No newline at end of file
219 var_sub_labels = var_labels[33*i:]
220 else: No newline at end of file
220 else:
221 var_sub_labels = var_labels[33*i:33*(i+1)] No newline at end of file
221 var_sub_labels = var_labels[33*i:33*(i+1)]
222 No newline at end of file
222
223 for label in var_sub_labels: No newline at end of file
223 for label in var_sub_labels:
224 for line in label: No newline at end of file
224 for line in label:
225 file_ps.write(line) No newline at end of file
225 file_ps.write(line)
226 file_ps.close() No newline at end of file
226 file_ps.close()
227 var_cmd="enscript "+var_file+".print -p "+var_file+".ps -f Times-Roman7 " \ No newline at end of file
227 var_cmd="enscript "+var_file+".print -p "+var_file+".ps -f Times-Roman7 " \
228 +" -3R -j -B --margins=21.25:20.4:25.51:20 --media=A4" No newline at end of file
228 +" -3R -j -B --margins=21.25:20.4:25.51:20 --media=A4"
229 var_output=commands.getstatusoutput(var_cmd)[0] No newline at end of file
229 var_output=commands.getstatusoutput(var_cmd)[0]
230 No newline at end of file
230
231 No newline at end of file
231
232 def lines_print(list_files, var_Elabel): No newline at end of file
232 def lines_print(list_files, var_Elabel):
233 """ No newline at end of file
233 """
234 Devuelve las lineas del rango de archivos de cada etiqueta segun el formato No newline at end of file
234 Devuelve las lineas del rango de archivos de cada etiqueta segun el formato
235 """ No newline at end of file
235 """
236 var_lines=[] No newline at end of file
236 var_lines=[]
237 for i in list_files: No newline at end of file
237 for i in list_files:
238 No newline at end of file
238
239 # Si el archivo se grabara directamente en la / del DVD y no en un /directorio/ No newline at end of file
239 # Si el archivo se grabara directamente en la / del DVD y no en un /directorio/
240 # se usa la etiqueta para indicar la parte de la etiqueta donde va el subdirectorio No newline at end of file
240 # se usa la etiqueta para indicar la parte de la etiqueta donde va el subdirectorio
241 if i[0] == '/': No newline at end of file
241 if i[0] == '/':
242 var_folder = var_Elabel No newline at end of file
242 var_folder = var_Elabel
243 else: No newline at end of file
243 else:
244 var_folder = i[0].split('/')[-2] No newline at end of file
244 var_folder = i[0].split('/')[-2]
245 No newline at end of file
245
246 var_first_file = i[1] No newline at end of file
246 var_first_file = i[1]
247 var_last_file = i[2] No newline at end of file
247 var_last_file = i[2]
248 No newline at end of file
248
249 var_date_first_file=commands.getstatusoutput("date -r "+var_first_file+" +'%T'")[1] No newline at end of file
249 var_date_first_file=commands.getstatusoutput("date -r "+var_first_file+" +'%T'")[1]
250 var_date_last_file=commands.getstatusoutput("date -r "+var_last_file+" +'%T'")[1] No newline at end of file
250 var_date_last_file=commands.getstatusoutput("date -r "+var_last_file+" +'%T'")[1]
251 No newline at end of file
251
252 var_lines.append(var_first_file[-12:-8]+" "+var_first_file[-8:-5]+" "+var_folder +" "+var_first_file[-5:-2]+"-" No newline at end of file
252 var_lines.append(var_first_file[-12:-8]+" "+var_first_file[-8:-5]+" "+var_folder +" "+var_first_file[-5:-2]+"-"
253 +var_last_file[-5:-2]+" "+var_date_first_file+"-"+var_date_last_file+"\n") No newline at end of file
253 +var_last_file[-5:-2]+" "+var_date_first_file+"-"+var_date_last_file+"\n")
254 #Nos aseguramos que sea un mutiplo de 5 No newline at end of file
254 #Nos aseguramos que sea un mutiplo de 5
255 while (len(var_lines) % 5) != 0: No newline at end of file
255 while (len(var_lines) % 5) != 0:
256 var_lines.append("\n") No newline at end of file
256 var_lines.append("\n")
257 No newline at end of file
257
258 return var_lines No newline at end of file
258 return var_lines
259 No newline at end of file
259
260 #---------------------------------------comandos para el proceso de grabacion ------------------------------------------ No newline at end of file
260 def cmd_iso(self): No newline at end of file
261 def cmd_iso(self):
261 var_Rpath_ppath=self.var_Rpath+"/ppath" No newline at end of file
262 var_Rpath_ppath=self.var_Rpath+"/ppath"
262 var_Rpath_iso=self.var_Rpath+"/iso" No newline at end of file
263 var_Rpath_iso=self.var_Rpath+"/iso"
263 #comando para la creacion del archivo.iso No newline at end of file
264 #comando para la creacion del archivo.iso
264 file_dat=var_Rpath_ppath+"/"+self.var_Elabel+"_"+i2s(self.var_disc_n)+".dat" No newline at end of file
265 file_dat=var_Rpath_ppath+"/"+self.var_Elabel+"_"+i2s(self.var_disc_n)+".dat"
265 file_iso=var_Rpath_iso+"/"+i2s(self.var_disc_n)+".iso" No newline at end of file
266 file_iso=var_Rpath_iso+"/"+i2s(self.var_disc_n)+".iso"
266 var_cmd = 'genisoimage -hide-joliet-trans-tbl -joliet-long -r ' No newline at end of file
267 var_cmd = 'genisoimage -hide-joliet-trans-tbl -joliet-long -r '
267 var_cmd += ' -A '+self.var_Elabel+' -V '+self.var_Elabel No newline at end of file
268 var_cmd += ' -A '+self.var_Elabel+' -V '+self.var_Elabel
268 var_cmd += ' -graft-points -path-list '+ file_dat+' -o '+file_iso No newline at end of file
269 var_cmd += ' -graft-points -path-list '+ file_dat+' -o '+file_iso
269 return var_cmd No newline at end of file
270 return var_cmd
270
271
No newline at end of file
272 def cmd_burn(self):
271
No newline at end of file
No newline at end of file
273 var_Rpath_iso=self.var_Rpath+"/iso"
272 def next_var_disc(self, error = False):
No newline at end of file
No newline at end of file
274 file_iso=var_Rpath_iso+"/"+functions.i2s(self.var_disc_n)+".iso"
273 pass
No newline at end of file
No newline at end of file
275
274 # if self.var_copy_n < self.var_Copys:
No newline at end of file
No newline at end of file
276 var_index = ( ( (self.var_disc_n - 1) * self.var_Copys) + (self.var_copy_n - 1) - self.var_burned_discs ) % len(self.var_devices)
275 # self.var_copy_n += 1
No newline at end of file
No newline at end of file
277 var_dev_tmp = self.var_devices[var_index]
276 # self.var_step == 1:
No newline at end of file
No newline at end of file
278
277 #
No newline at end of file
No newline at end of file
279 var_cmd = "wodim -v dev="+var_dev_tmp+" speed=16 "+ file_iso
278 # if self.var_disc_n < self.var_Discs:
No newline at end of file
No newline at end of file
280 return var_cmd
279
No newline at end of file
No newline at end of file
281
280 pass
No newline at end of file
No newline at end of file
282 def remove_iso(self):
281 No newline at end of file
No newline at end of file
283 var_Rpath_iso=self.var_Rpath+"/iso"
No newline at end of file
284 file_iso=var_Rpath_iso+"/"+functions.i2s(self.var_disc_n)+".iso"
No newline at end of file
285
No newline at end of file
286 self.txtInfo.append("Deleting iso file: "+functions.i2s(self.var_disc_n)+".iso")
No newline at end of file
287
No newline at end of file
288 if os.path.isfile(file_iso):
No newline at end of file
289 os.remove(file_iso)
No newline at end of file
290
No newline at end of file
291 #Si es el ultimo disco se termina el proceso
No newline at end of file
292 def is_last_disc_and_copy(self):
No newline at end of file
293 if self.var_disc_n == self.var_Discs and self.var_copy_n == self.var_Copys:
No newline at end of file
294 self.function_final()
No newline at end of file
295 else:
No newline at end of file
296 next_disc(self)
No newline at end of file
297
No newline at end of file
298 #Define cual es el siguiente disco a grabar y que paso seguir
No newline at end of file
299 def next_disc(self, error = False):
No newline at end of file
300 if self.var_copy_n == self.var_Copys:
No newline at end of file
301 self.var_disc_n += 1
No newline at end of file
302 self.var_copy_n = 1
No newline at end of file
303 self.var_step = 0
No newline at end of file
304
No newline at end of file
305 else:
No newline at end of file
306 self.var_copy_n += 1
No newline at end of file
307 self.var_step = 1
No newline at end of file
308
No newline at end of file
309 var_index = ( ( (self.var_disc_n - 1) * self.var_Copys) + (self.var_copy_n - 1) - self.var_burned_discs ) % len(self.var_devices)
No newline at end of file
310
No newline at end of file
311 self.txtInfo.append("NEXT DISC: "+str(self.var_disc_n)+" COPY: "+str(self.var_copy_n)
No newline at end of file
312 +" INDEX: "+str(var_index)+" STEP: "+str(self.var_step))
No newline at end of file
313 self.txtInfo.append("\n")
No newline at end of file
314
No newline at end of file
315 if var_index == 0 :
No newline at end of file
316 self.function_eject()
No newline at end of file
317
No newline at end of file
318 elif self.var_step == 0:
No newline at end of file
319 self.function_iso()
No newline at end of file
320 elif self.var_step == 1:
No newline at end of file
321 self.function_burn() No newline at end of file
@@ -1,248 +1,246
1 # -*- coding: utf-8 -*- No newline at end of file
1 # -*- coding: utf-8 -*-
2 No newline at end of file
2
3 No newline at end of file
3
4 from subprocess import * No newline at end of file
4 from subprocess import *
5 import sys No newline at end of file
5 import sys
6 import os No newline at end of file
6 import os
7 import subprocess No newline at end of file
7 import subprocess
8 import commands No newline at end of file
8 import commands
9 No newline at end of file
9
10 #----------------------------------------------------- Deteccion de los dispositivos de grabacion --------------------------------------------------------------- No newline at end of file
10 #----------------------------------------------------- Deteccion de los dispositivos de grabacion ---------------------------------------------------------------
11 No newline at end of file
11
12 def detect_devices(self): No newline at end of file
12 def detect_devices(self):
13 """ No newline at end of file
13 """
14 Deteccion de los dispositvos de grabacion No newline at end of file
14 Deteccion de los dispositvos de grabacion
15 """ No newline at end of file
15 """
16 #var_cmd="wodim --devices | grep /dev/ | awk -F\' '{print $2}'" #Funciona en consola pero no en python ΒΏ? No newline at end of file
16 #var_cmd="wodim --devices | grep /dev/ | awk -F\' '{print $2}'" #Funciona en consola pero no en python ΒΏ?
17 var_cmd="wodim --devices | grep /dev/ | awk '{print $2}' | awk -F= '{print $2}'" No newline at end of file
17 var_cmd="wodim --devices | grep /dev/ | awk '{print $2}' | awk -F= '{print $2}'"
18 No newline at end of file
18
19 var_output = commands.getstatusoutput(var_cmd) No newline at end of file
19 var_output = commands.getstatusoutput(var_cmd)
20 if var_output[0] != 0: No newline at end of file
20 if var_output[0] != 0:
21 self.txtInfo.append("No recording devices") No newline at end of file
21 self.txtInfo.append("No recording devices")
22 else: No newline at end of file
22 else:
23 var_devices = var_output[1].split('\n') No newline at end of file
23 var_devices = var_output[1].split('\n')
24 No newline at end of file
24
25 var_tmp=[] No newline at end of file
25 var_tmp=[]
26 for i in range(0, 4): No newline at end of file
26 for i in range(0, 4):
27 if i < len(var_devices): No newline at end of file
27 if i < len(var_devices):
28 var_len = len(var_devices[i]) No newline at end of file
28 var_len = len(var_devices[i])
29 var_tmp.append(var_devices[i][1:var_len - 1]) No newline at end of file
29 var_tmp.append(var_devices[i][1:var_len - 1])
30 else: No newline at end of file
30 else:
31 var_tmp.append('') No newline at end of file
31 var_tmp.append('')
32 No newline at end of file
32
33 #Se escriben los dispostivos correspodientes, si existen No newline at end of file
33 #Se escriben los dispostivos correspodientes, si existen
34 self.txtDeviceA.setText(str(var_tmp[0])) No newline at end of file
34 self.txtDeviceA.setText(str(var_tmp[0]))
35 self.txtDeviceB.setText(str(var_tmp[1])) No newline at end of file
35 self.txtDeviceB.setText(str(var_tmp[1]))
36 self.txtDeviceC.setText(str(var_tmp[2])) No newline at end of file
36 self.txtDeviceC.setText(str(var_tmp[2]))
37 self.txtDeviceD.setText(str(var_tmp[3])) No newline at end of file
37 self.txtDeviceD.setText(str(var_tmp[3]))
38 #Se desactivan los que no existen No newline at end of file
38 #Se desactivan los que no existen
39 if len(var_tmp[0]) == 0 : No newline at end of file
39 if len(var_tmp[0]) == 0 :
40 self.chkDevA.setChecked(False) No newline at end of file
40 self.chkDevA.setChecked(False)
41 self.chkDevA.setEnabled(False) No newline at end of file
41 self.chkDevA.setEnabled(False)
42 if len(var_tmp[1]) == 0 : No newline at end of file
42 if len(var_tmp[1]) == 0 :
43 self.chkDevB.setChecked(False) No newline at end of file
43 self.chkDevB.setChecked(False)
44 self.chkDevB.setEnabled(False) No newline at end of file
44 self.chkDevB.setEnabled(False)
45 if len(var_tmp[2]) == 0 : No newline at end of file
45 if len(var_tmp[2]) == 0 :
46 self.chkDevC.setChecked(False) No newline at end of file
46 self.chkDevC.setChecked(False)
47 self.chkDevC.setEnabled(False) No newline at end of file
47 self.chkDevC.setEnabled(False)
48 if len(var_tmp[3]) == 0 : No newline at end of file
48 if len(var_tmp[3]) == 0 :
49 self.chkDevD.setChecked(False) No newline at end of file
49 self.chkDevD.setChecked(False)
50 self.chkDevD.setEnabled(False) No newline at end of file
50 self.chkDevD.setEnabled(False)
51 No newline at end of file
51
52 #----------------------------------- expulsa los dispositivos de grabacion -------------------------------------------- No newline at end of file
52 #----------------------------------- expulsa los dispositivos de grabacion --------------------------------------------
53 No newline at end of file
53
54 def eject_devices(self):
54 def eject_devices(self):
No newline at end of file
55 self.txtInfo.append("Ejecting recording devices")
No newline at end of file
56 return No newline at end of file
57 for var_dev in self.var_devices: No newline at end of file
55 for var_dev in self.var_devices:
58 var_cmd = 'eject ' + var_dev No newline at end of file
56 var_cmd = 'eject ' + var_dev
59 commands.getstatusoutput(var_cmd) No newline at end of file
57 commands.getstatusoutput(var_cmd)
60 No newline at end of file
58
61 #----------------------------------- listado de los dispositivos de grabacion seleccionados -------------------------------------------- No newline at end of file
59 #----------------------------------- listado de los dispositivos de grabacion seleccionados --------------------------------------------
62 No newline at end of file
60
63 def selected_devices(self): No newline at end of file
61 def selected_devices(self):
64 self.var_devices=[] No newline at end of file
62 self.var_devices=[]
65 if self.chkDevA.isChecked(): No newline at end of file
63 if self.chkDevA.isChecked():
66 self.var_devices.append(str(self.txtDeviceA.text())) No newline at end of file
64 self.var_devices.append(str(self.txtDeviceA.text()))
67 if self.chkDevB.isChecked(): No newline at end of file
65 if self.chkDevB.isChecked():
68 self.var_devices.append(str(self.txtDeviceB.text())) No newline at end of file
66 self.var_devices.append(str(self.txtDeviceB.text()))
69 if self.chkDevC.isChecked(): No newline at end of file
67 if self.chkDevC.isChecked():
70 self.var_devices.append(str(self.txtDeviceC.text())) No newline at end of file
68 self.var_devices.append(str(self.txtDeviceC.text()))
71 if self.chkDevD.isChecked(): No newline at end of file
69 if self.chkDevD.isChecked():
72 self.var_devices.append(str(self.txtDeviceD.text())) No newline at end of file
70 self.var_devices.append(str(self.txtDeviceD.text()))
73 No newline at end of file
71
74 if len(self.var_devices) == 0: No newline at end of file
72 if len(self.var_devices) == 0:
75 return False No newline at end of file
73 return False
76 else: No newline at end of file
74 else:
77 return True No newline at end of file
75 return True
78 No newline at end of file
76
79 No newline at end of file
77
80 #----------------------------------------------------- Inicializacion para pruebas--------------------------------------------------------------- No newline at end of file
78 #----------------------------------------------------- Inicializacion para pruebas---------------------------------------------------------------
81 No newline at end of file
79
82 def set_parameters_test(self): No newline at end of file
80 def set_parameters_test(self):
83 """ No newline at end of file
81 """
84 Se usa para inicializar ciertos parametros para pruebas No newline at end of file
82 Se usa para inicializar ciertos parametros para pruebas
85 """ No newline at end of file
83 """
86 self.txtDpath.setText('/home/ricardoar/optional/STORAGE/EW_DRIFTS') No newline at end of file
84 self.txtDpath.setText('/home/ricardoar/optional/STORAGE/EW_DRIFTS')
87 self.txtRpath.setText('/home/ricardoar/optional/prueba1_jro_backup_manager') No newline at end of file
85 self.txtRpath.setText('/home/ricardoar/optional/prueba1_jro_backup_manager')
88 self.txtElabel.setText('EW_DRIFTS_pruebas') No newline at end of file
86 self.txtElabel.setText('EW_DRIFTS_pruebas')
89 self.lstDcapacity.setCurrentIndex(4) No newline at end of file
87 self.lstDcapacity.setCurrentIndex(4)
90 self.txtDcapacity.setValue(100.0) No newline at end of file
88 self.txtDcapacity.setValue(100.0)
91 self.txtDcapacity.setReadOnly(False) No newline at end of file
89 self.txtDcapacity.setReadOnly(False)
92 No newline at end of file
90
93 def set_devices_test(self): No newline at end of file
91 def set_devices_test(self):
94 self.txtDeviceA.setText("/dev/scd0") No newline at end of file
92 self.txtDeviceA.setText("/dev/scd0")
95 self.txtDeviceB.setText("/dev/scd1") No newline at end of file
93 self.txtDeviceB.setText("/dev/scd1")
96 self.txtDeviceC.setText("/dev/scd2") No newline at end of file
94 self.txtDeviceC.setText("/dev/scd2")
97 self.txtDeviceD.setText("/dev/scd3") No newline at end of file
95 self.txtDeviceD.setText("/dev/scd3")
98 No newline at end of file
96
99 No newline at end of file
97
100 No newline at end of file
98
101 #----------------------------------------------------- crea parameters.conf --------------------------------------------------------------- No newline at end of file
99 #----------------------------------------------------- crea parameters.conf ---------------------------------------------------------------
102 No newline at end of file
100
103 def make_parameters_conf(self): No newline at end of file
101 def make_parameters_conf(self):
104 var_file = open("parameters.conf","w") No newline at end of file
102 var_file = open("parameters.conf","w")
105 var_file.write(self.var_Dpath+"\n") #0 Ruta de los datos No newline at end of file
103 var_file.write(self.var_Dpath+"\n") #0 Ruta de los datos
106 var_file.write(self.var_Rpath+"\n") #1 Ruta del proyecto No newline at end of file
104 var_file.write(self.var_Rpath+"\n") #1 Ruta del proyecto
107 var_file.write(str(self.var_lstDtype)+"\n") #2 opcion Data Type No newline at end of file
105 var_file.write(str(self.var_lstDtype)+"\n") #2 opcion Data Type
108 var_file.write(self.var_Dtype+"\n") #3 extension Data Type No newline at end of file
106 var_file.write(self.var_Dtype+"\n") #3 extension Data Type
109 var_file.write(self.var_Elabel+"\n") #4 etiqueta No newline at end of file
107 var_file.write(self.var_Elabel+"\n") #4 etiqueta
110 var_file.write(str(self.var_Copys)+"\n") #5 Numero de copias No newline at end of file
108 var_file.write(str(self.var_Copys)+"\n") #5 Numero de copias
111 var_file.write(str(self.var_lstDcapacity)+"\n") #6 opcion Device Capacity No newline at end of file
109 var_file.write(str(self.var_lstDcapacity)+"\n") #6 opcion Device Capacity
112 var_file.write(str(self.var_Dcapacity)+"\n") #7 tamaΓ±o Device Capacity No newline at end of file
110 var_file.write(str(self.var_Dcapacity)+"\n") #7 tamaΓ±o Device Capacity
113 var_file.write(str(self.var_Discs)+"\n") #8 Numero de discos a grabar No newline at end of file
111 var_file.write(str(self.var_Discs)+"\n") #8 Numero de discos a grabar
114 # var_file.write(str(self.lstStartDay.currentIndex())+"\n") #9 Indice fecha inicial No newline at end of file
112 # var_file.write(str(self.lstStartDay.currentIndex())+"\n") #9 Indice fecha inicial
115 # var_file.write(str(self.lstStopDay.currentIndex())+"\n") #10 Indice fecha final No newline at end of file
113 # var_file.write(str(self.lstStopDay.currentIndex())+"\n") #10 Indice fecha final
116 var_file.close() No newline at end of file
114 var_file.close()
117 No newline at end of file
115
118 #----------------------------------------------------- carga parameters.conf --------------------------------------------------------------- No newline at end of file
116 #----------------------------------------------------- carga parameters.conf ---------------------------------------------------------------
119 No newline at end of file
117
120 def get_parameters_conf(self): No newline at end of file
118 def get_parameters_conf(self):
121 var_file = open("parameters.conf","r") No newline at end of file
119 var_file = open("parameters.conf","r")
122 lines = var_file.readlines() No newline at end of file
120 lines = var_file.readlines()
123 self.txtDpath.setText(lines[0][:-1]) #0 No newline at end of file
121 self.txtDpath.setText(lines[0][:-1]) #0
124 self.txtRpath.setText(lines[1][:-1]) #1 No newline at end of file
122 self.txtRpath.setText(lines[1][:-1]) #1
125 self.lstDtype.setCurrentIndex(int(lines[2])) #2 No newline at end of file
123 self.lstDtype.setCurrentIndex(int(lines[2])) #2
126 self.txtDtype.setText(lines[3][:-1]) #3 No newline at end of file
124 self.txtDtype.setText(lines[3][:-1]) #3
127 self.txtElabel.setText(lines[4][:-1]) #4 No newline at end of file
125 self.txtElabel.setText(lines[4][:-1]) #4
128 self.txtCopys.setValue(int(lines[5][:-1])) #5 No newline at end of file
126 self.txtCopys.setValue(int(lines[5][:-1])) #5
129 self.lstDcapacity.setCurrentIndex(int(lines[6])) #6 No newline at end of file
127 self.lstDcapacity.setCurrentIndex(int(lines[6])) #6
130 self.txtDcapacity.setValue(float(lines[7])) #7 No newline at end of file
128 self.txtDcapacity.setValue(float(lines[7])) #7
131 self.var_Discs = int(lines[8]) #8 No newline at end of file
129 self.var_Discs = int(lines[8]) #8
132 # var_StartDay = int(lines[6]) #9 No newline at end of file
130 # var_StartDay = int(lines[6]) #9
133 # var_StopDay = int(lines[7]) #10 No newline at end of file
131 # var_StopDay = int(lines[7]) #10
134 ################################ No newline at end of file
132 ################################
135 self.var_Copys = self.txtCopys.value() #5 No newline at end of file
133 self.var_Copys = self.txtCopys.value() #5
136 ################################ No newline at end of file
134 ################################
137 No newline at end of file
135
138 var_file.close() No newline at end of file
136 var_file.close()
139 No newline at end of file
137
140 No newline at end of file
138
141 #-------------------------- actualiza el valor de las variables con los parametros seleccionados ----------------------------- No newline at end of file
139 #-------------------------- actualiza el valor de las variables con los parametros seleccionados -----------------------------
142 No newline at end of file
140
143 def set_vars(self): No newline at end of file
141 def set_vars(self):
144 self.var_Dpath = str(self.txtDpath.text()) #0 No newline at end of file
142 self.var_Dpath = str(self.txtDpath.text()) #0
145 self.var_Rpath = str(self.txtRpath.text()) #1 No newline at end of file
143 self.var_Rpath = str(self.txtRpath.text()) #1
146 self.var_lstDtype = self.lstDtype.currentIndex() #2 No newline at end of file
144 self.var_lstDtype = self.lstDtype.currentIndex() #2
147 self.var_Dtype = str(self.txtDtype.text()) #3 No newline at end of file
145 self.var_Dtype = str(self.txtDtype.text()) #3
148 self.var_Elabel = str(self.txtElabel.text()) #4 No newline at end of file
146 self.var_Elabel = str(self.txtElabel.text()) #4
149 self.var_Copys = self.txtCopys.value() #5 No newline at end of file
147 self.var_Copys = self.txtCopys.value() #5
150 self.var_lstDcapacity = self.lstDcapacity.currentIndex() #6 No newline at end of file
148 self.var_lstDcapacity = self.lstDcapacity.currentIndex() #6
151 self.var_Dcapacity = self.txtDcapacity.value() #7 No newline at end of file
149 self.var_Dcapacity = self.txtDcapacity.value() #7
152 self.var_Discs = self.var_Discs #8 No newline at end of file
150 self.var_Discs = self.var_Discs #8
153 No newline at end of file
151
154 No newline at end of file
152
155 #-------------------------- crea burning.conf ----------------------------- No newline at end of file
153 #-------------------------- crea burning.conf -----------------------------
156 No newline at end of file
154
157 def make_burning_conf(self): No newline at end of file
155 def make_burning_conf(self):
158 var_file = open("burning.conf","w") No newline at end of file
156 var_file = open("burning.conf","w")
159 var_n_burned_discs = ( ( (self.var_disc_n - 1) * self.var_Copys) + self.var_copy_n -1 ) No newline at end of file
157 var_n_burned_discs = ( ( (self.var_disc_n - 1) * self.var_Copys) + self.var_copy_n -1 )
160 var_file.write(str(var_n_burned_discs)+"\n") #0 Numero de discos ya grabados No newline at end of file
158 var_file.write(str(var_n_burned_discs)+"\n") #0 Numero de discos ya grabados
161 var_file.write(str(self.var_disc_n)+"\n") #1 Disco actual para grabar No newline at end of file
159 var_file.write(str(self.var_disc_n)+"\n") #1 Disco actual para grabar
162 var_file.write(str(self.var_copy_n)+"\n") #2 Numero de copia actual para grabar No newline at end of file
160 var_file.write(str(self.var_copy_n)+"\n") #2 Numero de copia actual para grabar
163 var_file.close() No newline at end of file
161 var_file.close()
164 No newline at end of file
162
165 #----------------------------------------------------- carga burning.conf --------------------------------------------------------------- No newline at end of file
163 #----------------------------------------------------- carga burning.conf ---------------------------------------------------------------
166 No newline at end of file
164
167 def get_burning_conf(self): No newline at end of file
165 def get_burning_conf(self):
168 var_file = open("burning.conf","r") No newline at end of file
166 var_file = open("burning.conf","r")
169 lines = var_file.readlines() No newline at end of file
167 lines = var_file.readlines()
170 self.var_burned_discs = int(lines[0]) #0 No newline at end of file
168 self.var_burned_discs = int(lines[0]) #0
171 self.var_disc_n = int(lines[1]) No newline at end of file
169 self.var_disc_n = int(lines[1])
172 self.var_copy_n = int(lines[2]) No newline at end of file
170 self.var_copy_n = int(lines[2])
173 var_file.close() No newline at end of file
171 var_file.close()
174 No newline at end of file
172
175 #---------------------------------------------- Habilitacion y deshabilitacion de items ------------------------------------------------------- No newline at end of file
173 #---------------------------------------------- Habilitacion y deshabilitacion de items -------------------------------------------------------
176 No newline at end of file
174
177 def enabled_items1(var_bool, self): No newline at end of file
175 def enabled_items1(var_bool, self):
178 self.tabParameters.setEnabled(not(var_bool)) No newline at end of file
176 self.tabParameters.setEnabled(not(var_bool))
179 self.lstDcapacity.setEnabled(not(var_bool)) No newline at end of file
177 self.lstDcapacity.setEnabled(not(var_bool))
180 self.txtDcapacity.setEnabled(not(var_bool)) No newline at end of file
178 self.txtDcapacity.setEnabled(not(var_bool))
181 self.actionChange_Parameters.setEnabled(var_bool) No newline at end of file
179 self.actionChange_Parameters.setEnabled(var_bool)
182 self.btnGbkp.setEnabled(not(var_bool)) No newline at end of file
180 self.btnGbkp.setEnabled(not(var_bool))
183 self.btnRestart.setEnabled(var_bool) No newline at end of file
181 self.btnRestart.setEnabled(var_bool)
184 self.btnStartburn.setEnabled(var_bool) No newline at end of file
182 self.btnStartburn.setEnabled(var_bool)
185 No newline at end of file
183
186 No newline at end of file
184
187 def enabled_items2(var_bool, self): No newline at end of file
185 def enabled_items2(var_bool, self):
188 self.btnRestart.setEnabled(not(var_bool)) No newline at end of file
186 self.btnRestart.setEnabled(not(var_bool))
189 self.btnStartburn.setEnabled(not(var_bool)) No newline at end of file
187 self.btnStartburn.setEnabled(not(var_bool))
190 self.btnStopburn.setEnabled(var_bool) No newline at end of file
188 self.btnStopburn.setEnabled(var_bool)
191 self.chkCheck.setEnabled(not(var_bool)) No newline at end of file
189 self.chkCheck.setEnabled(not(var_bool))
192 self.actionChange_Parameters.setEnabled(False) No newline at end of file
190 self.actionChange_Parameters.setEnabled(False)
193 No newline at end of file
191
194 No newline at end of file
192
195 No newline at end of file
193
196 No newline at end of file
194
197 #---------------------------------------------- Actualiza estado en los labels ------------------------------------------------------- No newline at end of file
195 #---------------------------------------------- Actualiza estado en los labels -------------------------------------------------------
198 No newline at end of file
196
199 def update_message(type, message, self, index=0): No newline at end of file
197 def update_message(type, message, self, index=0):
200 if index == 0: No newline at end of file
198 if index == 0:
201 var_index = ( ( (self.var_disc_n - 1) * self.var_Copys) + (self.var_copy_n - 1) - self.var_burned_discs ) % len(self.var_devices) No newline at end of file
199 var_index = ( ( (self.var_disc_n - 1) * self.var_Copys) + (self.var_copy_n - 1) - self.var_burned_discs ) % len(self.var_devices)
202 else: No newline at end of file
200 else:
203 var_index = index No newline at end of file
201 var_index = index
204 No newline at end of file
202
205 var_message = message No newline at end of file
203 var_message = message
206 # var_message = "BURNING" No newline at end of file
204 # var_message = "BURNING"
207 # var_message = "COMPLETED" No newline at end of file
205 # var_message = "COMPLETED"
208 # var_message = "ERROR" No newline at end of file
206 # var_message = "ERROR"
209 # var_message = "CHECKING" No newline at end of file
207 # var_message = "CHECKING"
210 # var_message = "CHECKED" No newline at end of file
208 # var_message = "CHECKED"
211 No newline at end of file
209
212 if type == 1: No newline at end of file
210 if type == 1:
213 No newline at end of file
211
214 if var_index == 0: No newline at end of file
212 if var_index == 0:
215 self.txtBstatusA.setText(var_message) No newline at end of file
213 self.txtBstatusA.setText(var_message)
216 self.txtBdiscA.setText(str(self.var_disc_n)) No newline at end of file
214 self.txtBdiscA.setText(str(self.var_disc_n))
217 self.txtBcopyA.setText(str(self.var_copy_n)) No newline at end of file
215 self.txtBcopyA.setText(str(self.var_copy_n))
218 No newline at end of file
216
219 if var_index == 1: No newline at end of file
217 if var_index == 1:
220 self.txtBstatusB.setText(var_message) No newline at end of file
218 self.txtBstatusB.setText(var_message)
221 self.txtBdiscB.setText(str(self.var_disc_n)) No newline at end of file
219 self.txtBdiscB.setText(str(self.var_disc_n))
222 self.txtBcopyB.setText(str(self.var_copy_n)) No newline at end of file
220 self.txtBcopyB.setText(str(self.var_copy_n))
223 No newline at end of file
221
224 if var_index == 2: No newline at end of file
222 if var_index == 2:
225 self.txtBstatusC.setText(var_message) No newline at end of file
223 self.txtBstatusC.setText(var_message)
226 self.txtBdiscC.setText(str(self.var_disc_n)) No newline at end of file
224 self.txtBdiscC.setText(str(self.var_disc_n))
227 self.txtBcopyC.setText(str(self.var_copy_n)) No newline at end of file
225 self.txtBcopyC.setText(str(self.var_copy_n))
228 No newline at end of file
226
229 if var_index == 3: No newline at end of file
227 if var_index == 3:
230 self.txtBstatusD.setText(var_message) No newline at end of file
228 self.txtBstatusD.setText(var_message)
231 self.txtBdiscD.setText(str(self.var_disc_n)) No newline at end of file
229 self.txtBdiscD.setText(str(self.var_disc_n))
232 self.txtBcopyD.setText(str(self.var_copy_n)) No newline at end of file
230 self.txtBcopyD.setText(str(self.var_copy_n))
233 No newline at end of file
231
234 if type == 2: No newline at end of file
232 if type == 2:
235 No newline at end of file
233
236 if var_index == 0: No newline at end of file
234 if var_index == 0:
237 self.txtCHstatusA.setText(var_message) No newline at end of file
235 self.txtCHstatusA.setText(var_message)
238 No newline at end of file
236
239 if var_index == 1: No newline at end of file
237 if var_index == 1:
240 self.txtCHstatusB.setText(var_message) No newline at end of file
238 self.txtCHstatusB.setText(var_message)
241 No newline at end of file
239
242 if var_index == 2: No newline at end of file
240 if var_index == 2:
243 self.txtCHstatusC.setText(var_message) No newline at end of file
241 self.txtCHstatusC.setText(var_message)
244 No newline at end of file
242
245 if var_index == 3: No newline at end of file
243 if var_index == 3:
246 self.txtCHstatusD.setText(var_message) No newline at end of file
244 self.txtCHstatusD.setText(var_message)
247 No newline at end of file
245
248 No newline at end of file
246
@@ -1,598 +1,607
1 # -*- coding: utf-8 -*- No newline at end of file
1 # -*- coding: utf-8 -*-
2 No newline at end of file
2
3 """ No newline at end of file
3 """
4 Module implementing MainWindow. No newline at end of file
4 Module implementing MainWindow.
5 """ No newline at end of file
5 """
6 No newline at end of file
6
7 from PyQt4.QtGui import QMainWindow No newline at end of file
7 from PyQt4.QtGui import QMainWindow
8 from PyQt4.QtCore import pyqtSignature No newline at end of file
8 from PyQt4.QtCore import pyqtSignature
9 from PyQt4 import QtCore No newline at end of file
9 from PyQt4 import QtCore
10 from Ui_MainWindow import Ui_MainWindow No newline at end of file
10 from Ui_MainWindow import Ui_MainWindow
11 from Ui_Parameters import Ui_Parameters No newline at end of file
11 from Ui_Parameters import Ui_Parameters
12 from Ui_About import Ui_About No newline at end of file
12 from Ui_About import Ui_About
13 from PyQt4 import QtGui No newline at end of file
13 from PyQt4 import QtGui
14 from subprocess import * No newline at end of file
14 from subprocess import *
15 import sys No newline at end of file
15 import sys
16 import os No newline at end of file
16 import os
17 #import subprocess No newline at end of file
17 #import subprocess
18 import time No newline at end of file
18 import time
19 import commands No newline at end of file
19 import commands
20 from functions import functions No newline at end of file
20 from functions import functions
21 from functions import functions2 No newline at end of file
21 from functions import functions2
22 No newline at end of file
22
23 class MainWindow(QMainWindow, Ui_MainWindow): No newline at end of file
23 class MainWindow(QMainWindow, Ui_MainWindow):
24 """ No newline at end of file
24 """
25 Class documentation goes here. No newline at end of file
25 Class documentation goes here.
26 """ No newline at end of file
26 """
27 No newline at end of file
27
28 def __init__(self, parent = None): No newline at end of file
28 def __init__(self, parent = None):
29 QMainWindow.__init__(self, parent) No newline at end of file
29 QMainWindow.__init__(self, parent)
30 self.setupUi(self) No newline at end of file
30 self.setupUi(self)
31 self.setupUi2() No newline at end of file
31 self.setupUi2()
32 No newline at end of file
32
33 def setupUi2(self): No newline at end of file
33 def setupUi2(self):
34 No newline at end of file
34
35 self.var_real = False
No newline at end of file
36 No newline at end of file
35 # Reconocimiento de los dispositivos de grabacion No newline at end of file
37 # Reconocimiento de los dispositivos de grabacion
36 # functions2.detect_devices(self) #busca los dispositivos de grabacion No newline at end of file
38 # functions2.detect_devices(self) #busca los dispositivos de grabacion
37 #################################### No newline at end of file
39 ####################################
38 functions2.set_devices_test(self) ############ No newline at end of file
40 functions2.set_devices_test(self) ############
39 #################################### No newline at end of file
41 ####################################
40 No newline at end of file
42
41 #Inicialiazacion de variables No newline at end of file
43 #Inicialiazacion de variables
42 self.var_Discs = 0 #Numero de discos del proyecto No newline at end of file
44 self.var_Discs = 0 #Numero de discos del proyecto
43 self.var_Copys = 0 #Numero de copias No newline at end of file
45 self.var_Copys = 0 #Numero de copias
44 self.var_disc_n = 0 # disco actual No newline at end of file
46 self.var_disc_n = 0 # disco actual
45 self.var_copy_n = 0 # copia actual No newline at end of file
47 self.var_copy_n = 0 # copia actual
46 self.var_burned_discs = 0 #numero de discos ya grabados No newline at end of file
48 self.var_burned_discs = 0 #numero de discos ya grabados
47 No newline at end of file
49
50 self.bool_first_iso = False No newline at end of file
48 self.var_step = 0 # numero de paso en el proceso No newline at end of file
51 self.var_step = 0 # numero de paso en el proceso
49 self.bool_state_burning = False #si es True se puede grabar No newline at end of file
52 self.bool_state_burning = False #si es True se puede grabar
50 self.blank_discs = False # Si es true significa que se acaban de ingresar discos en blanco No newline at end of file
53 self.blank_discs = False # Si es true significa que se acaban de ingresar discos en blanco
51 No newline at end of file
54
52 self.var_list=[] # Lista de DOYs No newline at end of file
55 self.var_list=[] # Lista de DOYs
53 self.var_sublist=[] # Sub-lista de DOYs seleccionados No newline at end of file
56 self.var_sublist=[] # Sub-lista de DOYs seleccionados
54 self.var_devices=[] #Lista de dispositivos seleccionados No newline at end of file
57 self.var_devices=[] #Lista de dispositivos seleccionados
55 No newline at end of file
58
56 #Revisa si existe el archivo de confirguracion y lo carga No newline at end of file
59 #Revisa si existe el archivo de confirguracion y lo carga
57 if os.path.isfile("parameters.conf"): No newline at end of file
60 if os.path.isfile("parameters.conf"):
58 functions2.get_parameters_conf(self) No newline at end of file
61 functions2.get_parameters_conf(self)
62 self.bool_first_iso = True No newline at end of file
59 self.txtInfo.append("Parameters were loaded from configuration file") No newline at end of file
63 self.txtInfo.append("Parameters were loaded from configuration file")
60 self.txtInfo.append("Total number of discs for recording: "+str(self.var_Discs * self.var_Copys)) No newline at end of file
64 self.txtInfo.append("Total number of discs for recording: "+str(self.var_Discs * self.var_Copys))
61 No newline at end of file
65
62 else: No newline at end of file
66 else:
63 functions2.set_parameters_test(self) #Establece ciertos parametros, para pruebas No newline at end of file
67 functions2.set_parameters_test(self) #Establece ciertos parametros, para pruebas
64 No newline at end of file
68
65 functions2.set_vars(self) #Carga las variables de la clase con los parametros seleccionados No newline at end of file
69 functions2.set_vars(self) #Carga las variables de la clase con los parametros seleccionados
66 No newline at end of file
70
67 self.statusDpath = functions.dir_exists(self.var_Dpath, self) No newline at end of file
71 self.statusDpath = functions.dir_exists(self.var_Dpath, self)
68 self.statusRpath = functions.dir_exists(self.var_Rpath, self) No newline at end of file
72 self.statusRpath = functions.dir_exists(self.var_Rpath, self)
69 functions.load_days(self) No newline at end of file
73 functions.load_days(self)
70 No newline at end of file
74
71 if os.path.isfile("parameters.conf"): No newline at end of file
75 if os.path.isfile("parameters.conf"):
72 functions2.enabled_items1(True, self) #Se bloquean los parametros de configuracion No newline at end of file
76 functions2.enabled_items1(True, self) #Se bloquean los parametros de configuracion
73 No newline at end of file
77
74 if os.path.isfile("burning.conf"): No newline at end of file
78 if os.path.isfile("burning.conf"):
75 functions2.get_burning_conf(self) No newline at end of file
79 functions2.get_burning_conf(self)
76 self.txtInfo.append("Current disc: "+str(self.var_disc_n)) No newline at end of file
80 self.txtInfo.append("Current disc: "+str(self.var_disc_n))
77 self.txtInfo.append("Current copy: "+str(self.var_copy_n)) No newline at end of file
81 self.txtInfo.append("Current copy: "+str(self.var_copy_n))
78 self.txtInfo.append("Burned discs: "+str(self.var_burned_discs)) No newline at end of file
82 self.txtInfo.append("Burned discs: "+str(self.var_burned_discs))
79 self.btnStartburn.setText("Continue") No newline at end of file
83 self.btnStartburn.setText("Continue")
80 No newline at end of file
84
81 No newline at end of file
85
82 No newline at end of file
86
83 self.connect(self.actionChange_Parameters, QtCore.SIGNAL("triggered()"), self.changeParameters) No newline at end of file
87 self.connect(self.actionChange_Parameters, QtCore.SIGNAL("triggered()"), self.changeParameters)
84 self.connect(self.actionAbout, QtCore.SIGNAL("triggered()"), self.about) No newline at end of file
88 self.connect(self.actionAbout, QtCore.SIGNAL("triggered()"), self.about)
85 No newline at end of file
89
86 self.process_iso = QtCore.QProcess() No newline at end of file
90 self.process_iso = QtCore.QProcess()
87 self.connect(self.process_iso, QtCore.SIGNAL('readyReadStandardOutput()'), self.readOuput_iso) No newline at end of file
91 self.connect(self.process_iso, QtCore.SIGNAL('readyReadStandardOutput()'), self.readOuput_iso)
88 self.connect(self.process_iso, QtCore.SIGNAL('readyReadStandardError()'), self.readError_iso) No newline at end of file
92 self.connect(self.process_iso, QtCore.SIGNAL('readyReadStandardError()'), self.readError_iso)
89 self.connect(self.process_iso, QtCore.SIGNAL('finished(int,QProcess::ExitStatus)'), self.finished_iso) No newline at end of file
93 self.connect(self.process_iso, QtCore.SIGNAL('finished(int,QProcess::ExitStatus)'), self.finished_iso)
90 No newline at end of file
94
91 self.process_burn = QtCore.QProcess() No newline at end of file
95 self.process_burn = QtCore.QProcess()
92 self.connect(self.process_burn, QtCore.SIGNAL('readyReadStandardOutput()'), self.readOuput_burn) No newline at end of file
96 self.connect(self.process_burn, QtCore.SIGNAL('readyReadStandardOutput()'), self.readOuput_burn)
93 self.connect(self.process_burn, QtCore.SIGNAL('readyReadStandardError()'), self.readError_burn) No newline at end of file
97 self.connect(self.process_burn, QtCore.SIGNAL('readyReadStandardError()'), self.readError_burn)
94 self.connect(self.process_burn, QtCore.SIGNAL('finished(int,QProcess::ExitStatus)'), self.finished_burn) No newline at end of file
98 self.connect(self.process_burn, QtCore.SIGNAL('finished(int,QProcess::ExitStatus)'), self.finished_burn)
95 No newline at end of file
99
96 self.process_check = QtCore.QProcess() No newline at end of file
100 self.process_check = QtCore.QProcess()
97 self.connect(self.process_check, QtCore.SIGNAL('readyReadStandardOutput()'), self.readOuput_check) No newline at end of file
101 self.connect(self.process_check, QtCore.SIGNAL('readyReadStandardOutput()'), self.readOuput_check)
98 self.connect(self.process_check, QtCore.SIGNAL('readyReadStandardError()'), self.readError_check) No newline at end of file
102 self.connect(self.process_check, QtCore.SIGNAL('readyReadStandardError()'), self.readError_check)
99 self.connect(self.process_check, QtCore.SIGNAL('finished(int,QProcess::ExitStatus)'), self.finished_check) No newline at end of file
103 self.connect(self.process_check, QtCore.SIGNAL('finished(int,QProcess::ExitStatus)'), self.finished_check)
100 No newline at end of file
104
101 No newline at end of file
105
102 def changeParameters(self): No newline at end of file
106 def changeParameters(self):
103 dlg=QtGui.QDialog() No newline at end of file
107 dlg=QtGui.QDialog()
104 dlgui=Ui_Parameters() No newline at end of file
108 dlgui=Ui_Parameters()
105 dlgui.setupUi(dlg) No newline at end of file
109 dlgui.setupUi(dlg)
106 if (dlg.exec_() == QtGui.QDialog.Accepted): No newline at end of file
110 if (dlg.exec_() == QtGui.QDialog.Accepted):
107 if dlgui.txtDisc.value() > self.var_Discs or dlgui.txtCopy.value() > dlgui.txtNcopys.value(): No newline at end of file
111 if dlgui.txtDisc.value() > self.var_Discs or dlgui.txtCopy.value() > dlgui.txtNcopys.value():
108 self.txtInfo.append("Wrong parameters") No newline at end of file
112 self.txtInfo.append("Wrong parameters")
109 else: No newline at end of file
113 else:
110 self.var_Copys = dlgui.txtNcopys.value() No newline at end of file
114 self.var_Copys = dlgui.txtNcopys.value()
111 self.var_disc_n = dlgui.txtDisc.value() No newline at end of file
115 self.var_disc_n = dlgui.txtDisc.value()
112 self.var_copy_n = dlgui.txtCopy.value() No newline at end of file
116 self.var_copy_n = dlgui.txtCopy.value()
113 self.txtInfo.append("Changed parameters") No newline at end of file
117 self.txtInfo.append("Changed parameters")
114 self.var_burned_discs = ( ( (self.var_disc_n - 1) * self.var_Copys) + self.var_copy_n -1 ) No newline at end of file
118 self.var_burned_discs = ( ( (self.var_disc_n - 1) * self.var_Copys) + self.var_copy_n -1 )
119 self.bool_first_iso = True
No newline at end of file
120 No newline at end of file
115 No newline at end of file
121
116 No newline at end of file
122
117 def about(self): No newline at end of file
123 def about(self):
118 dlg_about=QtGui.QDialog() No newline at end of file
124 dlg_about=QtGui.QDialog()
119 dlgui_about=Ui_About() No newline at end of file
125 dlgui_about=Ui_About()
120 dlgui_about.setupUi(dlg_about) No newline at end of file
126 dlgui_about.setupUi(dlg_about)
121 dlg_about.exec_() No newline at end of file
127 dlg_about.exec_()
122 No newline at end of file
128
123 No newline at end of file
129
124 #============================================================================== No newline at end of file
130 #==============================================================================
125 # Manejo de los eventos No newline at end of file
131 # Manejo de los eventos
126 #============================================================================== No newline at end of file
132 #==============================================================================
127 No newline at end of file
133
128 #----------------------------------------------------- Obtencion de la ruta de los datos --------------------------------------------------------------- No newline at end of file
134 #----------------------------------------------------- Obtencion de la ruta de los datos ---------------------------------------------------------------
129 No newline at end of file
135
130 @pyqtSignature("") No newline at end of file
136 @pyqtSignature("")
131 def on_btnDpath_clicked(self): No newline at end of file
137 def on_btnDpath_clicked(self):
132 """ No newline at end of file
138 """
133 Permite seleccionar graficamente el direcorio de los datos a grabar No newline at end of file
139 Permite seleccionar graficamente el direcorio de los datos a grabar
134 """ No newline at end of file
140 """
135 self.var_Dpath= str(QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly)) No newline at end of file
141 self.var_Dpath= str(QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly))
136 self.txtDpath.setText(self.var_Dpath) No newline at end of file
142 self.txtDpath.setText(self.var_Dpath)
137 self.statusDpath = functions.dir_exists(self.var_Dpath, self) No newline at end of file
143 self.statusDpath = functions.dir_exists(self.var_Dpath, self)
138 functions.load_days(self) No newline at end of file
144 functions.load_days(self)
139 No newline at end of file
145
140 No newline at end of file
146
141 @pyqtSignature("") No newline at end of file
147 @pyqtSignature("")
142 def on_txtDpath_editingFinished(self): No newline at end of file
148 def on_txtDpath_editingFinished(self):
143 """ No newline at end of file
149 """
144 Carga la ruta editada y verifica que sea correcta y carga la lista de dias No newline at end of file
150 Carga la ruta editada y verifica que sea correcta y carga la lista de dias
145 """ No newline at end of file
151 """
146 self.var_Dpath=str(self.txtDpath.text()) #Se carga la variable con la ruta recien editada No newline at end of file
152 self.var_Dpath=str(self.txtDpath.text()) #Se carga la variable con la ruta recien editada
147 self.statusDpath = functions.dir_exists(self.var_Dpath, self) No newline at end of file
153 self.statusDpath = functions.dir_exists(self.var_Dpath, self)
148 functions.load_days(self) No newline at end of file
154 functions.load_days(self)
149 No newline at end of file
155
150 No newline at end of file
156
151 #----------------------------------------------------- Obtencion de las ruta del proyecto --------------------------------------------------------------- No newline at end of file
157 #----------------------------------------------------- Obtencion de las ruta del proyecto ---------------------------------------------------------------
152 No newline at end of file
158
153 @pyqtSignature("") No newline at end of file
159 @pyqtSignature("")
154 def on_btnRpath_clicked(self): No newline at end of file
160 def on_btnRpath_clicked(self):
155 """ No newline at end of file
161 """
156 Permite seleccionar graficamente el direcorio del proyecto No newline at end of file
162 Permite seleccionar graficamente el direcorio del proyecto
157 """ No newline at end of file
163 """
158 self.var_Rpath = str(QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly)) No newline at end of file
164 self.var_Rpath = str(QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly))
159 self.txtRpath.setText(self.var_Rpath) No newline at end of file
165 self.txtRpath.setText(self.var_Rpath)
160 self.statusRpath = functions.dir_exists(self.var_Rpath, self) No newline at end of file
166 self.statusRpath = functions.dir_exists(self.var_Rpath, self)
161 No newline at end of file
167
162 No newline at end of file
168
163 @pyqtSignature("") No newline at end of file
169 @pyqtSignature("")
164 def on_txtRpath_editingFinished(self): No newline at end of file
170 def on_txtRpath_editingFinished(self):
165 """ No newline at end of file
171 """
166 Valida la ruta del proyecto No newline at end of file
172 Valida la ruta del proyecto
167 """ No newline at end of file
173 """
168 self.var_Rpath = str(self.txtRpath.text()) #Se carga la variable con la ruta recien editada No newline at end of file
174 self.var_Rpath = str(self.txtRpath.text()) #Se carga la variable con la ruta recien editada
169 self.statusRpath = functions.dir_exists(self.var_Rpath, self) No newline at end of file
175 self.statusRpath = functions.dir_exists(self.var_Rpath, self)
170 No newline at end of file
176
171 No newline at end of file
177
172 #----------------------------------------------------- Tipo de datos --------------------------------------------------------------- No newline at end of file
178 #----------------------------------------------------- Tipo de datos ---------------------------------------------------------------
173 No newline at end of file
179
174 @pyqtSignature("int") No newline at end of file
180 @pyqtSignature("int")
175 def on_lstDtype_activated(self, index): No newline at end of file
181 def on_lstDtype_activated(self, index):
176 """ No newline at end of file
182 """
177 Permite elegir entre los tipos de archivos No newline at end of file
183 Permite elegir entre los tipos de archivos
178 """ No newline at end of file
184 """
179 self.txtDtype.setReadOnly(True) No newline at end of file
185 self.txtDtype.setReadOnly(True)
180 if index == 0: No newline at end of file
186 if index == 0:
181 self.var_Dtype ='r' No newline at end of file
187 self.var_Dtype ='r'
182 elif index == 1: No newline at end of file
188 elif index == 1:
183 self.var_Dtype ='pdata' No newline at end of file
189 self.var_Dtype ='pdata'
184 elif index == 2: No newline at end of file
190 elif index == 2:
185 self.var_Dtype ='sswma' No newline at end of file
191 self.var_Dtype ='sswma'
186 else : No newline at end of file
192 else :
187 self.var_Dtype ='' No newline at end of file
193 self.var_Dtype =''
188 self.txtDtype.setReadOnly(False) No newline at end of file
194 self.txtDtype.setReadOnly(False)
189 No newline at end of file
195
190 self.txtDtype.setText(self.var_Dtype) No newline at end of file
196 self.txtDtype.setText(self.var_Dtype)
191 functions.load_days(self) #llamada a funcion No newline at end of file
197 functions.load_days(self) #llamada a funcion
192 No newline at end of file
198
193 @pyqtSignature("") No newline at end of file
199 @pyqtSignature("")
194 def on_txtDtype_editingFinished(self): No newline at end of file
200 def on_txtDtype_editingFinished(self):
195 self.var_Dtype=str(self.txtDtype.text()) No newline at end of file
201 self.var_Dtype=str(self.txtDtype.text())
196 functions.load_days(self) #llamada a funcion No newline at end of file
202 functions.load_days(self) #llamada a funcion
197 No newline at end of file
203
198 No newline at end of file
204
199 #----------------------------------------------------- Etiqueta --------------------------------------------------------------- No newline at end of file
205 #----------------------------------------------------- Etiqueta ---------------------------------------------------------------
200 No newline at end of file
206
201 @pyqtSignature("") No newline at end of file
207 @pyqtSignature("")
202 def on_txtElabel_editingFinished(self): No newline at end of file
208 def on_txtElabel_editingFinished(self):
203 self.var_Elabel = str(self.txtElabel.text()) No newline at end of file
209 self.var_Elabel = str(self.txtElabel.text())
204 No newline at end of file
210
205 #----------------------------------------------------- Numero de copias --------------------------------------------------------------- No newline at end of file
211 #----------------------------------------------------- Numero de copias ---------------------------------------------------------------
206 @pyqtSignature("") No newline at end of file
212 @pyqtSignature("")
207 def on_txtCopys_editingFinished(self): No newline at end of file
213 def on_txtCopys_editingFinished(self):
208 self.var_Copys = self.txtCopys.value() No newline at end of file
214 self.var_Copys = self.txtCopys.value()
209 No newline at end of file
215
210 #----------------------------------------------------- Seleccion del rango de fechas --------------------------------------------------------------- No newline at end of file
216 #----------------------------------------------------- Seleccion del rango de fechas ---------------------------------------------------------------
211 No newline at end of file
217
212 @pyqtSignature("int") #CLOSED No newline at end of file
218 @pyqtSignature("int") #CLOSED
213 def on_lstStartDay_activated(self, index): No newline at end of file
219 def on_lstStartDay_activated(self, index):
214 """ No newline at end of file
220 """
215 Cambia la lista de opciones en lstStopDay No newline at end of file
221 Cambia la lista de opciones en lstStopDay
216 """ No newline at end of file
222 """
217 var_StopDay_index=self.lstStopDay.count() - self.lstStopDay.currentIndex() No newline at end of file
223 var_StopDay_index=self.lstStopDay.count() - self.lstStopDay.currentIndex()
218 self.lstStopDay.clear() No newline at end of file
224 self.lstStopDay.clear()
219 No newline at end of file
225
220 for i in self.var_list[index:]: No newline at end of file
226 for i in self.var_list[index:]:
221 self.lstStopDay.addItem(i) No newline at end of file
227 self.lstStopDay.addItem(i)
222 No newline at end of file
228
223 self.lstStopDay.setCurrentIndex(self.lstStopDay.count() - var_StopDay_index) No newline at end of file
229 self.lstStopDay.setCurrentIndex(self.lstStopDay.count() - var_StopDay_index)
224 No newline at end of file
230
225 functions.get_sub_list(self) No newline at end of file
231 functions.get_sub_list(self)
226 No newline at end of file
232
227 No newline at end of file
233
228 @pyqtSignature("int") #CLOSED No newline at end of file
234 @pyqtSignature("int") #CLOSED
229 def on_lstStopDay_activated(self, index): No newline at end of file
235 def on_lstStopDay_activated(self, index):
230 """ No newline at end of file
236 """
231 Cambia la lista de opciones en lstStartDay No newline at end of file
237 Cambia la lista de opciones en lstStartDay
232 """ No newline at end of file
238 """
233 var_StartDay_index=self.lstStartDay.currentIndex() No newline at end of file
239 var_StartDay_index=self.lstStartDay.currentIndex()
234 var_end_index = self.lstStopDay.count() - index No newline at end of file
240 var_end_index = self.lstStopDay.count() - index
235 self.lstStartDay.clear() No newline at end of file
241 self.lstStartDay.clear()
236 No newline at end of file
242
237 for i in self.var_list[:len(self.var_list) - var_end_index + 1]: No newline at end of file
243 for i in self.var_list[:len(self.var_list) - var_end_index + 1]:
238 self.lstStartDay.addItem(i) No newline at end of file
244 self.lstStartDay.addItem(i)
239 No newline at end of file
245
240 self.lstStartDay.setCurrentIndex(var_StartDay_index) No newline at end of file
246 self.lstStartDay.setCurrentIndex(var_StartDay_index)
241 No newline at end of file
247
242 functions.get_sub_list(self) No newline at end of file
248 functions.get_sub_list(self)
243 No newline at end of file
249
244 No newline at end of file
250
245 #----------------------------------------------------- Capacidad del dispositivo de grabacion --------------------------------------------------------------- No newline at end of file
251 #----------------------------------------------------- Capacidad del dispositivo de grabacion ---------------------------------------------------------------
246 No newline at end of file
252
247 @pyqtSignature("") No newline at end of file
253 @pyqtSignature("")
248 def on_txtDcapacity_editingFinished(self): No newline at end of file
254 def on_txtDcapacity_editingFinished(self):
249 self.var_Dcapacity = self.txtDcapacity.value() No newline at end of file
255 self.var_Dcapacity = self.txtDcapacity.value()
250 No newline at end of file
256
251 No newline at end of file
257
252 @pyqtSignature("int") #CLOSED No newline at end of file
258 @pyqtSignature("int") #CLOSED
253 def on_lstDcapacity_activated(self, index): No newline at end of file
259 def on_lstDcapacity_activated(self, index):
254 """ No newline at end of file
260 """
255 Permite elegir el tamaΓ±o del disco No newline at end of file
261 Permite elegir el tamaΓ±o del disco
256 """ No newline at end of file
262 """
257 if index == 0: No newline at end of file
263 if index == 0:
258 var_size=25.0 No newline at end of file
264 var_size=25.0
259 elif index == 1: No newline at end of file
265 elif index == 1:
260 var_size=8.5 No newline at end of file
266 var_size=8.5
261 elif index == 2: No newline at end of file
267 elif index == 2:
262 var_size=4.7 No newline at end of file
268 var_size=4.7
263 elif index == 3: No newline at end of file
269 elif index == 3:
264 var_size=0.7 No newline at end of file
270 var_size=0.7
265 No newline at end of file
271
266 if index != 4: No newline at end of file
272 if index != 4:
267 self.txtDcapacity.setValue(var_size*10**9/1024**2) No newline at end of file
273 self.txtDcapacity.setValue(var_size*10**9/1024**2)
268 self.txtDcapacity.setReadOnly(True) No newline at end of file
274 self.txtDcapacity.setReadOnly(True)
269 else: No newline at end of file
275 else:
270 self.txtDcapacity.setValue(100.0) No newline at end of file
276 self.txtDcapacity.setValue(100.0)
271 self.txtDcapacity.setReadOnly(False) No newline at end of file
277 self.txtDcapacity.setReadOnly(False)
272 No newline at end of file
278
273 self.var_lstDcapacity = self.lstDcapacity.currentIndex() No newline at end of file
279 self.var_lstDcapacity = self.lstDcapacity.currentIndex()
274 self.var_Dcapacity = self.txtDcapacity.value() No newline at end of file
280 self.var_Dcapacity = self.txtDcapacity.value()
275 No newline at end of file
281
276 #----------------------------------------------------- Testeo de las unidades de grabacion --------------------------------------------------------------- No newline at end of file
282 #----------------------------------------------------- Testeo de las unidades de grabacion ---------------------------------------------------------------
277 No newline at end of file
283
278 @pyqtSignature("") No newline at end of file
284 @pyqtSignature("")
279 def on_btnTdevA_clicked(self): No newline at end of file
285 def on_btnTdevA_clicked(self):
280 var_dev = str(self.txtDeviceA.text()) No newline at end of file
286 var_dev = str(self.txtDeviceA.text())
281 var_cmd = 'eject ' + var_dev + '; eject -t ' + var_dev No newline at end of file
287 var_cmd = 'eject ' + var_dev + '; eject -t ' + var_dev
282 commands.getstatusoutput(var_cmd) No newline at end of file
288 commands.getstatusoutput(var_cmd)
283 No newline at end of file
289
284 @pyqtSignature("") No newline at end of file
290 @pyqtSignature("")
285 def on_btnTdevB_clicked(self): No newline at end of file
291 def on_btnTdevB_clicked(self):
286 var_dev = str(self.txtDeviceB.text()) No newline at end of file
292 var_dev = str(self.txtDeviceB.text())
287 var_cmd = 'eject ' + var_dev + '; eject -t ' + var_dev No newline at end of file
293 var_cmd = 'eject ' + var_dev + '; eject -t ' + var_dev
288 commands.getstatusoutput(var_cmd) No newline at end of file
294 commands.getstatusoutput(var_cmd)
289 No newline at end of file
295
290 @pyqtSignature("") No newline at end of file
296 @pyqtSignature("")
291 def on_btnTdevC_clicked(self): No newline at end of file
297 def on_btnTdevC_clicked(self):
292 var_dev = str(self.txtDeviceC.text()) No newline at end of file
298 var_dev = str(self.txtDeviceC.text())
293 var_cmd = 'eject ' + var_dev + '; eject -t ' + var_dev No newline at end of file
299 var_cmd = 'eject ' + var_dev + '; eject -t ' + var_dev
294 commands.getstatusoutput(var_cmd) No newline at end of file
300 commands.getstatusoutput(var_cmd)
295 No newline at end of file
301
296 @pyqtSignature("") No newline at end of file
302 @pyqtSignature("")
297 def on_btnTdevD_clicked(self): No newline at end of file
303 def on_btnTdevD_clicked(self):
298 var_dev = str(self.txtDeviceD.text()) No newline at end of file
304 var_dev = str(self.txtDeviceD.text())
299 var_cmd = 'eject ' + var_dev + '; eject -t ' + var_dev No newline at end of file
305 var_cmd = 'eject ' + var_dev + '; eject -t ' + var_dev
300 commands.getstatusoutput(var_cmd) No newline at end of file
306 commands.getstatusoutput(var_cmd)
301 No newline at end of file
307
302 No newline at end of file
308
303 #============================================================================== No newline at end of file
309 #==============================================================================
304 # Botones para la generacion de los archivos de configuracion No newline at end of file
310 # Botones para la generacion de los archivos de configuracion
305 #============================================================================== No newline at end of file
311 #==============================================================================
306 No newline at end of file
312
307 #----------------------------------------------------- Generacion de la configuracion usando los parametros --------------------------------------------------------------- No newline at end of file
313 #----------------------------------------------------- Generacion de la configuracion usando los parametros ---------------------------------------------------------------
308 No newline at end of file
314
309 @pyqtSignature("") No newline at end of file
315 @pyqtSignature("")
310 def on_btnGbkp_clicked(self): No newline at end of file
316 def on_btnGbkp_clicked(self):
311 """ No newline at end of file
317 """
312 Generacion de archivos de configuracion usando los parametros No newline at end of file
318 Generacion de archivos de configuracion usando los parametros
313 """ No newline at end of file
319 """
314 No newline at end of file
320
315 if functions.validate_parameters(self) == False: No newline at end of file
321 if functions.validate_parameters(self) == False:
316 return No newline at end of file
322 return
317 No newline at end of file
323
318 #Crea las carpetas en la ruta del proyecto y verifica que se crearon correctamente No newline at end of file
324 #Crea las carpetas en la ruta del proyecto y verifica que se crearon correctamente
319 list_dirs=['gpath','iso','ppath', 'tmpdata'] No newline at end of file
325 list_dirs=['gpath','iso','ppath', 'tmpdata']
320 bool_make_dirs = functions.make_dirs(list_dirs, self) No newline at end of file
326 bool_make_dirs = functions.make_dirs(list_dirs, self)
321 if bool_make_dirs == False: No newline at end of file
327 if bool_make_dirs == False:
322 return No newline at end of file
328 return
323 No newline at end of file
329
324 var_files_list = functions.list_files(self) #Se obtiene la lista de archivos a grabar No newline at end of file
330 var_files_list = functions.list_files(self) #Se obtiene la lista de archivos a grabar
325 No newline at end of file
331
326 self.var_Discs = functions.make_files_dat(var_files_list, self) #Se crean los archivos .dat No newline at end of file
332 self.var_Discs = functions.make_files_dat(var_files_list, self) #Se crean los archivos .dat
327 No newline at end of file
333
328 functions.make_files_print(self) # Se crean los archivos .print No newline at end of file
334 functions.make_files_print(self) # Se crean los archivos .print
329 No newline at end of file
335
330 functions2.make_parameters_conf(self) # se crea el archivo parameters.conf No newline at end of file
336 functions2.make_parameters_conf(self) # se crea el archivo parameters.conf
331 No newline at end of file
337
332 self.txtInfo.append("Total number of discs for recording: "+str(self.var_Discs * self.var_Copys)) No newline at end of file
338 self.txtInfo.append("Total number of discs for recording: "+str(self.var_Discs * self.var_Copys))
333 No newline at end of file
339
334 #Se bloquean los parametros de configuracion No newline at end of file
340 #Se bloquean los parametros de configuracion
335 functions2.enabled_items1(True, self)
341 functions2.enabled_items1(True, self)
No newline at end of file
342 self.var_disc_n = 1
336 No newline at end of file
No newline at end of file
343 self.var_copy_n = 1
No newline at end of file
344 self.bool_first_iso = True
No newline at end of file
345 self.var_burned_discs = 0 #numero de discos grabados No newline at end of file
337 No newline at end of file
346
338 No newline at end of file
347
339 #----------------------------------------------------- Permite reiniciar la configuracion --------------------------------------------------------------- No newline at end of file
348 #----------------------------------------------------- Permite reiniciar la configuracion ---------------------------------------------------------------
340 No newline at end of file
349
341 @pyqtSignature("") No newline at end of file
350 @pyqtSignature("")
342 def on_btnRestart_clicked(self): No newline at end of file
351 def on_btnRestart_clicked(self):
343 """ No newline at end of file
352 """
344 Permite que se puedan cambiar los parametros No newline at end of file
353 Permite que se puedan cambiar los parametros
345 """ No newline at end of file
354 """
346 if os.path.isfile("parameters.conf"): No newline at end of file
355 if os.path.isfile("parameters.conf"):
347 os.remove("parameters.conf") No newline at end of file
356 os.remove("parameters.conf")
348 if os.path.isfile("burning.conf"): No newline at end of file
357 if os.path.isfile("burning.conf"):
349 os.remove("burning.conf") No newline at end of file
358 os.remove("burning.conf")
350 No newline at end of file
359
351 functions2.enabled_items1(False, self) No newline at end of file
360 functions2.enabled_items1(False, self)
352 self.btnStartburn.setText("Start Burn") No newline at end of file
361 self.btnStartburn.setText("Start Burn")
353 No newline at end of file
362
354 No newline at end of file
363
355 #============================================================================== No newline at end of file
364
356 # Acciones de los procesos No newline at end of file
365 #==============================================================================
357 #============================================================================== No newline at end of file
366 # Acciones de los procesos
358 No newline at end of file
367 #==============================================================================
359 #------------------------------------------------ Funciones del proceso de creacion del iso ------------------------------------------------------ No newline at end of file
368
360 No newline at end of file
369 #------------------------------------------------ Funciones del proceso de creacion del iso ------------------------------------------------------
361 def readOuput_iso(self): No newline at end of file
370
362 self.txtProgress.setText("stdout iso: " + QtCore.QString(self.process_iso.readAllStandardOutput())) No newline at end of file
371 def readOuput_iso(self):
363 No newline at end of file
372 self.txtProgress.setText("stdout iso: " + QtCore.QString(self.process_iso.readAllStandardOutput()))
364 def readError_iso(self): No newline at end of file
373
365 self.txtProgress.setText("stderr iso: " + QtCore.QString(self.process_iso.readAllStandardError())) No newline at end of file
374 def readError_iso(self):
366 No newline at end of file
375 self.txtProgress.setText("stderr iso: " + QtCore.QString(self.process_iso.readAllStandardError()))
367 def finished_iso(self): No newline at end of file
376
368 self.txtProgress.clear() No newline at end of file
377 def finished_iso(self):
369 No newline at end of file
378 self.txtProgress.clear()
370 if not(self.bool_state_burning): No newline at end of file
379
371 return No newline at end of file
380 if not(self.bool_state_burning):
372 No newline at end of file
381 return
373 if self.process_iso.exitCode() == 0:
382
No newline at end of file
383 if self.process_iso.exitCode() == 0: No newline at end of file
374 self.txtInfo.append("Iso file"+function.i2s(self.var_disc_n)+" created successfully \n") No newline at end of file
375 self.var_step = 1 No newline at end of file
384 self.txtInfo.append("------Iso file: "+functions.i2s(self.var_disc_n)+" created successfully")
376 self.function_burn() No newline at end of file
385 self.var_step = 1
377 No newline at end of file
386 self.function_burn()
378 else:
387
No newline at end of file
388 else: No newline at end of file
379 self.txtInfo.append("Error creating iso file "+function.i2s(self.var_disc_n) No newline at end of file
380 +" , code "+QtCore.QString(self.process_iso.exitCode()))
389 self.txtInfo.append("#####Error creating iso file "+function.i2s(self.var_disc_n)
No newline at end of file
390 +" , code "+QtCore.QString(self.process_iso.exitCode()))
381 self.txtInfo.append("Please check the data \n")
No newline at end of file
No newline at end of file
391 self.txtInfo.append("Please check the data") No newline at end of file
382 No newline at end of file
383 #----------------------------------------------------- Funciones del proceso de grabado --------------------------------------------------------------- No newline at end of file
392 self.txtInfo.append("FATAL ERROR")
384 No newline at end of file
393 #----------------------------------------------------- Funciones del proceso de grabado ---------------------------------------------------------------
385 def readOuput_burn(self): No newline at end of file
394
386 self.txtProgress.setText("stdout burn: " + QtCore.QString(self.process_burn.readAllStandardOutput())) No newline at end of file
395 def readOuput_burn(self):
387 No newline at end of file
396 self.txtProgress.setText("stdout burn: " + QtCore.QString(self.process_burn.readAllStandardOutput()))
388 def readError_burn(self): No newline at end of file
397
389 self.txtProgress.setText("stderr burn: " + QtCore.QString(self.process_burn.readAllStandardError())) No newline at end of file
398 def readError_burn(self):
390 No newline at end of file
399 self.txtProgress.setText("stderr burn: " + QtCore.QString(self.process_burn.readAllStandardError()))
391 def finished_burn(self): No newline at end of file
400
392 self.txtProgress.clear() No newline at end of file
401 def finished_burn(self):
393 No newline at end of file
402 self.txtProgress.clear()
403 No newline at end of file
394 if not(self.bool_state_burning): No newline at end of file
404 #Si se paro el proceso manualmente se termina
395 return No newline at end of file
405 if not(self.bool_state_burning):
396 No newline at end of file
406 return
407
No newline at end of file
408 functions2.make_burning_conf(self) # Si el proceso no ha sido detenido manualmente
No newline at end of file
409 #crea el archivo burning.conf para el seguimiento de los discos grabados No newline at end of file
397 if self.process_burn.exitCode() == 0:
410
No newline at end of file
411 if self.process_burn.exitCode() == 0: No newline at end of file
398 self.txtInfo.append("Complete recording, disc: "+self.var_disc_n+" copy: "+self.var_copy_n) No newline at end of file
399 functions2.update_message(1, "COMPLETED", self) No newline at end of file
412 self.txtInfo.append("-----Complete recording, disc: "+str(self.var_disc_n)+" copy: "+str(self.var_copy_n))
400 self.var_step = 2 No newline at end of file
413 functions2.update_message(1, "COMPLETED", self)
401 self.function_check() No newline at end of file
414 self.var_step = 2
402 No newline at end of file
415 self.function_check()
403 else:
416
No newline at end of file
417 else: No newline at end of file
404 self.txtInfo.append("Error recording, disc: "+function.i2s(self.var_disc_n)+" copy: " No newline at end of file
405 +function.i2s(self.var_copy_n)+", code "+QtCore.QString(self.process_burn.exitCode())) No newline at end of file
418 self.txtInfo.append("#######Error recording, disc: "+function.i2s(self.var_disc_n)+" copy: "
406 functions2.update_message(1, "ERROR", self) No newline at end of file
419 +function.i2s(self.var_copy_n)+", code "+QtCore.QString(self.process_burn.exitCode()))
407
420 functions2.update_message(1, "ERROR", self)
No newline at end of file
421 No newline at end of file
408 functions.next_var_disc(self, True)
No newline at end of file
409 if self.var_step == 0:
No newline at end of file
410 self.function_iso()
No newline at end of file
411 elif self.var_step == 1:
No newline at end of file
412 self.function_burn() No newline at end of file
413 No newline at end of file
422 functions.is_last_disc_and_copy(self)
414 No newline at end of file
423
415 #----------------------------------------------------- Funciones del proceso de verificacion --------------------------------------------------------------- No newline at end of file
424
416 No newline at end of file
425 #----------------------------------------------------- Funciones del proceso de verificacion ---------------------------------------------------------------
417 def readOuput_check(self): No newline at end of file
426
418 self.txtProgress.setText("stdout check: " + QtCore.QString(self.process_check.readAllStandardOutput())) No newline at end of file
427 def readOuput_check(self):
419 No newline at end of file
428 self.txtProgress.setText("stdout check: " + QtCore.QString(self.process_check.readAllStandardOutput()))
420 def readError_check(self): No newline at end of file
429
421 self.txtProgress.setText("stderr check: " + QtCore.QString(self.process_check.readAllStandardError())) No newline at end of file
430 def readError_check(self):
422 No newline at end of file
431 self.txtProgress.setText("stderr check: " + QtCore.QString(self.process_check.readAllStandardError()))
423 def finished_check(self): No newline at end of file
432
424 self.txtProgress.clear() No newline at end of file
433 def finished_check(self):
425 No newline at end of file
434 self.txtProgress.clear()
426 if not(self.bool_state_burning): No newline at end of file
435
427 return No newline at end of file
436 if not(self.bool_state_burning):
428 No newline at end of file
437 return
429 if self.process_check.exitCode() == 0:
438
No newline at end of file
439 if self.process_check.exitCode() == 0: No newline at end of file
430 self.txtInfo.append("Complete checking, disc: "+self.var_disc_n+" copy: "+self.var_copy_n) No newline at end of file
431 functions2.update_message(2, "CHECKED", self) No newline at end of file
440 self.txtInfo.append("--------Complete checking, disc: "+str(self.var_disc_n)+" copy: "+str(self.var_copy_n))
432 No newline at end of file
441 functions2.update_message(2, "CHECKED", self)
433 else:
442
No newline at end of file
443 else: No newline at end of file
434 self.txtInfo.append("Error checking, disc: "+function.i2s(self.var_disc_n)+" copy: " No newline at end of file
435 +function.i2s(self.var_copy_n)+", code "+QtCore.QString(self.process_check.exitCode())) No newline at end of file
444 self.txtInfo.append("#######Error checking, disc: "+function.i2s(self.var_disc_n)+" copy: "
436 functions2.update_message(2, "ERROR", self) No newline at end of file
445 +function.i2s(self.var_copy_n)+", code "+QtCore.QString(self.process_check.exitCode()))
437
446 functions2.update_message(2, "ERROR", self)
No newline at end of file
447 No newline at end of file
438 self.function_check() No newline at end of file
439 No newline at end of file
448 functions.is_last_disc_and_copy(self)
440 No newline at end of file
449
441 No newline at end of file
450
442 #============================================================================== No newline at end of file
451
443 # Botones para el proceso de grabacion No newline at end of file
452 #==============================================================================
444 #============================================================================== No newline at end of file
453 # Botones para el proceso de grabacion
445 No newline at end of file
454 #==============================================================================
446 #----------------------------------------------------- Iniciar proceso de grabacion --------------------------------------------------------------- No newline at end of file
455
447 No newline at end of file
456 #----------------------------------------------------- Iniciar proceso de grabacion ---------------------------------------------------------------
448 @pyqtSignature("") No newline at end of file
457
449 def on_btnStartburn_clicked(self): No newline at end of file
458 @pyqtSignature("")
450 """ No newline at end of file
459 def on_btnStartburn_clicked(self):
451 Se inicia el proceso de grabacion No newline at end of file
460 """
452 """
461 Se inicia el proceso de grabacion
No newline at end of file
453 self.txtInfo.append("BUTTON: on_btnStartburn_clicked")
No newline at end of file
454 No newline at end of file
455 #Verifica que exista algun dispositivo de grabacion seleccionado No newline at end of file
462 """
456 if not(functions2.selected_devices(self)): No newline at end of file
463 #Verifica que exista algun dispositivo de grabacion seleccionado
457 self.txtInfo.append("There is no recording device selected") No newline at end of file
464 if not(functions2.selected_devices(self)):
458 return No newline at end of file
465 self.txtInfo.append("There is no recording device selected")
459 No newline at end of file
466 return
460 # #Lista los dispositivos de grabacion a usar No newline at end of file
467
461 # for dev in self.var_devices: No newline at end of file
468 # #Lista los dispositivos de grabacion a usar
462 # self.txtInfo.append("recording device :"+dev) No newline at end of file
469 # for dev in self.var_devices:
463
470 # self.txtInfo.append("recording device :"+dev)
No newline at end of file
464 #Si se ingresaron los DVDs en blanco
No newline at end of file
465 if self.blank_discs == True:
No newline at end of file
466 self.btnStartburn.setEnabled(False)
No newline at end of file
467 self.burning()
No newline at end of file
468 return
No newline at end of file
469
No newline at end of file
470 #Si se cargo los parametros de burning.conf
No newline at end of file
471 if self.var_burned_discs != 0:
No newline at end of file
472 self.txtInfo.append("BURNED DISC: "+str(self.var_burned_discs))
No newline at end of file
473 self.var_step = 0 No newline at end of file
474 self.bool_state_burning = True
471
No newline at end of file
475 self.blank_discs = False No newline at end of file
476 functions2.enabled_items2(True, self)
472 self.bool_state_burning = True
No newline at end of file
473 functions2.enabled_items2(True, self)
477 self.burning()
No newline at end of file
No newline at end of file
474
478 return
No newline at end of file
No newline at end of file
475 if self.bool_first_iso == True:
479
No newline at end of file
No newline at end of file
476 self.txtInfo.append("BUTTON: on_btnStartburn_clicked")
480 #Asigna las variables con los valores iniciales
No newline at end of file
No newline at end of file
477 self.var_step = 4
481 self.var_disc_n = 1 # numero de disco actual para grabacion
No newline at end of file
No newline at end of file
478 self.function_eject()
482 self.var_copy_n = 1
No newline at end of file
No newline at end of file
479 return
483 self.var_burned_discs = 0 #numero de discos grabados
No newline at end of file
No newline at end of file
480
484 self.var_step = 0
No newline at end of file
No newline at end of file
481 if self.var_step == 0:
485 self.bool_state_burning = True
No newline at end of file
No newline at end of file
482 self.function_iso()
486 self.blank_discs = False
No newline at end of file
No newline at end of file
483 return
487 functions2.enabled_items2(True, self)
No newline at end of file
No newline at end of file
484
488 self.burning() No newline at end of file
No newline at end of file
485 if self.var_step == 1:
No newline at end of file
486 self.function_burn() No newline at end of file
489 No newline at end of file
487 return
490 #----------------------------------------------------- Funcion para el grabado --------------------------------------------------------------- No newline at end of file
488
491
489 #----------------------------------------------------- Funcion para el grabado ---------------------------------------------------------------
No newline at end of file
490 No newline at end of file
492 def burning(self):
No newline at end of file
493
No newline at end of file
494 var_Rpath_ppath=self.var_Rpath+"/ppath"
No newline at end of file
495 var_Rpath_iso=self.var_Rpath+"/iso"
No newline at end of file
496
No newline at end of file
497 #Si ya se grabaron todas las copias del disco
No newline at end of file
498 if self.var_copy_n > self.var_Copys:
No newline at end of file
499 #borra la imagen.iso del numero de disco anterior
No newline at end of file
500 file_iso=var_Rpath_iso+"/"+functions.i2s(self.var_disc_n)+".iso"
No newline at end of file
501 # self.txtInfo.append("Deleting iso file")
No newline at end of file
502 # os.remove(file_iso)
No newline at end of file
503 self.var_copy_n = 1
No newline at end of file
504 self.var_disc_n += 1 # aumenta numero de disco actual para grabacion
No newline at end of file
505 self.var_step = 0
No newline at end of file
506
No newline at end of file
507 #Si ya se grabaron todos los discos
No newline at end of file
508 if self.var_disc_n > self.var_Discs:
No newline at end of file
509 self.bool_state_burning = False
No newline at end of file
510 self.txtInfo.append("Recording process is complete")
No newline at end of file
511 functions2.eject_devices(self) # Expulsa las bandejas de los dispostivos de grabacion
No newline at end of file
512 self.on_btnRestart_clicked()
No newline at end of file
513 self.btnStopburn.setEnabled(False)
No newline at end of file
514 return
No newline at end of file
515
No newline at end of file
516 # self.txtInfo.append("\n"+str(self.var_disc_n)+" "+str(self.var_copy_n)+" "+str(self.var_step))
No newline at end of file
517 No newline at end of file
518 #Creacion del archivo.iso para la grabacion No newline at end of file
491 def function_iso(self):
519 if self.var_step == 0: No newline at end of file
492 #Creacion del archivo.iso para la grabacion
520 self.txtInfo.append("########## Disc number: "+str(self.var_disc_n)+"##########")
493 if self.var_step == 0:
No newline at end of file
494 self.txtInfo.append("########## Disc number: "+str(self.var_disc_n)+"##########")
521 self.txtInfo.append("---------Creating iso file number: "+str(self.var_disc_n)) No newline at end of file
No newline at end of file
495 self.txtInfo.append("------Creating iso file number: "+str(self.var_disc_n))
No newline at end of file
496 No newline at end of file
522 var_cmd = functions.cmd_iso(self)
497 if self.var_real == True:
No newline at end of file
498 var_cmd = functions.cmd_iso(self)
523 No newline at end of file
No newline at end of file
499 else:
No newline at end of file
500 self.txtInfo.append('**function_iso')
No newline at end of file
501 var_cmd="echo 'function_iso'"
No newline at end of file
502
No newline at end of file
503 self.process_iso.start(var_cmd)
No newline at end of file
504 No newline at end of file
524 #Grabacion de los DVDs
505 def function_burn(self):
No newline at end of file
506 #Grabacion de los DVDs
525 elif self.var_step == 1:
No newline at end of file
No newline at end of file
507 if self.var_step == 1:
526
No newline at end of file
No newline at end of file
508 self.txtInfo.append("------Recording disc: "+str(self.var_copy_n)+", copy:"+str(self.var_copy_n))
527 functions2.make_burning_conf(self)
No newline at end of file
No newline at end of file
509 functions2.update_message(1, "BURNING", self)
528
No newline at end of file
No newline at end of file
510
529 var_index = ( ( (self.var_disc_n - 1) * self.var_Copys) + (self.var_copy_n - 1) - self.var_burned_discs ) % len(self.var_devices)
No newline at end of file
No newline at end of file
511 if self.var_real == True:
530 # self.txtInfo.append("INDEX: "+str(var_index))
No newline at end of file
No newline at end of file
512 var_cmd = functions.cmd_burn(self)
531 if var_index == 0 and self.blank_discs == False: No newline at end of file
No newline at end of file
513 else:
No newline at end of file
514 self.txtInfo.append('**function_burn')
No newline at end of file
515 var_cmd="echo 'function_burn'"
No newline at end of file
516
No newline at end of file
517 self.process_burn.start(var_cmd)
No newline at end of file
518
No newline at end of file
519 def function_check(self):
No newline at end of file
520 #Verificacion de los discos
No newline at end of file
521 if self.var_step == 2:
No newline at end of file
522 self.txtInfo.append("-----------checking disc:"+str(self.var_copy_n)+", copy:"+str(self.var_copy_n))
No newline at end of file
523 functions2.update_message(2, "CHECKING", self)
No newline at end of file
524
No newline at end of file
525 if self.var_real == True:
No newline at end of file
526 var_cmd = functions.cmd_check(self)
No newline at end of file
527 else:
No newline at end of file
528 self.txtInfo.append('**function_check')
No newline at end of file
529 var_cmd="echo 'function_check'"
No newline at end of file
530
No newline at end of file
531 self.process_check.start(var_cmd)
No newline at end of file
532
No newline at end of file
533 #OK
No newline at end of file
534 def function_eject(self):
No newline at end of file
535 self.txtInfo.append("Ejecting recording devices")
No newline at end of file
536 self.txtInfo.append("Please insert blank discs")
No newline at end of file
537 No newline at end of file
532 functions2.eject_devices(self) # Expulsa las bandejas de los dispostivos de grabacion
538 if self.var_real == True:
No newline at end of file
539 functions2.eject_devices(self) # Expulsa las bandejas de los dispostivos de grabacion
533 self.blank_discs = True No newline at end of file
No newline at end of file
540 else:
No newline at end of file
541 self.txtInfo.append("**functions2.eject_devices") No newline at end of file
534 self.btnStartburn.setText("Continue") No newline at end of file
542
535 self.btnStartburn.setEnabled(True)
543 self.btnStartburn.setText("Continue")
No newline at end of file
544 self.btnStartburn.setEnabled(True)
536 return
No newline at end of file
No newline at end of file
545
537
No newline at end of file
No newline at end of file
546 if self.bool_first_iso == True:
538 self.blank_discs = False
No newline at end of file
No newline at end of file
547 self.bool_first_iso = False
539
No newline at end of file
No newline at end of file
548 self.var_step = 0
540 self.txtInfo.append("recording disc:"+str(self.var_copy_n)+", copy:"+str(self.var_copy_n))
No newline at end of file
No newline at end of file
549
541 functions2.update_message(1, "BURNING", self)
No newline at end of file
No newline at end of file
550 elif self.var_copy_n == 1:
542
No newline at end of file
No newline at end of file
551 self.var_step = 0
543 var_dev_tmp = self.var_devices[var_index]
No newline at end of file
No newline at end of file
552
544 file_iso=var_Rpath_iso+"/"+functions.i2s(self.var_disc_n)+".iso"
No newline at end of file
No newline at end of file
553 else:
545 var_cmd = "wodim -v dev="+var_dev_tmp+" speed=16 "+ file_iso
No newline at end of file
No newline at end of file
554 self.var_step = 1
546
No newline at end of file
No newline at end of file
555
547 self.var_process.start('echo "comando"')
No newline at end of file
No newline at end of file
556 def function_final(self):
548 # self.txtInfo.append("CMD: "+var_cmd)
No newline at end of file
No newline at end of file
557 self.txtInfo.append("Recording process is complete") No newline at end of file
549
No newline at end of file
550 # self.txtInfo.append("creando iso")
No newline at end of file
551 # self.var_process.start(var_cmd) No newline at end of file
552 No newline at end of file
558
553 No newline at end of file
559
554 #----------------------------------------------------- Detener proceso de grabacion --------------------------------------------------------------- No newline at end of file
560
555 No newline at end of file
561 #----------------------------------------------------- Detener proceso de grabacion ---------------------------------------------------------------
556 @pyqtSignature("") No newline at end of file
562
557 def on_btnStopburn_clicked(self): No newline at end of file
563 @pyqtSignature("")
558 """ No newline at end of file
564 def on_btnStopburn_clicked(self):
559 Slot documentation goes here. No newline at end of file
565 """
560 """ No newline at end of file
566 Slot documentation goes here.
561 self.bool_state_burning = False No newline at end of file
567 """
562 No newline at end of file
568 self.bool_state_burning = False
563 if self.var_step == 0: No newline at end of file
569
564 self.process_iso.terminate() #Termina el proceso, si puede No newline at end of file
570 if self.var_step == 0:
565 # self.process_iso.kill() #Mata el proceso, no es la forma adecuada, solo usar si terminate() no funciona No newline at end of file
571 self.process_iso.terminate() #Termina el proceso, si puede
566 elif self.var_step == 1: No newline at end of file
572 # self.process_iso.kill() #Mata el proceso, no es la forma adecuada, solo usar si terminate() no funciona
567 self.process_burn.terminate() No newline at end of file
573 elif self.var_step == 1:
568 elif self.var_step == 2: No newline at end of file
574 self.process_burn.terminate()
569 self.process_check.terminate() No newline at end of file
575 elif self.var_step == 2:
570 No newline at end of file
576 self.process_check.terminate()
571 self.txtInfo.append("Stopped recording") No newline at end of file
577
572 functions2.enabled_items2(False, self) No newline at end of file
578 self.txtInfo.append("Stopped recording")
579 functions2.enabled_items2(False, self)
No newline at end of file
580 self.bool_first_iso = True No newline at end of file
573 No newline at end of file
581
574 No newline at end of file
582
575 #============================================================================== No newline at end of file
583
576 # Proceso verificacion manual No newline at end of file
584 #==============================================================================
577 #============================================================================== No newline at end of file
585 # Proceso verificacion manual
578 No newline at end of file
586 #==============================================================================
579 No newline at end of file
587
580 #----------------------------------------------------- Proceso de verificaion manual --------------------------------------------------------------- No newline at end of file
588
581 No newline at end of file
589 #----------------------------------------------------- Proceso de verificaion manual ---------------------------------------------------------------
582 No newline at end of file
590
583 @pyqtSignature("") No newline at end of file
591
584 def on_btnTDpath_clicked(self): No newline at end of file
592 @pyqtSignature("")
585 """ No newline at end of file
593 def on_btnTDpath_clicked(self):
586 Slot documentation goes here. No newline at end of file
594 """
587 """ No newline at end of file
595 Slot documentation goes here.
588 self.var_TDpath= str(QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly)) No newline at end of file
596 """
589 self.txtTDpath.setText(self.var_TDpath) No newline at end of file
597 self.var_TDpath= str(QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly))
590 self.statusTDpath = functions.dir_exists(self.var_TDpath, self) No newline at end of file
598 self.txtTDpath.setText(self.var_TDpath)
591 No newline at end of file
599 self.statusTDpath = functions.dir_exists(self.var_TDpath, self)
592 No newline at end of file
600
593 @pyqtSignature("") No newline at end of file
601
594 def on_btnCHstart_clicked(self): No newline at end of file
602 @pyqtSignature("")
595 """ No newline at end of file
603 def on_btnCHstart_clicked(self):
596 Slot documentation goes here. No newline at end of file
604 """
597 """ No newline at end of file
605 Slot documentation goes here.
598 pass No newline at end of file
606 """
599
607 pass
@@ -1,1463 +1,1463
1 <?xml version="1.0" encoding="UTF-8"?> No newline at end of file
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0"> No newline at end of file
2 <ui version="4.0">
3 <class>MainWindow</class> No newline at end of file
3 <class>MainWindow</class>
4 <widget class="QMainWindow" name="MainWindow"> No newline at end of file
4 <widget class="QMainWindow" name="MainWindow">
5 <property name="geometry"> No newline at end of file
5 <property name="geometry">
6 <rect> No newline at end of file
6 <rect>
7 <x>0</x> No newline at end of file
7 <x>0</x>
8 <y>0</y>
8 <y>0</y>
No newline at end of file
9 <width>824</width> No newline at end of file
9 <width>621</width> No newline at end of file
10 <height>717</height> No newline at end of file
10 <height>717</height>
11 </rect> No newline at end of file
11 </rect>
12 </property> No newline at end of file
12 </property>
13 <property name="windowTitle"> No newline at end of file
13 <property name="windowTitle">
14 <string>JRO BACKUP MANAGER</string> No newline at end of file
14 <string>JRO BACKUP MANAGER</string>
15 </property> No newline at end of file
15 </property>
16 <widget class="QWidget" name="centralwidget"> No newline at end of file
16 <widget class="QWidget" name="centralwidget">
17 <layout class="QVBoxLayout" name="verticalLayout"> No newline at end of file
17 <layout class="QVBoxLayout" name="verticalLayout">
18 <item> No newline at end of file
18 <item>
19 <widget class="QTabWidget" name="tabWidget"> No newline at end of file
19 <widget class="QTabWidget" name="tabWidget">
20 <property name="enabled"> No newline at end of file
20 <property name="enabled">
21 <bool>true</bool> No newline at end of file
21 <bool>true</bool>
22 </property> No newline at end of file
22 </property>
23 <property name="sizePolicy"> No newline at end of file
23 <property name="sizePolicy">
24 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> No newline at end of file
24 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
25 <horstretch>0</horstretch> No newline at end of file
25 <horstretch>0</horstretch>
26 <verstretch>0</verstretch> No newline at end of file
26 <verstretch>0</verstretch>
27 </sizepolicy> No newline at end of file
27 </sizepolicy>
28 </property> No newline at end of file
28 </property>
29 <property name="currentIndex"> No newline at end of file
29 <property name="currentIndex">
30 <number>0</number> No newline at end of file
30 <number>0</number>
31 </property> No newline at end of file
31 </property>
32 <widget class="QWidget" name="tabParameters"> No newline at end of file
32 <widget class="QWidget" name="tabParameters">
33 <property name="enabled"> No newline at end of file
33 <property name="enabled">
34 <bool>true</bool> No newline at end of file
34 <bool>true</bool>
35 </property> No newline at end of file
35 </property>
36 <attribute name="title"> No newline at end of file
36 <attribute name="title">
37 <string>Parameters</string> No newline at end of file
37 <string>Parameters</string>
38 </attribute> No newline at end of file
38 </attribute>
39 <layout class="QVBoxLayout" name="verticalLayout_2"> No newline at end of file
39 <layout class="QVBoxLayout" name="verticalLayout_2">
40 <item> No newline at end of file
40 <item>
41 <layout class="QHBoxLayout" name="horizontalLayout"> No newline at end of file
41 <layout class="QHBoxLayout" name="horizontalLayout">
42 <property name="sizeConstraint"> No newline at end of file
42 <property name="sizeConstraint">
43 <enum>QLayout::SetDefaultConstraint</enum> No newline at end of file
43 <enum>QLayout::SetDefaultConstraint</enum>
44 </property> No newline at end of file
44 </property>
45 <item> No newline at end of file
45 <item>
46 <widget class="QLineEdit" name="txtDpath"> No newline at end of file
46 <widget class="QLineEdit" name="txtDpath">
47 <property name="sizePolicy"> No newline at end of file
47 <property name="sizePolicy">
48 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> No newline at end of file
48 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
49 <horstretch>0</horstretch> No newline at end of file
49 <horstretch>0</horstretch>
50 <verstretch>0</verstretch> No newline at end of file
50 <verstretch>0</verstretch>
51 </sizepolicy> No newline at end of file
51 </sizepolicy>
52 </property> No newline at end of file
52 </property>
53 </widget> No newline at end of file
53 </widget>
54 </item> No newline at end of file
54 </item>
55 <item> No newline at end of file
55 <item>
56 <widget class="QPushButton" name="btnDpath"> No newline at end of file
56 <widget class="QPushButton" name="btnDpath">
57 <property name="sizePolicy"> No newline at end of file
57 <property name="sizePolicy">
58 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> No newline at end of file
58 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
59 <horstretch>0</horstretch> No newline at end of file
59 <horstretch>0</horstretch>
60 <verstretch>0</verstretch> No newline at end of file
60 <verstretch>0</verstretch>
61 </sizepolicy> No newline at end of file
61 </sizepolicy>
62 </property> No newline at end of file
62 </property>
63 <property name="text"> No newline at end of file
63 <property name="text">
64 <string>Data Path</string> No newline at end of file
64 <string>Data Path</string>
65 </property> No newline at end of file
65 </property>
66 <property name="checkable"> No newline at end of file
66 <property name="checkable">
67 <bool>false</bool> No newline at end of file
67 <bool>false</bool>
68 </property> No newline at end of file
68 </property>
69 </widget> No newline at end of file
69 </widget>
70 </item> No newline at end of file
70 </item>
71 </layout> No newline at end of file
71 </layout>
72 </item> No newline at end of file
72 </item>
73 <item> No newline at end of file
73 <item>
74 <layout class="QHBoxLayout" name="horizontalLayout_3"> No newline at end of file
74 <layout class="QHBoxLayout" name="horizontalLayout_3">
75 <item> No newline at end of file
75 <item>
76 <widget class="QLineEdit" name="txtRpath"/> No newline at end of file
76 <widget class="QLineEdit" name="txtRpath"/>
77 </item> No newline at end of file
77 </item>
78 <item> No newline at end of file
78 <item>
79 <widget class="QPushButton" name="btnRpath"> No newline at end of file
79 <widget class="QPushButton" name="btnRpath">
80 <property name="text"> No newline at end of file
80 <property name="text">
81 <string>Resource Path</string> No newline at end of file
81 <string>Resource Path</string>
82 </property> No newline at end of file
82 </property>
83 </widget> No newline at end of file
83 </widget>
84 </item> No newline at end of file
84 </item>
85 </layout> No newline at end of file
85 </layout>
86 </item> No newline at end of file
86 </item>
87 <item> No newline at end of file
87 <item>
88 <widget class="QLabel" name="lblDtype"> No newline at end of file
88 <widget class="QLabel" name="lblDtype">
89 <property name="text"> No newline at end of file
89 <property name="text">
90 <string>Data Type</string> No newline at end of file
90 <string>Data Type</string>
91 </property> No newline at end of file
91 </property>
92 </widget> No newline at end of file
92 </widget>
93 </item> No newline at end of file
93 </item>
94 <item> No newline at end of file
94 <item>
95 <layout class="QHBoxLayout" name="horizontalLayout_4"> No newline at end of file
95 <layout class="QHBoxLayout" name="horizontalLayout_4">
96 <item> No newline at end of file
96 <item>
97 <widget class="QComboBox" name="lstDtype"> No newline at end of file
97 <widget class="QComboBox" name="lstDtype">
98 <item> No newline at end of file
98 <item>
99 <property name="text"> No newline at end of file
99 <property name="text">
100 <string>Raw Data</string> No newline at end of file
100 <string>Raw Data</string>
101 </property> No newline at end of file
101 </property>
102 </item> No newline at end of file
102 </item>
103 <item> No newline at end of file
103 <item>
104 <property name="text"> No newline at end of file
104 <property name="text">
105 <string>Process Data</string> No newline at end of file
105 <string>Process Data</string>
106 </property> No newline at end of file
106 </property>
107 </item> No newline at end of file
107 </item>
108 <item> No newline at end of file
108 <item>
109 <property name="text"> No newline at end of file
109 <property name="text">
110 <string>BLTR Data</string> No newline at end of file
110 <string>BLTR Data</string>
111 </property> No newline at end of file
111 </property>
112 </item> No newline at end of file
112 </item>
113 <item> No newline at end of file
113 <item>
114 <property name="text"> No newline at end of file
114 <property name="text">
115 <string>Other</string> No newline at end of file
115 <string>Other</string>
116 </property> No newline at end of file
116 </property>
117 </item> No newline at end of file
117 </item>
118 </widget> No newline at end of file
118 </widget>
119 </item> No newline at end of file
119 </item>
120 <item> No newline at end of file
120 <item>
121 <widget class="QLineEdit" name="txtDtype"> No newline at end of file
121 <widget class="QLineEdit" name="txtDtype">
122 <property name="sizePolicy"> No newline at end of file
122 <property name="sizePolicy">
123 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> No newline at end of file
123 <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
124 <horstretch>0</horstretch> No newline at end of file
124 <horstretch>0</horstretch>
125 <verstretch>0</verstretch> No newline at end of file
125 <verstretch>0</verstretch>
126 </sizepolicy> No newline at end of file
126 </sizepolicy>
127 </property> No newline at end of file
127 </property>
128 <property name="text"> No newline at end of file
128 <property name="text">
129 <string>r</string> No newline at end of file
129 <string>r</string>
130 </property> No newline at end of file
130 </property>
131 <property name="readOnly"> No newline at end of file
131 <property name="readOnly">
132 <bool>true</bool> No newline at end of file
132 <bool>true</bool>
133 </property> No newline at end of file
133 </property>
134 </widget> No newline at end of file
134 </widget>
135 </item> No newline at end of file
135 </item>
136 <item> No newline at end of file
136 <item>
137 <spacer name="horizontalSpacer"> No newline at end of file
137 <spacer name="horizontalSpacer">
138 <property name="orientation"> No newline at end of file
138 <property name="orientation">
139 <enum>Qt::Horizontal</enum> No newline at end of file
139 <enum>Qt::Horizontal</enum>
140 </property> No newline at end of file
140 </property>
141 <property name="sizeType"> No newline at end of file
141 <property name="sizeType">
142 <enum>QSizePolicy::Expanding</enum> No newline at end of file
142 <enum>QSizePolicy::Expanding</enum>
143 </property> No newline at end of file
143 </property>
144 <property name="sizeHint" stdset="0"> No newline at end of file
144 <property name="sizeHint" stdset="0">
145 <size> No newline at end of file
145 <size>
146 <width>40</width> No newline at end of file
146 <width>40</width>
147 <height>20</height> No newline at end of file
147 <height>20</height>
148 </size> No newline at end of file
148 </size>
149 </property> No newline at end of file
149 </property>
150 </spacer> No newline at end of file
150 </spacer>
151 </item> No newline at end of file
151 </item>
152 </layout> No newline at end of file
152 </layout>
153 </item> No newline at end of file
153 </item>
154 <item> No newline at end of file
154 <item>
155 <layout class="QHBoxLayout" name="horizontalLayout_6"> No newline at end of file
155 <layout class="QHBoxLayout" name="horizontalLayout_6">
156 <item> No newline at end of file
156 <item>
157 <widget class="QLabel" name="lblElabel"> No newline at end of file
157 <widget class="QLabel" name="lblElabel">
158 <property name="text"> No newline at end of file
158 <property name="text">
159 <string>Exp. Label at device</string> No newline at end of file
159 <string>Exp. Label at device</string>
160 </property> No newline at end of file
160 </property>
161 </widget> No newline at end of file
161 </widget>
162 </item> No newline at end of file
162 </item>
163 <item> No newline at end of file
163 <item>
164 <widget class="QLabel" name="lblCopys"> No newline at end of file
164 <widget class="QLabel" name="lblCopys">
165 <property name="text"> No newline at end of file
165 <property name="text">
166 <string>Copys</string> No newline at end of file
166 <string>Copys</string>
167 </property> No newline at end of file
167 </property>
168 </widget> No newline at end of file
168 </widget>
169 </item> No newline at end of file
169 </item>
170 </layout> No newline at end of file
170 </layout>
171 </item> No newline at end of file
171 </item>
172 <item> No newline at end of file
172 <item>
173 <layout class="QHBoxLayout" name="horizontalLayout_5"> No newline at end of file
173 <layout class="QHBoxLayout" name="horizontalLayout_5">
174 <item> No newline at end of file
174 <item>
175 <widget class="QLineEdit" name="txtElabel"/> No newline at end of file
175 <widget class="QLineEdit" name="txtElabel"/>
176 </item> No newline at end of file
176 </item>
177 <item> No newline at end of file
177 <item>
178 <widget class="QSpinBox" name="txtCopys"> No newline at end of file
178 <widget class="QSpinBox" name="txtCopys">
179 <property name="sizePolicy"> No newline at end of file
179 <property name="sizePolicy">
180 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> No newline at end of file
180 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
181 <horstretch>0</horstretch> No newline at end of file
181 <horstretch>0</horstretch>
182 <verstretch>0</verstretch> No newline at end of file
182 <verstretch>0</verstretch>
183 </sizepolicy> No newline at end of file
183 </sizepolicy>
184 </property> No newline at end of file
184 </property>
185 <property name="minimum"> No newline at end of file
185 <property name="minimum">
186 <number>1</number> No newline at end of file
186 <number>1</number>
187 </property> No newline at end of file
187 </property>
188 </widget> No newline at end of file
188 </widget>
189 </item> No newline at end of file
189 </item>
190 </layout> No newline at end of file
190 </layout>
191 </item> No newline at end of file
191 </item>
192 <item> No newline at end of file
192 <item>
193 <layout class="QHBoxLayout" name="horizontalLayout_7"> No newline at end of file
193 <layout class="QHBoxLayout" name="horizontalLayout_7">
194 <item> No newline at end of file
194 <item>
195 <widget class="QLabel" name="lblStartDay"> No newline at end of file
195 <widget class="QLabel" name="lblStartDay">
196 <property name="text"> No newline at end of file
196 <property name="text">
197 <string>Start Day:</string> No newline at end of file
197 <string>Start Day:</string>
198 </property> No newline at end of file
198 </property>
199 </widget> No newline at end of file
199 </widget>
200 </item> No newline at end of file
200 </item>
201 <item> No newline at end of file
201 <item>
202 <widget class="QLabel" name="lblStopDay"> No newline at end of file
202 <widget class="QLabel" name="lblStopDay">
203 <property name="text"> No newline at end of file
203 <property name="text">
204 <string>Stop Day:</string> No newline at end of file
204 <string>Stop Day:</string>
205 </property> No newline at end of file
205 </property>
206 </widget> No newline at end of file
206 </widget>
207 </item> No newline at end of file
207 </item>
208 </layout> No newline at end of file
208 </layout>
209 </item> No newline at end of file
209 </item>
210 <item> No newline at end of file
210 <item>
211 <layout class="QHBoxLayout" name="horizontalLayout_8"> No newline at end of file
211 <layout class="QHBoxLayout" name="horizontalLayout_8">
212 <item> No newline at end of file
212 <item>
213 <widget class="QComboBox" name="lstStartDay"/> No newline at end of file
213 <widget class="QComboBox" name="lstStartDay"/>
214 </item> No newline at end of file
214 </item>
215 <item> No newline at end of file
215 <item>
216 <widget class="QComboBox" name="lstStopDay"/> No newline at end of file
216 <widget class="QComboBox" name="lstStopDay"/>
217 </item> No newline at end of file
217 </item>
218 </layout> No newline at end of file
218 </layout>
219 </item> No newline at end of file
219 </item>
220 </layout> No newline at end of file
220 </layout>
221 </widget> No newline at end of file
221 </widget>
222 <widget class="QWidget" name="tabDconfig"> No newline at end of file
222 <widget class="QWidget" name="tabDconfig">
223 <property name="enabled"> No newline at end of file
223 <property name="enabled">
224 <bool>true</bool> No newline at end of file
224 <bool>true</bool>
225 </property> No newline at end of file
225 </property>
226 <property name="sizePolicy"> No newline at end of file
226 <property name="sizePolicy">
227 <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> No newline at end of file
227 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
228 <horstretch>0</horstretch> No newline at end of file
228 <horstretch>0</horstretch>
229 <verstretch>0</verstretch> No newline at end of file
229 <verstretch>0</verstretch>
230 </sizepolicy> No newline at end of file
230 </sizepolicy>
231 </property> No newline at end of file
231 </property>
232 <attribute name="title"> No newline at end of file
232 <attribute name="title">
233 <string>Device Config.</string> No newline at end of file
233 <string>Device Config.</string>
234 </attribute> No newline at end of file
234 </attribute>
235 <layout class="QVBoxLayout" name="verticalLayout_3"> No newline at end of file
235 <layout class="QVBoxLayout" name="verticalLayout_3">
236 <item> No newline at end of file
236 <item>
237 <layout class="QHBoxLayout" name="horizontalLayout_12"> No newline at end of file
237 <layout class="QHBoxLayout" name="horizontalLayout_12">
238 <item> No newline at end of file
238 <item>
239 <layout class="QVBoxLayout" name="verticalLayout_15"> No newline at end of file
239 <layout class="QVBoxLayout" name="verticalLayout_15">
240 <item> No newline at end of file
240 <item>
241 <widget class="QCheckBox" name="chkDevA"> No newline at end of file
241 <widget class="QCheckBox" name="chkDevA">
242 <property name="text"> No newline at end of file
242 <property name="text">
243 <string>Dev A</string> No newline at end of file
243 <string>Dev A</string>
244 </property> No newline at end of file
244 </property>
245 <property name="checked"> No newline at end of file
245 <property name="checked">
246 <bool>true</bool> No newline at end of file
246 <bool>true</bool>
247 </property> No newline at end of file
247 </property>
248 </widget> No newline at end of file
248 </widget>
249 </item> No newline at end of file
249 </item>
250 <item> No newline at end of file
250 <item>
251 <widget class="QWidget" name="grpDevA" native="true"> No newline at end of file
251 <widget class="QWidget" name="grpDevA" native="true">
252 <layout class="QVBoxLayout" name="verticalLayout_11"> No newline at end of file
252 <layout class="QVBoxLayout" name="verticalLayout_11">
253 <item> No newline at end of file
253 <item>
254 <widget class="QLineEdit" name="txtDeviceA"> No newline at end of file
254 <widget class="QLineEdit" name="txtDeviceA">
255 <property name="readOnly"> No newline at end of file
255 <property name="readOnly">
256 <bool>true</bool> No newline at end of file
256 <bool>true</bool>
257 </property> No newline at end of file
257 </property>
258 </widget> No newline at end of file
258 </widget>
259 </item> No newline at end of file
259 </item>
260 <item> No newline at end of file
260 <item>
261 <widget class="QSpinBox" name="txtBspeedA"> No newline at end of file
261 <widget class="QSpinBox" name="txtBspeedA">
262 <property name="readOnly"> No newline at end of file
262 <property name="readOnly">
263 <bool>true</bool> No newline at end of file
263 <bool>true</bool>
264 </property> No newline at end of file
264 </property>
265 <property name="minimum"> No newline at end of file
265 <property name="minimum">
266 <number>1</number> No newline at end of file
266 <number>1</number>
267 </property> No newline at end of file
267 </property>
268 <property name="value"> No newline at end of file
268 <property name="value">
269 <number>16</number> No newline at end of file
269 <number>16</number>
270 </property> No newline at end of file
270 </property>
271 </widget> No newline at end of file
271 </widget>
272 </item> No newline at end of file
272 </item>
273 <item> No newline at end of file
273 <item>
274 <widget class="QLineEdit" name="txtBmodeA"> No newline at end of file
274 <widget class="QLineEdit" name="txtBmodeA">
275 <property name="text"> No newline at end of file
275 <property name="text">
276 <string>-sao</string> No newline at end of file
276 <string>-sao</string>
277 </property> No newline at end of file
277 </property>
278 <property name="readOnly"> No newline at end of file
278 <property name="readOnly">
279 <bool>true</bool> No newline at end of file
279 <bool>true</bool>
280 </property> No newline at end of file
280 </property>
281 </widget> No newline at end of file
281 </widget>
282 </item> No newline at end of file
282 </item>
283 <item> No newline at end of file
283 <item>
284 <widget class="QPushButton" name="btnTdevA"> No newline at end of file
284 <widget class="QPushButton" name="btnTdevA">
285 <property name="text"> No newline at end of file
285 <property name="text">
286 <string>Test DevA</string> No newline at end of file
286 <string>Test DevA</string>
287 </property> No newline at end of file
287 </property>
288 </widget> No newline at end of file
288 </widget>
289 </item> No newline at end of file
289 </item>
290 </layout> No newline at end of file
290 </layout>
291 </widget> No newline at end of file
291 </widget>
292 </item> No newline at end of file
292 </item>
293 </layout> No newline at end of file
293 </layout>
294 </item> No newline at end of file
294 </item>
295 <item> No newline at end of file
295 <item>
296 <layout class="QVBoxLayout" name="verticalLayout_16"> No newline at end of file
296 <layout class="QVBoxLayout" name="verticalLayout_16">
297 <item> No newline at end of file
297 <item>
298 <widget class="QCheckBox" name="chkDevB"> No newline at end of file
298 <widget class="QCheckBox" name="chkDevB">
299 <property name="text"> No newline at end of file
299 <property name="text">
300 <string>Dev B</string> No newline at end of file
300 <string>Dev B</string>
301 </property> No newline at end of file
301 </property>
302 <property name="checked"> No newline at end of file
302 <property name="checked">
303 <bool>true</bool> No newline at end of file
303 <bool>true</bool>
304 </property> No newline at end of file
304 </property>
305 </widget> No newline at end of file
305 </widget>
306 </item> No newline at end of file
306 </item>
307 <item> No newline at end of file
307 <item>
308 <widget class="QWidget" name="grpDevB" native="true"> No newline at end of file
308 <widget class="QWidget" name="grpDevB" native="true">
309 <layout class="QVBoxLayout" name="verticalLayout_12"> No newline at end of file
309 <layout class="QVBoxLayout" name="verticalLayout_12">
310 <item> No newline at end of file
310 <item>
311 <widget class="QLineEdit" name="txtDeviceB"> No newline at end of file
311 <widget class="QLineEdit" name="txtDeviceB">
312 <property name="readOnly"> No newline at end of file
312 <property name="readOnly">
313 <bool>true</bool> No newline at end of file
313 <bool>true</bool>
314 </property> No newline at end of file
314 </property>
315 </widget> No newline at end of file
315 </widget>
316 </item> No newline at end of file
316 </item>
317 <item> No newline at end of file
317 <item>
318 <widget class="QSpinBox" name="txtBspeedB"> No newline at end of file
318 <widget class="QSpinBox" name="txtBspeedB">
319 <property name="readOnly"> No newline at end of file
319 <property name="readOnly">
320 <bool>true</bool> No newline at end of file
320 <bool>true</bool>
321 </property> No newline at end of file
321 </property>
322 <property name="minimum"> No newline at end of file
322 <property name="minimum">
323 <number>1</number> No newline at end of file
323 <number>1</number>
324 </property> No newline at end of file
324 </property>
325 <property name="value"> No newline at end of file
325 <property name="value">
326 <number>16</number> No newline at end of file
326 <number>16</number>
327 </property> No newline at end of file
327 </property>
328 </widget> No newline at end of file
328 </widget>
329 </item> No newline at end of file
329 </item>
330 <item> No newline at end of file
330 <item>
331 <widget class="QLineEdit" name="txtBmodeB"> No newline at end of file
331 <widget class="QLineEdit" name="txtBmodeB">
332 <property name="text"> No newline at end of file
332 <property name="text">
333 <string>-sao</string> No newline at end of file
333 <string>-sao</string>
334 </property> No newline at end of file
334 </property>
335 <property name="readOnly"> No newline at end of file
335 <property name="readOnly">
336 <bool>true</bool> No newline at end of file
336 <bool>true</bool>
337 </property> No newline at end of file
337 </property>
338 </widget> No newline at end of file
338 </widget>
339 </item> No newline at end of file
339 </item>
340 <item> No newline at end of file
340 <item>
341 <widget class="QPushButton" name="btnTdevB"> No newline at end of file
341 <widget class="QPushButton" name="btnTdevB">
342 <property name="text"> No newline at end of file
342 <property name="text">
343 <string>Test DevB</string> No newline at end of file
343 <string>Test DevB</string>
344 </property> No newline at end of file
344 </property>
345 </widget> No newline at end of file
345 </widget>
346 </item> No newline at end of file
346 </item>
347 </layout> No newline at end of file
347 </layout>
348 </widget> No newline at end of file
348 </widget>
349 </item> No newline at end of file
349 </item>
350 </layout> No newline at end of file
350 </layout>
351 </item> No newline at end of file
351 </item>
352 <item> No newline at end of file
352 <item>
353 <layout class="QVBoxLayout" name="verticalLayout_17"> No newline at end of file
353 <layout class="QVBoxLayout" name="verticalLayout_17">
354 <item> No newline at end of file
354 <item>
355 <widget class="QCheckBox" name="chkDevC"> No newline at end of file
355 <widget class="QCheckBox" name="chkDevC">
356 <property name="text"> No newline at end of file
356 <property name="text">
357 <string>Dev C</string> No newline at end of file
357 <string>Dev C</string>
358 </property> No newline at end of file
358 </property>
359 <property name="checked"> No newline at end of file
359 <property name="checked">
360 <bool>true</bool> No newline at end of file
360 <bool>true</bool>
361 </property> No newline at end of file
361 </property>
362 </widget> No newline at end of file
362 </widget>
363 </item> No newline at end of file
363 </item>
364 <item> No newline at end of file
364 <item>
365 <widget class="QWidget" name="grpDevC" native="true"> No newline at end of file
365 <widget class="QWidget" name="grpDevC" native="true">
366 <layout class="QVBoxLayout" name="verticalLayout_13"> No newline at end of file
366 <layout class="QVBoxLayout" name="verticalLayout_13">
367 <item> No newline at end of file
367 <item>
368 <widget class="QLineEdit" name="txtDeviceC"> No newline at end of file
368 <widget class="QLineEdit" name="txtDeviceC">
369 <property name="readOnly"> No newline at end of file
369 <property name="readOnly">
370 <bool>true</bool> No newline at end of file
370 <bool>true</bool>
371 </property> No newline at end of file
371 </property>
372 </widget> No newline at end of file
372 </widget>
373 </item> No newline at end of file
373 </item>
374 <item> No newline at end of file
374 <item>
375 <widget class="QSpinBox" name="txtBspeedC"> No newline at end of file
375 <widget class="QSpinBox" name="txtBspeedC">
376 <property name="readOnly"> No newline at end of file
376 <property name="readOnly">
377 <bool>true</bool> No newline at end of file
377 <bool>true</bool>
378 </property> No newline at end of file
378 </property>
379 <property name="minimum"> No newline at end of file
379 <property name="minimum">
380 <number>1</number> No newline at end of file
380 <number>1</number>
381 </property> No newline at end of file
381 </property>
382 <property name="value"> No newline at end of file
382 <property name="value">
383 <number>16</number> No newline at end of file
383 <number>16</number>
384 </property> No newline at end of file
384 </property>
385 </widget> No newline at end of file
385 </widget>
386 </item> No newline at end of file
386 </item>
387 <item> No newline at end of file
387 <item>
388 <widget class="QLineEdit" name="txtBmodeC"> No newline at end of file
388 <widget class="QLineEdit" name="txtBmodeC">
389 <property name="text"> No newline at end of file
389 <property name="text">
390 <string>-sao</string> No newline at end of file
390 <string>-sao</string>
391 </property> No newline at end of file
391 </property>
392 <property name="readOnly"> No newline at end of file
392 <property name="readOnly">
393 <bool>true</bool> No newline at end of file
393 <bool>true</bool>
394 </property> No newline at end of file
394 </property>
395 </widget> No newline at end of file
395 </widget>
396 </item> No newline at end of file
396 </item>
397 <item> No newline at end of file
397 <item>
398 <widget class="QPushButton" name="btnTdevC"> No newline at end of file
398 <widget class="QPushButton" name="btnTdevC">
399 <property name="text"> No newline at end of file
399 <property name="text">
400 <string>Test DevC</string> No newline at end of file
400 <string>Test DevC</string>
401 </property> No newline at end of file
401 </property>
402 </widget> No newline at end of file
402 </widget>
403 </item> No newline at end of file
403 </item>
404 </layout> No newline at end of file
404 </layout>
405 </widget> No newline at end of file
405 </widget>
406 </item> No newline at end of file
406 </item>
407 </layout> No newline at end of file
407 </layout>
408 </item> No newline at end of file
408 </item>
409 <item> No newline at end of file
409 <item>
410 <layout class="QVBoxLayout" name="verticalLayout_18"> No newline at end of file
410 <layout class="QVBoxLayout" name="verticalLayout_18">
411 <item> No newline at end of file
411 <item>
412 <widget class="QCheckBox" name="chkDevD"> No newline at end of file
412 <widget class="QCheckBox" name="chkDevD">
413 <property name="text"> No newline at end of file
413 <property name="text">
414 <string>Dev D</string> No newline at end of file
414 <string>Dev D</string>
415 </property> No newline at end of file
415 </property>
416 <property name="checked"> No newline at end of file
416 <property name="checked">
417 <bool>true</bool> No newline at end of file
417 <bool>true</bool>
418 </property> No newline at end of file
418 </property>
419 </widget> No newline at end of file
419 </widget>
420 </item> No newline at end of file
420 </item>
421 <item> No newline at end of file
421 <item>
422 <widget class="QWidget" name="grpDevD" native="true"> No newline at end of file
422 <widget class="QWidget" name="grpDevD" native="true">
423 <layout class="QVBoxLayout" name="verticalLayout_14"> No newline at end of file
423 <layout class="QVBoxLayout" name="verticalLayout_14">
424 <item> No newline at end of file
424 <item>
425 <widget class="QLineEdit" name="txtDeviceD"> No newline at end of file
425 <widget class="QLineEdit" name="txtDeviceD">
426 <property name="readOnly"> No newline at end of file
426 <property name="readOnly">
427 <bool>true</bool> No newline at end of file
427 <bool>true</bool>
428 </property> No newline at end of file
428 </property>
429 </widget> No newline at end of file
429 </widget>
430 </item> No newline at end of file
430 </item>
431 <item> No newline at end of file
431 <item>
432 <widget class="QSpinBox" name="txtBspeedD"> No newline at end of file
432 <widget class="QSpinBox" name="txtBspeedD">
433 <property name="readOnly"> No newline at end of file
433 <property name="readOnly">
434 <bool>true</bool> No newline at end of file
434 <bool>true</bool>
435 </property> No newline at end of file
435 </property>
436 <property name="minimum"> No newline at end of file
436 <property name="minimum">
437 <number>1</number> No newline at end of file
437 <number>1</number>
438 </property> No newline at end of file
438 </property>
439 <property name="value"> No newline at end of file
439 <property name="value">
440 <number>16</number> No newline at end of file
440 <number>16</number>
441 </property> No newline at end of file
441 </property>
442 </widget> No newline at end of file
442 </widget>
443 </item> No newline at end of file
443 </item>
444 <item> No newline at end of file
444 <item>
445 <widget class="QLineEdit" name="txtBmodeD"> No newline at end of file
445 <widget class="QLineEdit" name="txtBmodeD">
446 <property name="text"> No newline at end of file
446 <property name="text">
447 <string>-sao</string> No newline at end of file
447 <string>-sao</string>
448 </property> No newline at end of file
448 </property>
449 <property name="readOnly"> No newline at end of file
449 <property name="readOnly">
450 <bool>true</bool> No newline at end of file
450 <bool>true</bool>
451 </property> No newline at end of file
451 </property>
452 </widget> No newline at end of file
452 </widget>
453 </item> No newline at end of file
453 </item>
454 <item> No newline at end of file
454 <item>
455 <widget class="QPushButton" name="btnTdevD"> No newline at end of file
455 <widget class="QPushButton" name="btnTdevD">
456 <property name="text"> No newline at end of file
456 <property name="text">
457 <string>Test DevD</string> No newline at end of file
457 <string>Test DevD</string>
458 </property> No newline at end of file
458 </property>
459 </widget> No newline at end of file
459 </widget>
460 </item> No newline at end of file
460 </item>
461 </layout> No newline at end of file
461 </layout>
462 </widget> No newline at end of file
462 </widget>
463 </item> No newline at end of file
463 </item>
464 </layout> No newline at end of file
464 </layout>
465 </item> No newline at end of file
465 </item>
466 <item> No newline at end of file
466 <item>
467 <layout class="QVBoxLayout" name="verticalLayout_19"> No newline at end of file
467 <layout class="QVBoxLayout" name="verticalLayout_19">
468 <item> No newline at end of file
468 <item>
469 <spacer name="verticalSpacer_3"> No newline at end of file
469 <spacer name="verticalSpacer_3">
470 <property name="orientation"> No newline at end of file
470 <property name="orientation">
471 <enum>Qt::Vertical</enum> No newline at end of file
471 <enum>Qt::Vertical</enum>
472 </property> No newline at end of file
472 </property>
473 <property name="sizeType"> No newline at end of file
473 <property name="sizeType">
474 <enum>QSizePolicy::Minimum</enum> No newline at end of file
474 <enum>QSizePolicy::Minimum</enum>
475 </property> No newline at end of file
475 </property>
476 <property name="sizeHint" stdset="0"> No newline at end of file
476 <property name="sizeHint" stdset="0">
477 <size> No newline at end of file
477 <size>
478 <width>20</width> No newline at end of file
478 <width>20</width>
479 <height>40</height> No newline at end of file
479 <height>40</height>
480 </size> No newline at end of file
480 </size>
481 </property> No newline at end of file
481 </property>
482 </spacer> No newline at end of file
482 </spacer>
483 </item> No newline at end of file
483 </item>
484 <item> No newline at end of file
484 <item>
485 <widget class="QWidget" name="grpDevD_2" native="true"> No newline at end of file
485 <widget class="QWidget" name="grpDevD_2" native="true">
486 <layout class="QVBoxLayout" name="verticalLayout_20"> No newline at end of file
486 <layout class="QVBoxLayout" name="verticalLayout_20">
487 <item> No newline at end of file
487 <item>
488 <widget class="QLabel" name="lblDevice"> No newline at end of file
488 <widget class="QLabel" name="lblDevice">
489 <property name="text"> No newline at end of file
489 <property name="text">
490 <string>Device</string> No newline at end of file
490 <string>Device</string>
491 </property> No newline at end of file
491 </property>
492 </widget> No newline at end of file
492 </widget>
493 </item> No newline at end of file
493 </item>
494 <item> No newline at end of file
494 <item>
495 <widget class="QLabel" name="lblBspeed"> No newline at end of file
495 <widget class="QLabel" name="lblBspeed">
496 <property name="text"> No newline at end of file
496 <property name="text">
497 <string>Burn Speed</string> No newline at end of file
497 <string>Burn Speed</string>
498 </property> No newline at end of file
498 </property>
499 </widget> No newline at end of file
499 </widget>
500 </item> No newline at end of file
500 </item>
501 <item> No newline at end of file
501 <item>
502 <widget class="QLabel" name="lblBmode"> No newline at end of file
502 <widget class="QLabel" name="lblBmode">
503 <property name="text"> No newline at end of file
503 <property name="text">
504 <string>Burn Mode</string> No newline at end of file
504 <string>Burn Mode</string>
505 </property> No newline at end of file
505 </property>
506 </widget> No newline at end of file
506 </widget>
507 </item> No newline at end of file
507 </item>
508 <item> No newline at end of file
508 <item>
509 <spacer name="verticalSpacer_4"> No newline at end of file
509 <spacer name="verticalSpacer_4">
510 <property name="orientation"> No newline at end of file
510 <property name="orientation">
511 <enum>Qt::Vertical</enum> No newline at end of file
511 <enum>Qt::Vertical</enum>
512 </property> No newline at end of file
512 </property>
513 <property name="sizeType"> No newline at end of file
513 <property name="sizeType">
514 <enum>QSizePolicy::Fixed</enum> No newline at end of file
514 <enum>QSizePolicy::Fixed</enum>
515 </property> No newline at end of file
515 </property>
516 <property name="sizeHint" stdset="0"> No newline at end of file
516 <property name="sizeHint" stdset="0">
517 <size> No newline at end of file
517 <size>
518 <width>20</width> No newline at end of file
518 <width>20</width>
519 <height>40</height> No newline at end of file
519 <height>40</height>
520 </size> No newline at end of file
520 </size>
521 </property> No newline at end of file
521 </property>
522 </spacer> No newline at end of file
522 </spacer>
523 </item> No newline at end of file
523 </item>
524 </layout> No newline at end of file
524 </layout>
525 </widget> No newline at end of file
525 </widget>
526 </item> No newline at end of file
526 </item>
527 </layout> No newline at end of file
527 </layout>
528 </item> No newline at end of file
528 </item>
529 </layout> No newline at end of file
529 </layout>
530 </item> No newline at end of file
530 </item>
531 <item> No newline at end of file
531 <item>
532 <spacer name="verticalSpacer_2"> No newline at end of file
532 <spacer name="verticalSpacer_2">
533 <property name="orientation"> No newline at end of file
533 <property name="orientation">
534 <enum>Qt::Vertical</enum> No newline at end of file
534 <enum>Qt::Vertical</enum>
535 </property> No newline at end of file
535 </property>
536 <property name="sizeType"> No newline at end of file
536 <property name="sizeType">
537 <enum>QSizePolicy::Minimum</enum> No newline at end of file
537 <enum>QSizePolicy::Minimum</enum>
538 </property> No newline at end of file
538 </property>
539 <property name="sizeHint" stdset="0"> No newline at end of file
539 <property name="sizeHint" stdset="0">
540 <size> No newline at end of file
540 <size>
541 <width>20</width> No newline at end of file
541 <width>20</width>
542 <height>40</height> No newline at end of file
542 <height>40</height>
543 </size> No newline at end of file
543 </size>
544 </property> No newline at end of file
544 </property>
545 </spacer> No newline at end of file
545 </spacer>
546 </item> No newline at end of file
546 </item>
547 <item> No newline at end of file
547 <item>
548 <layout class="QHBoxLayout" name="horizontalLayout_11"> No newline at end of file
548 <layout class="QHBoxLayout" name="horizontalLayout_11">
549 <property name="spacing"> No newline at end of file
549 <property name="spacing">
550 <number>6</number> No newline at end of file
550 <number>6</number>
551 </property> No newline at end of file
551 </property>
552 <property name="sizeConstraint"> No newline at end of file
552 <property name="sizeConstraint">
553 <enum>QLayout::SetDefaultConstraint</enum> No newline at end of file
553 <enum>QLayout::SetDefaultConstraint</enum>
554 </property> No newline at end of file
554 </property>
555 <item> No newline at end of file
555 <item>
556 <widget class="QLabel" name="lblDcapacity"> No newline at end of file
556 <widget class="QLabel" name="lblDcapacity">
557 <property name="sizePolicy"> No newline at end of file
557 <property name="sizePolicy">
558 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> No newline at end of file
558 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
559 <horstretch>0</horstretch> No newline at end of file
559 <horstretch>0</horstretch>
560 <verstretch>0</verstretch> No newline at end of file
560 <verstretch>0</verstretch>
561 </sizepolicy> No newline at end of file
561 </sizepolicy>
562 </property> No newline at end of file
562 </property>
563 <property name="text"> No newline at end of file
563 <property name="text">
564 <string>Device Capacity</string> No newline at end of file
564 <string>Device Capacity</string>
565 </property> No newline at end of file
565 </property>
566 </widget> No newline at end of file
566 </widget>
567 </item> No newline at end of file
567 </item>
568 <item> No newline at end of file
568 <item>
569 <spacer name="horizontalSpacer_2"> No newline at end of file
569 <spacer name="horizontalSpacer_2">
570 <property name="orientation"> No newline at end of file
570 <property name="orientation">
571 <enum>Qt::Horizontal</enum> No newline at end of file
571 <enum>Qt::Horizontal</enum>
572 </property> No newline at end of file
572 </property>
573 <property name="sizeHint" stdset="0"> No newline at end of file
573 <property name="sizeHint" stdset="0">
574 <size> No newline at end of file
574 <size>
575 <width>40</width> No newline at end of file
575 <width>40</width>
576 <height>20</height> No newline at end of file
576 <height>20</height>
577 </size> No newline at end of file
577 </size>
578 </property> No newline at end of file
578 </property>
579 </spacer> No newline at end of file
579 </spacer>
580 </item> No newline at end of file
580 </item>
581 </layout> No newline at end of file
581 </layout>
582 </item> No newline at end of file
582 </item>
583 <item> No newline at end of file
583 <item>
584 <layout class="QHBoxLayout" name="horizontalLayout_10"> No newline at end of file
584 <layout class="QHBoxLayout" name="horizontalLayout_10">
585 <property name="sizeConstraint"> No newline at end of file
585 <property name="sizeConstraint">
586 <enum>QLayout::SetFixedSize</enum> No newline at end of file
586 <enum>QLayout::SetFixedSize</enum>
587 </property> No newline at end of file
587 </property>
588 <item> No newline at end of file
588 <item>
589 <widget class="QComboBox" name="lstDcapacity"> No newline at end of file
589 <widget class="QComboBox" name="lstDcapacity">
590 <property name="currentIndex"> No newline at end of file
590 <property name="currentIndex">
591 <number>2</number> No newline at end of file
591 <number>2</number>
592 </property> No newline at end of file
592 </property>
593 <item> No newline at end of file
593 <item>
594 <property name="text"> No newline at end of file
594 <property name="text">
595 <string>BluRay [25.0 GB]</string> No newline at end of file
595 <string>BluRay [25.0 GB]</string>
596 </property> No newline at end of file
596 </property>
597 </item> No newline at end of file
597 </item>
598 <item> No newline at end of file
598 <item>
599 <property name="text"> No newline at end of file
599 <property name="text">
600 <string>DVD2 [8.5 GB]</string> No newline at end of file
600 <string>DVD2 [8.5 GB]</string>
601 </property> No newline at end of file
601 </property>
602 </item> No newline at end of file
602 </item>
603 <item> No newline at end of file
603 <item>
604 <property name="text"> No newline at end of file
604 <property name="text">
605 <string>DVD1 [4.7 GB]</string> No newline at end of file
605 <string>DVD1 [4.7 GB]</string>
606 </property> No newline at end of file
606 </property>
607 </item> No newline at end of file
607 </item>
608 <item> No newline at end of file
608 <item>
609 <property name="text"> No newline at end of file
609 <property name="text">
610 <string>CD [0.7 GB]</string> No newline at end of file
610 <string>CD [0.7 GB]</string>
611 </property> No newline at end of file
611 </property>
612 </item> No newline at end of file
612 </item>
613 <item> No newline at end of file
613 <item>
614 <property name="text"> No newline at end of file
614 <property name="text">
615 <string>Other [? MB]</string> No newline at end of file
615 <string>Other [? MB]</string>
616 </property> No newline at end of file
616 </property>
617 </item> No newline at end of file
617 </item>
618 </widget> No newline at end of file
618 </widget>
619 </item> No newline at end of file
619 </item>
620 <item> No newline at end of file
620 <item>
621 <widget class="QDoubleSpinBox" name="txtDcapacity"> No newline at end of file
621 <widget class="QDoubleSpinBox" name="txtDcapacity">
622 <property name="sizePolicy"> No newline at end of file
622 <property name="sizePolicy">
623 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> No newline at end of file
623 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
624 <horstretch>0</horstretch> No newline at end of file
624 <horstretch>0</horstretch>
625 <verstretch>0</verstretch> No newline at end of file
625 <verstretch>0</verstretch>
626 </sizepolicy> No newline at end of file
626 </sizepolicy>
627 </property> No newline at end of file
627 </property>
628 <property name="readOnly"> No newline at end of file
628 <property name="readOnly">
629 <bool>true</bool> No newline at end of file
629 <bool>true</bool>
630 </property> No newline at end of file
630 </property>
631 <property name="minimum"> No newline at end of file
631 <property name="minimum">
632 <double>100.000000000000000</double> No newline at end of file
632 <double>100.000000000000000</double>
633 </property> No newline at end of file
633 </property>
634 <property name="maximum"> No newline at end of file
634 <property name="maximum">
635 <double>99999.990000000005239</double> No newline at end of file
635 <double>99999.990000000005239</double>
636 </property> No newline at end of file
636 </property>
637 <property name="value"> No newline at end of file
637 <property name="value">
638 <double>4482.270000000000437</double> No newline at end of file
638 <double>4482.270000000000437</double>
639 </property> No newline at end of file
639 </property>
640 </widget> No newline at end of file
640 </widget>
641 </item> No newline at end of file
641 </item>
642 <item> No newline at end of file
642 <item>
643 <spacer name="horizontalSpacer_3"> No newline at end of file
643 <spacer name="horizontalSpacer_3">
644 <property name="orientation"> No newline at end of file
644 <property name="orientation">
645 <enum>Qt::Horizontal</enum> No newline at end of file
645 <enum>Qt::Horizontal</enum>
646 </property> No newline at end of file
646 </property>
647 <property name="sizeHint" stdset="0"> No newline at end of file
647 <property name="sizeHint" stdset="0">
648 <size> No newline at end of file
648 <size>
649 <width>40</width> No newline at end of file
649 <width>40</width>
650 <height>20</height> No newline at end of file
650 <height>20</height>
651 </size> No newline at end of file
651 </size>
652 </property> No newline at end of file
652 </property>
653 </spacer> No newline at end of file
653 </spacer>
654 </item> No newline at end of file
654 </item>
655 <item> No newline at end of file
655 <item>
656 <widget class="QLabel" name="lblPSgraphic"> No newline at end of file
656 <widget class="QLabel" name="lblPSgraphic">
657 <property name="text"> No newline at end of file
657 <property name="text">
658 <string>PS Graphic</string> No newline at end of file
658 <string>PS Graphic</string>
659 </property> No newline at end of file
659 </property>
660 </widget> No newline at end of file
660 </widget>
661 </item> No newline at end of file
661 </item>
662 <item> No newline at end of file
662 <item>
663 <widget class="QSpinBox" name="txtPSgraphic"> No newline at end of file
663 <widget class="QSpinBox" name="txtPSgraphic">
664 <property name="minimum"> No newline at end of file
664 <property name="minimum">
665 <number>1</number> No newline at end of file
665 <number>1</number>
666 </property> No newline at end of file
666 </property>
667 <property name="maximum"> No newline at end of file
667 <property name="maximum">
668 <number>33</number> No newline at end of file
668 <number>33</number>
669 </property> No newline at end of file
669 </property>
670 </widget> No newline at end of file
670 </widget>
671 </item> No newline at end of file
671 </item>
672 </layout> No newline at end of file
672 </layout>
673 </item> No newline at end of file
673 </item>
674 </layout> No newline at end of file
674 </layout>
675 </widget> No newline at end of file
675 </widget>
676 <widget class="QWidget" name="tabStatus"> No newline at end of file
676 <widget class="QWidget" name="tabStatus">
677 <attribute name="title"> No newline at end of file
677 <attribute name="title">
678 <string>Status Burn</string> No newline at end of file
678 <string>Status Burn</string>
679 </attribute> No newline at end of file
679 </attribute>
680 <layout class="QVBoxLayout" name="verticalLayout_4"> No newline at end of file
680 <layout class="QVBoxLayout" name="verticalLayout_4">
681 <item> No newline at end of file
681 <item>
682 <layout class="QHBoxLayout" name="horizontalLayout_18"> No newline at end of file
682 <layout class="QHBoxLayout" name="horizontalLayout_18">
683 <item> No newline at end of file
683 <item>
684 <layout class="QVBoxLayout" name="verticalLayout_21"> No newline at end of file
684 <layout class="QVBoxLayout" name="verticalLayout_21">
685 <item> No newline at end of file
685 <item>
686 <widget class="QLabel" name="label_4"> No newline at end of file
686 <widget class="QLabel" name="label_4">
687 <property name="text"> No newline at end of file
687 <property name="text">
688 <string>BURN</string> No newline at end of file
688 <string>BURN</string>
689 </property> No newline at end of file
689 </property>
690 </widget> No newline at end of file
690 </widget>
691 </item> No newline at end of file
691 </item>
692 <item> No newline at end of file
692 <item>
693 <spacer name="horizontalSpacer_9"> No newline at end of file
693 <spacer name="horizontalSpacer_9">
694 <property name="orientation"> No newline at end of file
694 <property name="orientation">
695 <enum>Qt::Horizontal</enum> No newline at end of file
695 <enum>Qt::Horizontal</enum>
696 </property> No newline at end of file
696 </property>
697 <property name="sizeType"> No newline at end of file
697 <property name="sizeType">
698 <enum>QSizePolicy::Minimum</enum> No newline at end of file
698 <enum>QSizePolicy::Minimum</enum>
699 </property> No newline at end of file
699 </property>
700 <property name="sizeHint" stdset="0"> No newline at end of file
700 <property name="sizeHint" stdset="0">
701 <size> No newline at end of file
701 <size>
702 <width>40</width> No newline at end of file
702 <width>40</width>
703 <height>20</height> No newline at end of file
703 <height>20</height>
704 </size> No newline at end of file
704 </size>
705 </property> No newline at end of file
705 </property>
706 </spacer> No newline at end of file
706 </spacer>
707 </item> No newline at end of file
707 </item>
708 <item> No newline at end of file
708 <item>
709 <widget class="QLabel" name="lblSTATUS"> No newline at end of file
709 <widget class="QLabel" name="lblSTATUS">
710 <property name="sizePolicy"> No newline at end of file
710 <property name="sizePolicy">
711 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> No newline at end of file
711 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
712 <horstretch>0</horstretch> No newline at end of file
712 <horstretch>0</horstretch>
713 <verstretch>0</verstretch> No newline at end of file
713 <verstretch>0</verstretch>
714 </sizepolicy> No newline at end of file
714 </sizepolicy>
715 </property> No newline at end of file
715 </property>
716 <property name="text"> No newline at end of file
716 <property name="text">
717 <string>STATUS</string> No newline at end of file
717 <string>STATUS</string>
718 </property> No newline at end of file
718 </property>
719 </widget> No newline at end of file
719 </widget>
720 </item> No newline at end of file
720 </item>
721 <item> No newline at end of file
721 <item>
722 <widget class="QLabel" name="lblINFO"> No newline at end of file
722 <widget class="QLabel" name="lblINFO">
723 <property name="text"> No newline at end of file
723 <property name="text">
724 <string>DISC</string> No newline at end of file
724 <string>DISC</string>
725 </property> No newline at end of file
725 </property>
726 </widget> No newline at end of file
726 </widget>
727 </item> No newline at end of file
727 </item>
728 <item> No newline at end of file
728 <item>
729 <widget class="QLabel" name="lblSET"> No newline at end of file
729 <widget class="QLabel" name="lblSET">
730 <property name="text"> No newline at end of file
730 <property name="text">
731 <string>COPY</string> No newline at end of file
731 <string>COPY</string>
732 </property> No newline at end of file
732 </property>
733 </widget> No newline at end of file
733 </widget>
734 </item> No newline at end of file
734 </item>
735 </layout> No newline at end of file
735 </layout>
736 </item> No newline at end of file
736 </item>
737 <item> No newline at end of file
737 <item>
738 <layout class="QVBoxLayout" name="verticalLayout_22"> No newline at end of file
738 <layout class="QVBoxLayout" name="verticalLayout_22">
739 <item> No newline at end of file
739 <item>
740 <spacer name="horizontalSpacer_5"> No newline at end of file
740 <spacer name="horizontalSpacer_5">
741 <property name="orientation"> No newline at end of file
741 <property name="orientation">
742 <enum>Qt::Horizontal</enum> No newline at end of file
742 <enum>Qt::Horizontal</enum>
743 </property> No newline at end of file
743 </property>
744 <property name="sizeType"> No newline at end of file
744 <property name="sizeType">
745 <enum>QSizePolicy::Minimum</enum> No newline at end of file
745 <enum>QSizePolicy::Minimum</enum>
746 </property> No newline at end of file
746 </property>
747 <property name="sizeHint" stdset="0"> No newline at end of file
747 <property name="sizeHint" stdset="0">
748 <size> No newline at end of file
748 <size>
749 <width>40</width> No newline at end of file
749 <width>40</width>
750 <height>20</height> No newline at end of file
750 <height>20</height>
751 </size> No newline at end of file
751 </size>
752 </property> No newline at end of file
752 </property>
753 </spacer> No newline at end of file
753 </spacer>
754 </item> No newline at end of file
754 </item>
755 <item> No newline at end of file
755 <item>
756 <widget class="QLabel" name="lblDevA"> No newline at end of file
756 <widget class="QLabel" name="lblDevA">
757 <property name="text"> No newline at end of file
757 <property name="text">
758 <string>DEV A</string> No newline at end of file
758 <string>DEV A</string>
759 </property> No newline at end of file
759 </property>
760 <property name="alignment"> No newline at end of file
760 <property name="alignment">
761 <set>Qt::AlignCenter</set> No newline at end of file
761 <set>Qt::AlignCenter</set>
762 </property> No newline at end of file
762 </property>
763 </widget> No newline at end of file
763 </widget>
764 </item> No newline at end of file
764 </item>
765 <item> No newline at end of file
765 <item>
766 <widget class="QLineEdit" name="txtBstatusA"> No newline at end of file
766 <widget class="QLineEdit" name="txtBstatusA">
767 <property name="readOnly"> No newline at end of file
767 <property name="readOnly">
768 <bool>true</bool> No newline at end of file
768 <bool>true</bool>
769 </property> No newline at end of file
769 </property>
770 </widget> No newline at end of file
770 </widget>
771 </item> No newline at end of file
771 </item>
772 <item> No newline at end of file
772 <item>
773 <widget class="QLineEdit" name="txtBdiscA"> No newline at end of file
773 <widget class="QLineEdit" name="txtBdiscA">
774 <property name="readOnly"> No newline at end of file
774 <property name="readOnly">
775 <bool>true</bool> No newline at end of file
775 <bool>true</bool>
776 </property> No newline at end of file
776 </property>
777 </widget> No newline at end of file
777 </widget>
778 </item> No newline at end of file
778 </item>
779 <item> No newline at end of file
779 <item>
780 <widget class="QLineEdit" name="txtBcopyA"> No newline at end of file
780 <widget class="QLineEdit" name="txtBcopyA">
781 <property name="readOnly"> No newline at end of file
781 <property name="readOnly">
782 <bool>true</bool> No newline at end of file
782 <bool>true</bool>
783 </property> No newline at end of file
783 </property>
784 </widget> No newline at end of file
784 </widget>
785 </item> No newline at end of file
785 </item>
786 </layout> No newline at end of file
786 </layout>
787 </item> No newline at end of file
787 </item>
788 <item> No newline at end of file
788 <item>
789 <layout class="QVBoxLayout" name="verticalLayout_23"> No newline at end of file
789 <layout class="QVBoxLayout" name="verticalLayout_23">
790 <item> No newline at end of file
790 <item>
791 <spacer name="horizontalSpacer_6"> No newline at end of file
791 <spacer name="horizontalSpacer_6">
792 <property name="orientation"> No newline at end of file
792 <property name="orientation">
793 <enum>Qt::Horizontal</enum> No newline at end of file
793 <enum>Qt::Horizontal</enum>
794 </property> No newline at end of file
794 </property>
795 <property name="sizeType"> No newline at end of file
795 <property name="sizeType">
796 <enum>QSizePolicy::Minimum</enum> No newline at end of file
796 <enum>QSizePolicy::Minimum</enum>
797 </property> No newline at end of file
797 </property>
798 <property name="sizeHint" stdset="0"> No newline at end of file
798 <property name="sizeHint" stdset="0">
799 <size> No newline at end of file
799 <size>
800 <width>40</width> No newline at end of file
800 <width>40</width>
801 <height>20</height> No newline at end of file
801 <height>20</height>
802 </size> No newline at end of file
802 </size>
803 </property> No newline at end of file
803 </property>
804 </spacer> No newline at end of file
804 </spacer>
805 </item> No newline at end of file
805 </item>
806 <item> No newline at end of file
806 <item>
807 <widget class="QLabel" name="lblDevB"> No newline at end of file
807 <widget class="QLabel" name="lblDevB">
808 <property name="text"> No newline at end of file
808 <property name="text">
809 <string>DEV B</string> No newline at end of file
809 <string>DEV B</string>
810 </property> No newline at end of file
810 </property>
811 <property name="alignment"> No newline at end of file
811 <property name="alignment">
812 <set>Qt::AlignCenter</set> No newline at end of file
812 <set>Qt::AlignCenter</set>
813 </property> No newline at end of file
813 </property>
814 </widget> No newline at end of file
814 </widget>
815 </item> No newline at end of file
815 </item>
816 <item> No newline at end of file
816 <item>
817 <widget class="QLineEdit" name="txtBstatusB"> No newline at end of file
817 <widget class="QLineEdit" name="txtBstatusB">
818 <property name="readOnly"> No newline at end of file
818 <property name="readOnly">
819 <bool>true</bool> No newline at end of file
819 <bool>true</bool>
820 </property> No newline at end of file
820 </property>
821 </widget> No newline at end of file
821 </widget>
822 </item> No newline at end of file
822 </item>
823 <item> No newline at end of file
823 <item>
824 <widget class="QLineEdit" name="txtBdiscB"> No newline at end of file
824 <widget class="QLineEdit" name="txtBdiscB">
825 <property name="readOnly"> No newline at end of file
825 <property name="readOnly">
826 <bool>true</bool> No newline at end of file
826 <bool>true</bool>
827 </property> No newline at end of file
827 </property>
828 </widget> No newline at end of file
828 </widget>
829 </item> No newline at end of file
829 </item>
830 <item> No newline at end of file
830 <item>
831 <widget class="QLineEdit" name="txtBcopyB"> No newline at end of file
831 <widget class="QLineEdit" name="txtBcopyB">
832 <property name="readOnly"> No newline at end of file
832 <property name="readOnly">
833 <bool>true</bool> No newline at end of file
833 <bool>true</bool>
834 </property> No newline at end of file
834 </property>
835 </widget> No newline at end of file
835 </widget>
836 </item> No newline at end of file
836 </item>
837 </layout> No newline at end of file
837 </layout>
838 </item> No newline at end of file
838 </item>
839 <item> No newline at end of file
839 <item>
840 <layout class="QVBoxLayout" name="verticalLayout_24"> No newline at end of file
840 <layout class="QVBoxLayout" name="verticalLayout_24">
841 <item> No newline at end of file
841 <item>
842 <spacer name="horizontalSpacer_7"> No newline at end of file
842 <spacer name="horizontalSpacer_7">
843 <property name="orientation"> No newline at end of file
843 <property name="orientation">
844 <enum>Qt::Horizontal</enum> No newline at end of file
844 <enum>Qt::Horizontal</enum>
845 </property> No newline at end of file
845 </property>
846 <property name="sizeType"> No newline at end of file
846 <property name="sizeType">
847 <enum>QSizePolicy::Minimum</enum> No newline at end of file
847 <enum>QSizePolicy::Minimum</enum>
848 </property> No newline at end of file
848 </property>
849 <property name="sizeHint" stdset="0"> No newline at end of file
849 <property name="sizeHint" stdset="0">
850 <size> No newline at end of file
850 <size>
851 <width>40</width> No newline at end of file
851 <width>40</width>
852 <height>20</height> No newline at end of file
852 <height>20</height>
853 </size> No newline at end of file
853 </size>
854 </property> No newline at end of file
854 </property>
855 </spacer> No newline at end of file
855 </spacer>
856 </item> No newline at end of file
856 </item>
857 <item> No newline at end of file
857 <item>
858 <widget class="QLabel" name="lblDevC"> No newline at end of file
858 <widget class="QLabel" name="lblDevC">
859 <property name="text"> No newline at end of file
859 <property name="text">
860 <string>DEV C</string> No newline at end of file
860 <string>DEV C</string>
861 </property> No newline at end of file
861 </property>
862 <property name="alignment"> No newline at end of file
862 <property name="alignment">
863 <set>Qt::AlignCenter</set> No newline at end of file
863 <set>Qt::AlignCenter</set>
864 </property> No newline at end of file
864 </property>
865 </widget> No newline at end of file
865 </widget>
866 </item> No newline at end of file
866 </item>
867 <item> No newline at end of file
867 <item>
868 <widget class="QLineEdit" name="txtBstatusC"> No newline at end of file
868 <widget class="QLineEdit" name="txtBstatusC">
869 <property name="readOnly"> No newline at end of file
869 <property name="readOnly">
870 <bool>true</bool> No newline at end of file
870 <bool>true</bool>
871 </property> No newline at end of file
871 </property>
872 </widget> No newline at end of file
872 </widget>
873 </item> No newline at end of file
873 </item>
874 <item> No newline at end of file
874 <item>
875 <widget class="QLineEdit" name="txtBdiscC"> No newline at end of file
875 <widget class="QLineEdit" name="txtBdiscC">
876 <property name="readOnly"> No newline at end of file
876 <property name="readOnly">
877 <bool>true</bool> No newline at end of file
877 <bool>true</bool>
878 </property> No newline at end of file
878 </property>
879 </widget> No newline at end of file
879 </widget>
880 </item> No newline at end of file
880 </item>
881 <item> No newline at end of file
881 <item>
882 <widget class="QLineEdit" name="txtBcopyC"> No newline at end of file
882 <widget class="QLineEdit" name="txtBcopyC">
883 <property name="readOnly"> No newline at end of file
883 <property name="readOnly">
884 <bool>true</bool> No newline at end of file
884 <bool>true</bool>
885 </property> No newline at end of file
885 </property>
886 </widget> No newline at end of file
886 </widget>
887 </item> No newline at end of file
887 </item>
888 </layout> No newline at end of file
888 </layout>
889 </item> No newline at end of file
889 </item>
890 <item> No newline at end of file
890 <item>
891 <layout class="QVBoxLayout" name="verticalLayout_25"> No newline at end of file
891 <layout class="QVBoxLayout" name="verticalLayout_25">
892 <item> No newline at end of file
892 <item>
893 <spacer name="horizontalSpacer_8"> No newline at end of file
893 <spacer name="horizontalSpacer_8">
894 <property name="orientation"> No newline at end of file
894 <property name="orientation">
895 <enum>Qt::Horizontal</enum> No newline at end of file
895 <enum>Qt::Horizontal</enum>
896 </property> No newline at end of file
896 </property>
897 <property name="sizeType"> No newline at end of file
897 <property name="sizeType">
898 <enum>QSizePolicy::Minimum</enum> No newline at end of file
898 <enum>QSizePolicy::Minimum</enum>
899 </property> No newline at end of file
899 </property>
900 <property name="sizeHint" stdset="0"> No newline at end of file
900 <property name="sizeHint" stdset="0">
901 <size> No newline at end of file
901 <size>
902 <width>40</width> No newline at end of file
902 <width>40</width>
903 <height>20</height> No newline at end of file
903 <height>20</height>
904 </size> No newline at end of file
904 </size>
905 </property> No newline at end of file
905 </property>
906 </spacer> No newline at end of file
906 </spacer>
907 </item> No newline at end of file
907 </item>
908 <item> No newline at end of file
908 <item>
909 <widget class="QLabel" name="lblDevD"> No newline at end of file
909 <widget class="QLabel" name="lblDevD">
910 <property name="text"> No newline at end of file
910 <property name="text">
911 <string>DEV D</string> No newline at end of file
911 <string>DEV D</string>
912 </property> No newline at end of file
912 </property>
913 <property name="alignment"> No newline at end of file
913 <property name="alignment">
914 <set>Qt::AlignCenter</set> No newline at end of file
914 <set>Qt::AlignCenter</set>
915 </property> No newline at end of file
915 </property>
916 </widget> No newline at end of file
916 </widget>
917 </item> No newline at end of file
917 </item>
918 <item> No newline at end of file
918 <item>
919 <widget class="QLineEdit" name="txtBstatusD"> No newline at end of file
919 <widget class="QLineEdit" name="txtBstatusD">
920 <property name="readOnly"> No newline at end of file
920 <property name="readOnly">
921 <bool>true</bool> No newline at end of file
921 <bool>true</bool>
922 </property> No newline at end of file
922 </property>
923 </widget> No newline at end of file
923 </widget>
924 </item> No newline at end of file
924 </item>
925 <item> No newline at end of file
925 <item>
926 <widget class="QLineEdit" name="txtBdiscD"> No newline at end of file
926 <widget class="QLineEdit" name="txtBdiscD">
927 <property name="readOnly"> No newline at end of file
927 <property name="readOnly">
928 <bool>true</bool> No newline at end of file
928 <bool>true</bool>
929 </property> No newline at end of file
929 </property>
930 </widget> No newline at end of file
930 </widget>
931 </item> No newline at end of file
931 </item>
932 <item> No newline at end of file
932 <item>
933 <widget class="QLineEdit" name="txtBcopyD"> No newline at end of file
933 <widget class="QLineEdit" name="txtBcopyD">
934 <property name="readOnly"> No newline at end of file
934 <property name="readOnly">
935 <bool>true</bool> No newline at end of file
935 <bool>true</bool>
936 </property> No newline at end of file
936 </property>
937 </widget> No newline at end of file
937 </widget>
938 </item> No newline at end of file
938 </item>
939 </layout> No newline at end of file
939 </layout>
940 </item> No newline at end of file
940 </item>
941 </layout> No newline at end of file
941 </layout>
942 </item> No newline at end of file
942 </item>
943 <item> No newline at end of file
943 <item>
944 <spacer name="verticalSpacer"> No newline at end of file
944 <spacer name="verticalSpacer">
945 <property name="orientation"> No newline at end of file
945 <property name="orientation">
946 <enum>Qt::Vertical</enum> No newline at end of file
946 <enum>Qt::Vertical</enum>
947 </property> No newline at end of file
947 </property>
948 <property name="sizeType"> No newline at end of file
948 <property name="sizeType">
949 <enum>QSizePolicy::Fixed</enum> No newline at end of file
949 <enum>QSizePolicy::Fixed</enum>
950 </property> No newline at end of file
950 </property>
951 <property name="sizeHint" stdset="0"> No newline at end of file
951 <property name="sizeHint" stdset="0">
952 <size> No newline at end of file
952 <size>
953 <width>20</width> No newline at end of file
953 <width>20</width>
954 <height>20</height> No newline at end of file
954 <height>20</height>
955 </size> No newline at end of file
955 </size>
956 </property> No newline at end of file
956 </property>
957 </spacer> No newline at end of file
957 </spacer>
958 </item> No newline at end of file
958 </item>
959 <item> No newline at end of file
959 <item>
960 <layout class="QHBoxLayout" name="horizontalLayout_16"> No newline at end of file
960 <layout class="QHBoxLayout" name="horizontalLayout_16">
961 <item> No newline at end of file
961 <item>
962 <widget class="QLabel" name="label"> No newline at end of file
962 <widget class="QLabel" name="label">
963 <property name="text"> No newline at end of file
963 <property name="text">
964 <string>CHECK</string> No newline at end of file
964 <string>CHECK</string>
965 </property> No newline at end of file
965 </property>
966 </widget> No newline at end of file
966 </widget>
967 </item> No newline at end of file
967 </item>
968 <item> No newline at end of file
968 <item>
969 <spacer name="horizontalSpacer_14"> No newline at end of file
969 <spacer name="horizontalSpacer_14">
970 <property name="orientation"> No newline at end of file
970 <property name="orientation">
971 <enum>Qt::Horizontal</enum> No newline at end of file
971 <enum>Qt::Horizontal</enum>
972 </property> No newline at end of file
972 </property>
973 <property name="sizeHint" stdset="0"> No newline at end of file
973 <property name="sizeHint" stdset="0">
974 <size> No newline at end of file
974 <size>
975 <width>40</width> No newline at end of file
975 <width>40</width>
976 <height>20</height> No newline at end of file
976 <height>20</height>
977 </size> No newline at end of file
977 </size>
978 </property> No newline at end of file
978 </property>
979 </spacer> No newline at end of file
979 </spacer>
980 </item> No newline at end of file
980 </item>
981 </layout> No newline at end of file
981 </layout>
982 </item> No newline at end of file
982 </item>
983 <item> No newline at end of file
983 <item>
984 <layout class="QHBoxLayout" name="horizontalLayout_17"> No newline at end of file
984 <layout class="QHBoxLayout" name="horizontalLayout_17">
985 <item> No newline at end of file
985 <item>
986 <spacer name="horizontalSpacer_13"> No newline at end of file
986 <spacer name="horizontalSpacer_13">
987 <property name="orientation"> No newline at end of file
987 <property name="orientation">
988 <enum>Qt::Horizontal</enum> No newline at end of file
988 <enum>Qt::Horizontal</enum>
989 </property> No newline at end of file
989 </property>
990 <property name="sizeType"> No newline at end of file
990 <property name="sizeType">
991 <enum>QSizePolicy::Fixed</enum> No newline at end of file
991 <enum>QSizePolicy::Fixed</enum>
992 </property> No newline at end of file
992 </property>
993 <property name="sizeHint" stdset="0"> No newline at end of file
993 <property name="sizeHint" stdset="0">
994 <size> No newline at end of file
994 <size>
995 <width>50</width> No newline at end of file
995 <width>50</width>
996 <height>20</height> No newline at end of file
996 <height>20</height>
997 </size> No newline at end of file
997 </size>
998 </property> No newline at end of file
998 </property>
999 </spacer> No newline at end of file
999 </spacer>
1000 </item> No newline at end of file
1000 </item>
1001 <item> No newline at end of file
1001 <item>
1002 <widget class="QLineEdit" name="txtTDpath"> No newline at end of file
1002 <widget class="QLineEdit" name="txtTDpath">
1003 <property name="enabled"> No newline at end of file
1003 <property name="enabled">
1004 <bool>false</bool> No newline at end of file
1004 <bool>false</bool>
1005 </property> No newline at end of file
1005 </property>
1006 </widget> No newline at end of file
1006 </widget>
1007 </item> No newline at end of file
1007 </item>
1008 <item> No newline at end of file
1008 <item>
1009 <widget class="QPushButton" name="btnTDpath"> No newline at end of file
1009 <widget class="QPushButton" name="btnTDpath">
1010 <property name="enabled"> No newline at end of file
1010 <property name="enabled">
1011 <bool>false</bool> No newline at end of file
1011 <bool>false</bool>
1012 </property> No newline at end of file
1012 </property>
1013 <property name="text"> No newline at end of file
1013 <property name="text">
1014 <string>Temp Data Path</string> No newline at end of file
1014 <string>Temp Data Path</string>
1015 </property> No newline at end of file
1015 </property>
1016 </widget> No newline at end of file
1016 </widget>
1017 </item> No newline at end of file
1017 </item>
1018 </layout> No newline at end of file
1018 </layout>
1019 </item> No newline at end of file
1019 </item>
1020 <item> No newline at end of file
1020 <item>
1021 <layout class="QHBoxLayout" name="horizontalLayout_19"> No newline at end of file
1021 <layout class="QHBoxLayout" name="horizontalLayout_19">
1022 <item> No newline at end of file
1022 <item>
1023 <layout class="QVBoxLayout" name="verticalLayout_26"> No newline at end of file
1023 <layout class="QVBoxLayout" name="verticalLayout_26">
1024 <item> No newline at end of file
1024 <item>
1025 <spacer name="horizontalSpacer_10"> No newline at end of file
1025 <spacer name="horizontalSpacer_10">
1026 <property name="orientation"> No newline at end of file
1026 <property name="orientation">
1027 <enum>Qt::Horizontal</enum> No newline at end of file
1027 <enum>Qt::Horizontal</enum>
1028 </property> No newline at end of file
1028 </property>
1029 <property name="sizeType"> No newline at end of file
1029 <property name="sizeType">
1030 <enum>QSizePolicy::Minimum</enum> No newline at end of file
1030 <enum>QSizePolicy::Minimum</enum>
1031 </property> No newline at end of file
1031 </property>
1032 <property name="sizeHint" stdset="0"> No newline at end of file
1032 <property name="sizeHint" stdset="0">
1033 <size> No newline at end of file
1033 <size>
1034 <width>40</width> No newline at end of file
1034 <width>40</width>
1035 <height>20</height> No newline at end of file
1035 <height>20</height>
1036 </size> No newline at end of file
1036 </size>
1037 </property> No newline at end of file
1037 </property>
1038 </spacer> No newline at end of file
1038 </spacer>
1039 </item> No newline at end of file
1039 </item>
1040 <item> No newline at end of file
1040 <item>
1041 <widget class="QLabel" name="lblSTATUS_2"> No newline at end of file
1041 <widget class="QLabel" name="lblSTATUS_2">
1042 <property name="sizePolicy"> No newline at end of file
1042 <property name="sizePolicy">
1043 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> No newline at end of file
1043 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
1044 <horstretch>0</horstretch> No newline at end of file
1044 <horstretch>0</horstretch>
1045 <verstretch>0</verstretch> No newline at end of file
1045 <verstretch>0</verstretch>
1046 </sizepolicy> No newline at end of file
1046 </sizepolicy>
1047 </property> No newline at end of file
1047 </property>
1048 <property name="text"> No newline at end of file
1048 <property name="text">
1049 <string>STATUS</string> No newline at end of file
1049 <string>STATUS</string>
1050 </property> No newline at end of file
1050 </property>
1051 </widget> No newline at end of file
1051 </widget>
1052 </item> No newline at end of file
1052 </item>
1053 </layout> No newline at end of file
1053 </layout>
1054 </item> No newline at end of file
1054 </item>
1055 <item> No newline at end of file
1055 <item>
1056 <layout class="QVBoxLayout" name="verticalLayout_27"> No newline at end of file
1056 <layout class="QVBoxLayout" name="verticalLayout_27">
1057 <item> No newline at end of file
1057 <item>
1058 <widget class="QLabel" name="lblDevA_2"> No newline at end of file
1058 <widget class="QLabel" name="lblDevA_2">
1059 <property name="text"> No newline at end of file
1059 <property name="text">
1060 <string>DEV A</string> No newline at end of file
1060 <string>DEV A</string>
1061 </property> No newline at end of file
1061 </property>
1062 <property name="alignment"> No newline at end of file
1062 <property name="alignment">
1063 <set>Qt::AlignCenter</set> No newline at end of file
1063 <set>Qt::AlignCenter</set>
1064 </property> No newline at end of file
1064 </property>
1065 </widget> No newline at end of file
1065 </widget>
1066 </item> No newline at end of file
1066 </item>
1067 <item> No newline at end of file
1067 <item>
1068 <widget class="QLineEdit" name="txtCHstatusA"> No newline at end of file
1068 <widget class="QLineEdit" name="txtCHstatusA">
1069 <property name="readOnly"> No newline at end of file
1069 <property name="readOnly">
1070 <bool>true</bool> No newline at end of file
1070 <bool>true</bool>
1071 </property> No newline at end of file
1071 </property>
1072 </widget> No newline at end of file
1072 </widget>
1073 </item> No newline at end of file
1073 </item>
1074 </layout> No newline at end of file
1074 </layout>
1075 </item> No newline at end of file
1075 </item>
1076 <item> No newline at end of file
1076 <item>
1077 <layout class="QVBoxLayout" name="verticalLayout_28"> No newline at end of file
1077 <layout class="QVBoxLayout" name="verticalLayout_28">
1078 <item> No newline at end of file
1078 <item>
1079 <widget class="QLabel" name="lblDevB_2"> No newline at end of file
1079 <widget class="QLabel" name="lblDevB_2">
1080 <property name="text"> No newline at end of file
1080 <property name="text">
1081 <string>DEV B</string> No newline at end of file
1081 <string>DEV B</string>
1082 </property> No newline at end of file
1082 </property>
1083 <property name="alignment"> No newline at end of file
1083 <property name="alignment">
1084 <set>Qt::AlignCenter</set> No newline at end of file
1084 <set>Qt::AlignCenter</set>
1085 </property> No newline at end of file
1085 </property>
1086 </widget> No newline at end of file
1086 </widget>
1087 </item> No newline at end of file
1087 </item>
1088 <item> No newline at end of file
1088 <item>
1089 <widget class="QLineEdit" name="txtCHstatusB"> No newline at end of file
1089 <widget class="QLineEdit" name="txtCHstatusB">
1090 <property name="readOnly"> No newline at end of file
1090 <property name="readOnly">
1091 <bool>true</bool> No newline at end of file
1091 <bool>true</bool>
1092 </property> No newline at end of file
1092 </property>
1093 </widget> No newline at end of file
1093 </widget>
1094 </item> No newline at end of file
1094 </item>
1095 </layout> No newline at end of file
1095 </layout>
1096 </item> No newline at end of file
1096 </item>
1097 <item> No newline at end of file
1097 <item>
1098 <layout class="QVBoxLayout" name="verticalLayout_29"> No newline at end of file
1098 <layout class="QVBoxLayout" name="verticalLayout_29">
1099 <item> No newline at end of file
1099 <item>
1100 <widget class="QLabel" name="lblDevC_2"> No newline at end of file
1100 <widget class="QLabel" name="lblDevC_2">
1101 <property name="text"> No newline at end of file
1101 <property name="text">
1102 <string>DEV C</string> No newline at end of file
1102 <string>DEV C</string>
1103 </property> No newline at end of file
1103 </property>
1104 <property name="alignment"> No newline at end of file
1104 <property name="alignment">
1105 <set>Qt::AlignCenter</set> No newline at end of file
1105 <set>Qt::AlignCenter</set>
1106 </property> No newline at end of file
1106 </property>
1107 </widget> No newline at end of file
1107 </widget>
1108 </item> No newline at end of file
1108 </item>
1109 <item> No newline at end of file
1109 <item>
1110 <widget class="QLineEdit" name="txtCHstatusC"> No newline at end of file
1110 <widget class="QLineEdit" name="txtCHstatusC">
1111 <property name="readOnly"> No newline at end of file
1111 <property name="readOnly">
1112 <bool>true</bool> No newline at end of file
1112 <bool>true</bool>
1113 </property> No newline at end of file
1113 </property>
1114 </widget> No newline at end of file
1114 </widget>
1115 </item> No newline at end of file
1115 </item>
1116 </layout> No newline at end of file
1116 </layout>
1117 </item> No newline at end of file
1117 </item>
1118 <item> No newline at end of file
1118 <item>
1119 <layout class="QVBoxLayout" name="verticalLayout_30"> No newline at end of file
1119 <layout class="QVBoxLayout" name="verticalLayout_30">
1120 <item> No newline at end of file
1120 <item>
1121 <widget class="QLabel" name="lblDevD_2"> No newline at end of file
1121 <widget class="QLabel" name="lblDevD_2">
1122 <property name="text"> No newline at end of file
1122 <property name="text">
1123 <string>DEV D</string> No newline at end of file
1123 <string>DEV D</string>
1124 </property> No newline at end of file
1124 </property>
1125 <property name="alignment"> No newline at end of file
1125 <property name="alignment">
1126 <set>Qt::AlignCenter</set> No newline at end of file
1126 <set>Qt::AlignCenter</set>
1127 </property> No newline at end of file
1127 </property>
1128 </widget> No newline at end of file
1128 </widget>
1129 </item> No newline at end of file
1129 </item>
1130 <item> No newline at end of file
1130 <item>
1131 <widget class="QLineEdit" name="txtCHstatusD"> No newline at end of file
1131 <widget class="QLineEdit" name="txtCHstatusD">
1132 <property name="readOnly"> No newline at end of file
1132 <property name="readOnly">
1133 <bool>true</bool> No newline at end of file
1133 <bool>true</bool>
1134 </property> No newline at end of file
1134 </property>
1135 </widget> No newline at end of file
1135 </widget>
1136 </item> No newline at end of file
1136 </item>
1137 </layout> No newline at end of file
1137 </layout>
1138 </item> No newline at end of file
1138 </item>
1139 </layout> No newline at end of file
1139 </layout>
1140 </item> No newline at end of file
1140 </item>
1141 <item> No newline at end of file
1141 <item>
1142 <layout class="QHBoxLayout" name="horizontalLayout_20"> No newline at end of file
1142 <layout class="QHBoxLayout" name="horizontalLayout_20">
1143 <item> No newline at end of file
1143 <item>
1144 <spacer name="horizontalSpacer_12"> No newline at end of file
1144 <spacer name="horizontalSpacer_12">
1145 <property name="orientation"> No newline at end of file
1145 <property name="orientation">
1146 <enum>Qt::Horizontal</enum> No newline at end of file
1146 <enum>Qt::Horizontal</enum>
1147 </property> No newline at end of file
1147 </property>
1148 <property name="sizeType"> No newline at end of file
1148 <property name="sizeType">
1149 <enum>QSizePolicy::Minimum</enum> No newline at end of file
1149 <enum>QSizePolicy::Minimum</enum>
1150 </property> No newline at end of file
1150 </property>
1151 <property name="sizeHint" stdset="0"> No newline at end of file
1151 <property name="sizeHint" stdset="0">
1152 <size> No newline at end of file
1152 <size>
1153 <width>50</width> No newline at end of file
1153 <width>50</width>
1154 <height>20</height> No newline at end of file
1154 <height>20</height>
1155 </size> No newline at end of file
1155 </size>
1156 </property> No newline at end of file
1156 </property>
1157 </spacer> No newline at end of file
1157 </spacer>
1158 </item> No newline at end of file
1158 </item>
1159 <item> No newline at end of file
1159 <item>
1160 <widget class="QCheckBox" name="chkCheck"> No newline at end of file
1160 <widget class="QCheckBox" name="chkCheck">
1161 <property name="enabled"> No newline at end of file
1161 <property name="enabled">
1162 <bool>true</bool> No newline at end of file
1162 <bool>true</bool>
1163 </property> No newline at end of file
1163 </property>
1164 <property name="text"> No newline at end of file
1164 <property name="text">
1165 <string>MANUAL</string> No newline at end of file
1165 <string>MANUAL</string>
1166 </property> No newline at end of file
1166 </property>
1167 </widget> No newline at end of file
1167 </widget>
1168 </item> No newline at end of file
1168 </item>
1169 <item> No newline at end of file
1169 <item>
1170 <spacer name="horizontalSpacer_15"> No newline at end of file
1170 <spacer name="horizontalSpacer_15">
1171 <property name="orientation"> No newline at end of file
1171 <property name="orientation">
1172 <enum>Qt::Horizontal</enum> No newline at end of file
1172 <enum>Qt::Horizontal</enum>
1173 </property> No newline at end of file
1173 </property>
1174 <property name="sizeHint" stdset="0"> No newline at end of file
1174 <property name="sizeHint" stdset="0">
1175 <size> No newline at end of file
1175 <size>
1176 <width>40</width> No newline at end of file
1176 <width>40</width>
1177 <height>20</height> No newline at end of file
1177 <height>20</height>
1178 </size> No newline at end of file
1178 </size>
1179 </property> No newline at end of file
1179 </property>
1180 </spacer> No newline at end of file
1180 </spacer>
1181 </item> No newline at end of file
1181 </item>
1182 <item> No newline at end of file
1182 <item>
1183 <widget class="QPushButton" name="btnCHstart"> No newline at end of file
1183 <widget class="QPushButton" name="btnCHstart">
1184 <property name="enabled"> No newline at end of file
1184 <property name="enabled">
1185 <bool>false</bool> No newline at end of file
1185 <bool>false</bool>
1186 </property> No newline at end of file
1186 </property>
1187 <property name="text"> No newline at end of file
1187 <property name="text">
1188 <string>START</string> No newline at end of file
1188 <string>START</string>
1189 </property> No newline at end of file
1189 </property>
1190 </widget> No newline at end of file
1190 </widget>
1191 </item> No newline at end of file
1191 </item>
1192 </layout> No newline at end of file
1192 </layout>
1193 </item> No newline at end of file
1193 </item>
1194 </layout> No newline at end of file
1194 </layout>
1195 </widget> No newline at end of file
1195 </widget>
1196 </widget> No newline at end of file
1196 </widget>
1197 </item> No newline at end of file
1197 </item>
1198 <item> No newline at end of file
1198 <item>
1199 <widget class="QTextEdit" name="txtInfo"> No newline at end of file
1199 <widget class="QTextEdit" name="txtInfo">
1200 <property name="readOnly"> No newline at end of file
1200 <property name="readOnly">
1201 <bool>true</bool> No newline at end of file
1201 <bool>true</bool>
1202 </property> No newline at end of file
1202 </property>
1203 </widget> No newline at end of file
1203 </widget>
1204 </item> No newline at end of file
1204 </item>
1205 <item> No newline at end of file
1205 <item>
1206 <widget class="QLineEdit" name="txtProgress"> No newline at end of file
1206 <widget class="QLineEdit" name="txtProgress">
1207 <property name="sizePolicy"> No newline at end of file
1207 <property name="sizePolicy">
1208 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> No newline at end of file
1208 <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
1209 <horstretch>0</horstretch> No newline at end of file
1209 <horstretch>0</horstretch>
1210 <verstretch>0</verstretch> No newline at end of file
1210 <verstretch>0</verstretch>
1211 </sizepolicy> No newline at end of file
1211 </sizepolicy>
1212 </property> No newline at end of file
1212 </property>
1213 </widget> No newline at end of file
1213 </widget>
1214 </item> No newline at end of file
1214 </item>
1215 <item> No newline at end of file
1215 <item>
1216 <layout class="QHBoxLayout" name="horizontalLayout_2"> No newline at end of file
1216 <layout class="QHBoxLayout" name="horizontalLayout_2">
1217 <property name="sizeConstraint"> No newline at end of file
1217 <property name="sizeConstraint">
1218 <enum>QLayout::SetDefaultConstraint</enum> No newline at end of file
1218 <enum>QLayout::SetDefaultConstraint</enum>
1219 </property> No newline at end of file
1219 </property>
1220 <item> No newline at end of file
1220 <item>
1221 <widget class="QPushButton" name="btnGbkp"> No newline at end of file
1221 <widget class="QPushButton" name="btnGbkp">
1222 <property name="enabled"> No newline at end of file
1222 <property name="enabled">
1223 <bool>false</bool> No newline at end of file
1223 <bool>false</bool>
1224 </property> No newline at end of file
1224 </property>
1225 <property name="text"> No newline at end of file
1225 <property name="text">
1226 <string>Generate Bkp</string> No newline at end of file
1226 <string>Generate Bkp</string>
1227 </property> No newline at end of file
1227 </property>
1228 </widget> No newline at end of file
1228 </widget>
1229 </item> No newline at end of file
1229 </item>
1230 <item> No newline at end of file
1230 <item>
1231 <widget class="QPushButton" name="btnRestart"> No newline at end of file
1231 <widget class="QPushButton" name="btnRestart">
1232 <property name="enabled"> No newline at end of file
1232 <property name="enabled">
1233 <bool>false</bool> No newline at end of file
1233 <bool>false</bool>
1234 </property> No newline at end of file
1234 </property>
1235 <property name="text"> No newline at end of file
1235 <property name="text">
1236 <string>Restart</string> No newline at end of file
1236 <string>Restart</string>
1237 </property> No newline at end of file
1237 </property>
1238 </widget> No newline at end of file
1238 </widget>
1239 </item> No newline at end of file
1239 </item>
1240 <item> No newline at end of file
1240 <item>
1241 <widget class="QPushButton" name="btnStartburn"> No newline at end of file
1241 <widget class="QPushButton" name="btnStartburn">
1242 <property name="enabled"> No newline at end of file
1242 <property name="enabled">
1243 <bool>false</bool> No newline at end of file
1243 <bool>false</bool>
1244 </property> No newline at end of file
1244 </property>
1245 <property name="text"> No newline at end of file
1245 <property name="text">
1246 <string>Start Burn</string> No newline at end of file
1246 <string>Start Burn</string>
1247 </property> No newline at end of file
1247 </property>
1248 </widget> No newline at end of file
1248 </widget>
1249 </item> No newline at end of file
1249 </item>
1250 <item> No newline at end of file
1250 <item>
1251 <widget class="QPushButton" name="btnStopburn"> No newline at end of file
1251 <widget class="QPushButton" name="btnStopburn">
1252 <property name="enabled"> No newline at end of file
1252 <property name="enabled">
1253 <bool>false</bool> No newline at end of file
1253 <bool>false</bool>
1254 </property> No newline at end of file
1254 </property>
1255 <property name="text"> No newline at end of file
1255 <property name="text">
1256 <string>Stop Burn</string> No newline at end of file
1256 <string>Stop Burn</string>
1257 </property> No newline at end of file
1257 </property>
1258 </widget> No newline at end of file
1258 </widget>
1259 </item> No newline at end of file
1259 </item>
1260 </layout> No newline at end of file
1260 </layout>
1261 </item> No newline at end of file
1261 </item>
1262 </layout> No newline at end of file
1262 </layout>
1263 </widget> No newline at end of file
1263 </widget>
1264 <widget class="QMenuBar" name="menubar"> No newline at end of file
1264 <widget class="QMenuBar" name="menubar">
1265 <property name="geometry"> No newline at end of file
1265 <property name="geometry">
1266 <rect> No newline at end of file
1266 <rect>
1267 <x>0</x> No newline at end of file
1267 <x>0</x>
1268 <y>0</y>
1268 <y>0</y>
No newline at end of file
1269 <width>824</width>
1269 <width>621</width>
No newline at end of file
No newline at end of file
1270 <height>25</height> No newline at end of file
1270 <height>21</height> No newline at end of file
1271 </rect> No newline at end of file
1271 </rect>
1272 </property> No newline at end of file
1272 </property>
1273 <widget class="QMenu" name="menuFile"> No newline at end of file
1273 <widget class="QMenu" name="menuFile">
1274 <property name="title"> No newline at end of file
1274 <property name="title">
1275 <string>File</string> No newline at end of file
1275 <string>File</string>
1276 </property> No newline at end of file
1276 </property>
1277 <addaction name="actionQuit"/> No newline at end of file
1277 <addaction name="actionQuit"/>
1278 </widget> No newline at end of file
1278 </widget>
1279 <widget class="QMenu" name="menuHelp"> No newline at end of file
1279 <widget class="QMenu" name="menuHelp">
1280 <property name="title"> No newline at end of file
1280 <property name="title">
1281 <string>Help</string> No newline at end of file
1281 <string>Help</string>
1282 </property> No newline at end of file
1282 </property>
1283 <addaction name="actionAbout"/> No newline at end of file
1283 <addaction name="actionAbout"/>
1284 </widget> No newline at end of file
1284 </widget>
1285 <widget class="QMenu" name="menuParameters"> No newline at end of file
1285 <widget class="QMenu" name="menuParameters">
1286 <property name="title"> No newline at end of file
1286 <property name="title">
1287 <string>Parameters</string> No newline at end of file
1287 <string>Parameters</string>
1288 </property> No newline at end of file
1288 </property>
1289 <addaction name="actionChange_Parameters"/> No newline at end of file
1289 <addaction name="actionChange_Parameters"/>
1290 </widget> No newline at end of file
1290 </widget>
1291 <addaction name="menuFile"/> No newline at end of file
1291 <addaction name="menuFile"/>
1292 <addaction name="menuParameters"/> No newline at end of file
1292 <addaction name="menuParameters"/>
1293 <addaction name="menuHelp"/> No newline at end of file
1293 <addaction name="menuHelp"/>
1294 </widget> No newline at end of file
1294 </widget>
1295 <widget class="QStatusBar" name="statusbar"/> No newline at end of file
1295 <widget class="QStatusBar" name="statusbar"/>
1296 <action name="actionChange_Parameters"> No newline at end of file
1296 <action name="actionChange_Parameters">
1297 <property name="enabled"> No newline at end of file
1297 <property name="enabled">
1298 <bool>false</bool> No newline at end of file
1298 <bool>false</bool>
1299 </property> No newline at end of file
1299 </property>
1300 <property name="text"> No newline at end of file
1300 <property name="text">
1301 <string>Change Parameters</string> No newline at end of file
1301 <string>Change Parameters</string>
1302 </property> No newline at end of file
1302 </property>
1303 </action> No newline at end of file
1303 </action>
1304 <action name="actionQuit"> No newline at end of file
1304 <action name="actionQuit">
1305 <property name="text"> No newline at end of file
1305 <property name="text">
1306 <string>Quit</string> No newline at end of file
1306 <string>Quit</string>
1307 </property> No newline at end of file
1307 </property>
1308 </action> No newline at end of file
1308 </action>
1309 <action name="actionAbout"> No newline at end of file
1309 <action name="actionAbout">
1310 <property name="text"> No newline at end of file
1310 <property name="text">
1311 <string>About</string> No newline at end of file
1311 <string>About</string>
1312 </property> No newline at end of file
1312 </property>
1313 </action> No newline at end of file
1313 </action>
1314 </widget> No newline at end of file
1314 </widget>
1315 <tabstops> No newline at end of file
1315 <tabstops>
1316 <tabstop>txtDpath</tabstop> No newline at end of file
1316 <tabstop>txtDpath</tabstop>
1317 <tabstop>btnDpath</tabstop> No newline at end of file
1317 <tabstop>btnDpath</tabstop>
1318 <tabstop>txtRpath</tabstop> No newline at end of file
1318 <tabstop>txtRpath</tabstop>
1319 <tabstop>btnRpath</tabstop> No newline at end of file
1319 <tabstop>btnRpath</tabstop>
1320 <tabstop>lstDtype</tabstop> No newline at end of file
1320 <tabstop>lstDtype</tabstop>
1321 <tabstop>txtDtype</tabstop> No newline at end of file
1321 <tabstop>txtDtype</tabstop>
1322 <tabstop>txtElabel</tabstop> No newline at end of file
1322 <tabstop>txtElabel</tabstop>
1323 <tabstop>lstStartDay</tabstop> No newline at end of file
1323 <tabstop>lstStartDay</tabstop>
1324 <tabstop>lstStopDay</tabstop> No newline at end of file
1324 <tabstop>lstStopDay</tabstop>
1325 <tabstop>lstDcapacity</tabstop> No newline at end of file
1325 <tabstop>lstDcapacity</tabstop>
1326 <tabstop>tabWidget</tabstop> No newline at end of file
1326 <tabstop>tabWidget</tabstop>
1327 <tabstop>btnGbkp</tabstop> No newline at end of file
1327 <tabstop>btnGbkp</tabstop>
1328 <tabstop>btnRestart</tabstop> No newline at end of file
1328 <tabstop>btnRestart</tabstop>
1329 <tabstop>btnStartburn</tabstop> No newline at end of file
1329 <tabstop>btnStartburn</tabstop>
1330 <tabstop>btnStopburn</tabstop> No newline at end of file
1330 <tabstop>btnStopburn</tabstop>
1331 </tabstops> No newline at end of file
1331 </tabstops>
1332 <resources/> No newline at end of file
1332 <resources/>
1333 <connections> No newline at end of file
1333 <connections>
1334 <connection> No newline at end of file
1334 <connection>
1335 <sender>actionQuit</sender> No newline at end of file
1335 <sender>actionQuit</sender>
1336 <signal>triggered()</signal> No newline at end of file
1336 <signal>triggered()</signal>
1337 <receiver>MainWindow</receiver> No newline at end of file
1337 <receiver>MainWindow</receiver>
1338 <slot>close()</slot> No newline at end of file
1338 <slot>close()</slot>
1339 <hints> No newline at end of file
1339 <hints>
1340 <hint type="sourcelabel"> No newline at end of file
1340 <hint type="sourcelabel">
1341 <x>-1</x> No newline at end of file
1341 <x>-1</x>
1342 <y>-1</y> No newline at end of file
1342 <y>-1</y>
1343 </hint> No newline at end of file
1343 </hint>
1344 <hint type="destinationlabel"> No newline at end of file
1344 <hint type="destinationlabel">
1345 <x>306</x> No newline at end of file
1345 <x>306</x>
1346 <y>358</y> No newline at end of file
1346 <y>358</y>
1347 </hint> No newline at end of file
1347 </hint>
1348 </hints> No newline at end of file
1348 </hints>
1349 </connection> No newline at end of file
1349 </connection>
1350 <connection> No newline at end of file
1350 <connection>
1351 <sender>chkCheck</sender> No newline at end of file
1351 <sender>chkCheck</sender>
1352 <signal>toggled(bool)</signal> No newline at end of file
1352 <signal>toggled(bool)</signal>
1353 <receiver>txtTDpath</receiver> No newline at end of file
1353 <receiver>txtTDpath</receiver>
1354 <slot>setEnabled(bool)</slot> No newline at end of file
1354 <slot>setEnabled(bool)</slot>
1355 <hints> No newline at end of file
1355 <hints>
1356 <hint type="sourcelabel"> No newline at end of file
1356 <hint type="sourcelabel">
1357 <x>160</x> No newline at end of file
1357 <x>160</x>
1358 <y>378</y> No newline at end of file
1358 <y>378</y>
1359 </hint> No newline at end of file
1359 </hint>
1360 <hint type="destinationlabel"> No newline at end of file
1360 <hint type="destinationlabel">
1361 <x>231</x> No newline at end of file
1361 <x>231</x>
1362 <y>306</y> No newline at end of file
1362 <y>306</y>
1363 </hint> No newline at end of file
1363 </hint>
1364 </hints> No newline at end of file
1364 </hints>
1365 </connection> No newline at end of file
1365 </connection>
1366 <connection> No newline at end of file
1366 <connection>
1367 <sender>chkCheck</sender> No newline at end of file
1367 <sender>chkCheck</sender>
1368 <signal>toggled(bool)</signal> No newline at end of file
1368 <signal>toggled(bool)</signal>
1369 <receiver>btnTDpath</receiver> No newline at end of file
1369 <receiver>btnTDpath</receiver>
1370 <slot>setEnabled(bool)</slot> No newline at end of file
1370 <slot>setEnabled(bool)</slot>
1371 <hints> No newline at end of file
1371 <hints>
1372 <hint type="sourcelabel"> No newline at end of file
1372 <hint type="sourcelabel">
1373 <x>160</x> No newline at end of file
1373 <x>160</x>
1374 <y>387</y> No newline at end of file
1374 <y>387</y>
1375 </hint> No newline at end of file
1375 </hint>
1376 <hint type="destinationlabel"> No newline at end of file
1376 <hint type="destinationlabel">
1377 <x>802</x> No newline at end of file
1377 <x>802</x>
1378 <y>305</y> No newline at end of file
1378 <y>305</y>
1379 </hint> No newline at end of file
1379 </hint>
1380 </hints> No newline at end of file
1380 </hints>
1381 </connection> No newline at end of file
1381 </connection>
1382 <connection> No newline at end of file
1382 <connection>
1383 <sender>chkCheck</sender> No newline at end of file
1383 <sender>chkCheck</sender>
1384 <signal>toggled(bool)</signal> No newline at end of file
1384 <signal>toggled(bool)</signal>
1385 <receiver>btnCHstart</receiver> No newline at end of file
1385 <receiver>btnCHstart</receiver>
1386 <slot>setEnabled(bool)</slot> No newline at end of file
1386 <slot>setEnabled(bool)</slot>
1387 <hints> No newline at end of file
1387 <hints>
1388 <hint type="sourcelabel"> No newline at end of file
1388 <hint type="sourcelabel">
1389 <x>160</x> No newline at end of file
1389 <x>160</x>
1390 <y>383</y> No newline at end of file
1390 <y>383</y>
1391 </hint> No newline at end of file
1391 </hint>
1392 <hint type="destinationlabel"> No newline at end of file
1392 <hint type="destinationlabel">
1393 <x>802</x> No newline at end of file
1393 <x>802</x>
1394 <y>389</y> No newline at end of file
1394 <y>389</y>
1395 </hint> No newline at end of file
1395 </hint>
1396 </hints> No newline at end of file
1396 </hints>
1397 </connection> No newline at end of file
1397 </connection>
1398 <connection> No newline at end of file
1398 <connection>
1399 <sender>chkDevD</sender> No newline at end of file
1399 <sender>chkDevD</sender>
1400 <signal>toggled(bool)</signal> No newline at end of file
1400 <signal>toggled(bool)</signal>
1401 <receiver>grpDevD</receiver> No newline at end of file
1401 <receiver>grpDevD</receiver>
1402 <slot>setEnabled(bool)</slot> No newline at end of file
1402 <slot>setEnabled(bool)</slot>
1403 <hints> No newline at end of file
1403 <hints>
1404 <hint type="sourcelabel"> No newline at end of file
1404 <hint type="sourcelabel">
1405 <x>701</x> No newline at end of file
1405 <x>701</x>
1406 <y>98</y> No newline at end of file
1406 <y>98</y>
1407 </hint> No newline at end of file
1407 </hint>
1408 <hint type="destinationlabel"> No newline at end of file
1408 <hint type="destinationlabel">
1409 <x>701</x> No newline at end of file
1409 <x>701</x>
1410 <y>251</y> No newline at end of file
1410 <y>251</y>
1411 </hint> No newline at end of file
1411 </hint>
1412 </hints> No newline at end of file
1412 </hints>
1413 </connection> No newline at end of file
1413 </connection>
1414 <connection> No newline at end of file
1414 <connection>
1415 <sender>chkDevB</sender> No newline at end of file
1415 <sender>chkDevB</sender>
1416 <signal>toggled(bool)</signal> No newline at end of file
1416 <signal>toggled(bool)</signal>
1417 <receiver>grpDevB</receiver> No newline at end of file
1417 <receiver>grpDevB</receiver>
1418 <slot>setEnabled(bool)</slot> No newline at end of file
1418 <slot>setEnabled(bool)</slot>
1419 <hints> No newline at end of file
1419 <hints>
1420 <hint type="sourcelabel"> No newline at end of file
1420 <hint type="sourcelabel">
1421 <x>263</x> No newline at end of file
1421 <x>263</x>
1422 <y>79</y> No newline at end of file
1422 <y>79</y>
1423 </hint> No newline at end of file
1423 </hint>
1424 <hint type="destinationlabel"> No newline at end of file
1424 <hint type="destinationlabel">
1425 <x>251</x> No newline at end of file
1425 <x>251</x>
1426 <y>167</y> No newline at end of file
1426 <y>167</y>
1427 </hint> No newline at end of file
1427 </hint>
1428 </hints> No newline at end of file
1428 </hints>
1429 </connection> No newline at end of file
1429 </connection>
1430 <connection> No newline at end of file
1430 <connection>
1431 <sender>chkDevC</sender> No newline at end of file
1431 <sender>chkDevC</sender>
1432 <signal>toggled(bool)</signal> No newline at end of file
1432 <signal>toggled(bool)</signal>
1433 <receiver>grpDevC</receiver> No newline at end of file
1433 <receiver>grpDevC</receiver>
1434 <slot>setEnabled(bool)</slot> No newline at end of file
1434 <slot>setEnabled(bool)</slot>
1435 <hints> No newline at end of file
1435 <hints>
1436 <hint type="sourcelabel"> No newline at end of file
1436 <hint type="sourcelabel">
1437 <x>391</x> No newline at end of file
1437 <x>391</x>
1438 <y>79</y> No newline at end of file
1438 <y>79</y>
1439 </hint> No newline at end of file
1439 </hint>
1440 <hint type="destinationlabel"> No newline at end of file
1440 <hint type="destinationlabel">
1441 <x>391</x> No newline at end of file
1441 <x>391</x>
1442 <y>202</y> No newline at end of file
1442 <y>202</y>
1443 </hint> No newline at end of file
1443 </hint>
1444 </hints> No newline at end of file
1444 </hints>
1445 </connection> No newline at end of file
1445 </connection>
1446 <connection> No newline at end of file
1446 <connection>
1447 <sender>chkDevA</sender> No newline at end of file
1447 <sender>chkDevA</sender>
1448 <signal>toggled(bool)</signal> No newline at end of file
1448 <signal>toggled(bool)</signal>
1449 <receiver>grpDevA</receiver> No newline at end of file
1449 <receiver>grpDevA</receiver>
1450 <slot>setEnabled(bool)</slot> No newline at end of file
1450 <slot>setEnabled(bool)</slot>
1451 <hints> No newline at end of file
1451 <hints>
1452 <hint type="sourcelabel"> No newline at end of file
1452 <hint type="sourcelabel">
1453 <x>105</x> No newline at end of file
1453 <x>105</x>
1454 <y>79</y> No newline at end of file
1454 <y>79</y>
1455 </hint> No newline at end of file
1455 </hint>
1456 <hint type="destinationlabel"> No newline at end of file
1456 <hint type="destinationlabel">
1457 <x>95</x> No newline at end of file
1457 <x>95</x>
1458 <y>167</y> No newline at end of file
1458 <y>167</y>
1459 </hint> No newline at end of file
1459 </hint>
1460 </hints> No newline at end of file
1460 </hints>
1461 </connection> No newline at end of file
1461 </connection>
1462 </connections> No newline at end of file
1462 </connections>
1463 </ui> No newline at end of file
1463 </ui>
General Comments 0
You need to be logged in to leave comments. Login now