@@ -190,3 +190,53 | |||||
190 | self.btnStartburn.setEnabled(not(var_bool)) No newline at end of file |
|
190 | self.btnStartburn.setEnabled(not(var_bool)) | |
191 | self.btnStopburn.setEnabled(var_bool) No newline at end of file |
|
191 | self.btnStopburn.setEnabled(var_bool) | |
192 | self.chkCheck.setEnabled(not(var_bool)) No newline at end of file |
|
192 | self.chkCheck.setEnabled(not(var_bool)) | |
|
193 | self.actionChange_Parameters.setEnabled(False) | |||
|
No newline at end of file | ||||
|
194 | ||||
|
No newline at end of file | ||||
|
195 | ||||
|
No newline at end of file | ||||
|
196 | ||||
|
No newline at end of file | ||||
|
197 | ||||
|
No newline at end of file | ||||
|
198 | #---------------------------------------------- Actualiza estado en los labels ------------------------------------------------------- | |||
|
No newline at end of file | ||||
|
199 | ||||
|
No newline at end of file | ||||
|
200 | def update_message(type, self): | |||
|
No newline at end of file | ||||
|
201 | ||||
|
No newline at end of file | ||||
|
202 | var_index = ( ( (self.var_disc_n - 1) * self.var_Copys) + (self.var_copy_n - 1) - self.var_burned_discs ) % len(self.var_devices) | |||
|
No newline at end of file | ||||
|
203 | ||||
|
No newline at end of file | ||||
|
204 | if type == 1: | |||
|
No newline at end of file | ||||
|
205 | var_message = "BURNING" | |||
|
No newline at end of file | ||||
|
206 | if var_index == 0: | |||
|
No newline at end of file | ||||
|
207 | self.txtBstatusA.setText(var_message) | |||
|
No newline at end of file | ||||
|
208 | self.txtBdiscA.setText(str(self.var_disc_n)) | |||
|
No newline at end of file | ||||
|
209 | self.txtBcopyA.setText(str(self.var_copy_n)) | |||
|
No newline at end of file | ||||
|
210 | ||||
|
No newline at end of file | ||||
|
211 | if var_index == 1: | |||
|
No newline at end of file | ||||
|
212 | self.txtBstatusB.setText(var_message) | |||
|
No newline at end of file | ||||
|
213 | self.txtBdiscB.setText(str(self.var_disc_n)) | |||
|
No newline at end of file | ||||
|
214 | self.txtBcopyB.setText(str(self.var_copy_n)) | |||
|
No newline at end of file | ||||
|
215 | ||||
|
No newline at end of file | ||||
|
216 | if var_index == 2: | |||
|
No newline at end of file | ||||
|
217 | self.txtBstatusC.setText(var_message) | |||
|
No newline at end of file | ||||
|
218 | self.txtBdiscC.setText(str(self.var_disc_n)) | |||
|
No newline at end of file | ||||
|
219 | self.txtBcopyC.setText(str(self.var_copy_n)) | |||
|
No newline at end of file | ||||
|
220 | ||||
|
No newline at end of file | ||||
|
221 | if var_index == 3: | |||
|
No newline at end of file | ||||
|
222 | self.txtBstatusD.setText(var_message) | |||
|
No newline at end of file | ||||
|
223 | self.txtBdiscD.setText(str(self.var_disc_n)) | |||
|
No newline at end of file | ||||
|
224 | self.txtBcopyD.setText(str(self.var_copy_n)) | |||
|
No newline at end of file | ||||
|
225 | ||||
|
No newline at end of file | ||||
|
226 | if type == 2: | |||
|
No newline at end of file | ||||
|
227 | var_message = "COMPLETED" | |||
|
No newline at end of file | ||||
|
228 | if var_index == 0: | |||
|
No newline at end of file | ||||
|
229 | self.txtBstatusA.setText(var_message) | |||
|
No newline at end of file | ||||
|
230 | ||||
|
No newline at end of file | ||||
|
231 | if var_index == 1: | |||
|
No newline at end of file | ||||
|
232 | self.txtBstatusB.setText(var_message) | |||
|
No newline at end of file | ||||
|
233 | ||||
|
No newline at end of file | ||||
|
234 | if var_index == 2: | |||
|
No newline at end of file | ||||
|
235 | self.txtBstatusC.setText(var_message) | |||
|
No newline at end of file | ||||
|
236 | ||||
|
No newline at end of file | ||||
|
237 | if var_index == 3: | |||
|
No newline at end of file | ||||
|
238 | self.txtBstatusD.setText(var_message) | |||
|
No newline at end of file | ||||
|
239 | ||||
|
No newline at end of file | ||||
|
240 | ||||
|
No newline at end of file | ||||
|
241 | ||||
|
No newline at end of file | ||||
|
242 | No newline at end of file |
@@ -109,6 +109,7 | |||||
109 | self.var_disc_n = dlgui.txtDisc.value() No newline at end of file |
|
109 | self.var_disc_n = dlgui.txtDisc.value() | |
110 | self.var_copy_n = dlgui.txtCopy.value() No newline at end of file |
|
110 | self.var_copy_n = dlgui.txtCopy.value() | |
111 | self.txtInfo.append("Changed parameters") No newline at end of file |
|
111 | self.txtInfo.append("Changed parameters") | |
|
112 | self.var_burned_discs = ( ( (self.var_disc_n - 1) * self.var_Copys) + self.var_copy_n -1 ) No newline at end of file | |||
112 | No newline at end of file |
|
113 | ||
113 | No newline at end of file |
|
114 | ||
114 | def about(self): No newline at end of file |
|
115 | def about(self): |
General Comments 0
You need to be logged in to leave comments.
Login now