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