@@ -8,9 +8,10 | |||||
8 | import os No newline at end of file |
|
8 | import os | |
9 | import subprocess No newline at end of file |
|
9 | import subprocess | |
10 | import commands |
|
10 | import commands | |
No newline at end of file |
|
11 | import shutil | ||
11 |
|
No newline at end of file | |||
No newline at end of file |
|
12 | |||
12 |
|
No newline at end of file | |||
No newline at end of file |
|
13 | #--------------------------------------------- Entero a cadena agregando ceros delante ------------------------------------------------- | ||
13 | #Entero a cadena agregando ceros delante No newline at end of file |
|
No newline at end of file | ||
|
14 | No newline at end of file | |||
14 | def i2s(var_n, var_length=4): No newline at end of file |
|
15 | def i2s(var_n, var_length=4): | |
15 | var_n2=str(var_n) No newline at end of file |
|
16 | var_n2=str(var_n) | |
16 | while len(var_n2) < var_length: No newline at end of file |
|
17 | while len(var_n2) < var_length: |
@@ -7,6 +7,7 | |||||
7 | import subprocess No newline at end of file |
|
7 | import subprocess | |
8 | import commands No newline at end of file |
|
8 | import commands | |
9 | No newline at end of file |
|
9 | ||
|
10 | #----------------------------------------------------- Deteccion de los dispositivos de grabacion --------------------------------------------------------------- No newline at end of file | |||
10 | No newline at end of file |
|
11 | ||
11 | def detect_devices(self): No newline at end of file |
|
12 | def detect_devices(self): | |
12 | """ No newline at end of file |
|
13 | """ |
@@ -32,18 +32,25 | |||||
32 | No newline at end of file |
|
32 | ||
33 | functions2.detect_devices(self) #busca los dispositivos de grabacion No newline at end of file |
|
33 | functions2.detect_devices(self) #busca los dispositivos de grabacion | |
34 |
|
34 | |||
No newline at end of file |
|
35 | self.var_Discs = 0 #Numero de discos del proyecto | ||
35 | self.var_n_discs=0 |
|
No newline at end of file | ||
No newline at end of file |
|
36 | self.var_Copys = 0 #Numero de copias | ||
36 | self.var_disc=0 No newline at end of file |
|
No newline at end of file | ||
|
37 | self.var_disc_n = 0 | |||
|
No newline at end of file | ||||
|
38 | self.var_copy_n = 0 | |||
|
No newline at end of file | ||||
|
39 | No newline at end of file | |||
37 | self.var_list=[] No newline at end of file |
|
40 | self.var_list=[] | |
38 | self.var_sublist=[] |
|
41 | self.var_sublist=[] | |
No newline at end of file |
|
42 | |||
39 | self.bool_iso = False |
|
No newline at end of file | ||
No newline at end of file |
|
43 | self.var_devices=[] | ||
40 | self.bool_burn = False No newline at end of file |
|
No newline at end of file | ||
|
44 | ||||
|
No newline at end of file | ||||
|
45 | self.var_step = 0 | |||
|
No newline at end of file | ||||
|
46 | self.bool_state_burning = False | |||
|
No newline at end of file | ||||
|
47 | No newline at end of file | |||
41 | No newline at end of file |
|
48 | ||
42 | #Revisa si existe el archivo de confirguracion No newline at end of file |
|
49 | #Revisa si existe el archivo de confirguracion | |
43 | if os.path.isfile("parameters.conf"): No newline at end of file |
|
50 | if os.path.isfile("parameters.conf"): | |
44 | self.txtInfo.append("Archivo de configuracion encontrado") No newline at end of file |
|
51 | self.txtInfo.append("Archivo de configuracion encontrado") | |
45 | functions2.get_parameters_conf(self) |
|
52 | functions2.get_parameters_conf(self) | |
No newline at end of file |
|
53 | self.txtInfo.append("El proyecto es de "+str(self.var_Discs)+" discos") No newline at end of file | ||
46 | self.txtInfo.append("El proyecto creara "+str(self.var_n_discs)+" DVDs") No newline at end of file |
|
|||
47 | else: No newline at end of file |
|
54 | else: | |
48 | self.txtInfo.append("Elija los parametros de configuracion") No newline at end of file |
|
55 | self.txtInfo.append("Elija los parametros de configuracion") | |
49 | functions2.set_parameters_test(self) #Establece ciertos parametros, para pruebas No newline at end of file |
|
56 | functions2.set_parameters_test(self) #Establece ciertos parametros, para pruebas |
@@ -833,7 +833,7 | |||||
833 | <x>0</x> No newline at end of file |
|
833 | <x>0</x> | |
834 | <y>0</y> No newline at end of file |
|
834 | <y>0</y> | |
835 | <width>809</width> |
|
835 | <width>809</width> | |
No newline at end of file |
|
836 | <height>21</height> No newline at end of file | ||
836 | <height>25</height> No newline at end of file |
|
|||
837 | </rect> No newline at end of file |
|
837 | </rect> | |
838 | </property> No newline at end of file |
|
838 | </property> | |
839 | <widget class="QMenu" name="menuFile"> No newline at end of file |
|
839 | <widget class="QMenu" name="menuFile"> |
@@ -2,8 +2,8 | |||||
2 | No newline at end of file |
|
2 | ||
3 | # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/MainWindow.ui' No newline at end of file |
|
3 | # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/MainWindow.ui' | |
4 | # |
|
4 | # | |
No newline at end of file |
|
5 | # Created: Tue May 18 22:39:04 2010 | ||
5 | # Created: Tue May 18 17:48:10 2010 |
|
No newline at end of file | ||
No newline at end of file |
|
6 | # by: PyQt4 UI code generator 4.7.2 No newline at end of file | ||
6 | # by: PyQt4 UI code generator 4.7.3 No newline at end of file |
|
|||
7 | # No newline at end of file |
|
7 | # | |
8 | # WARNING! All changes made in this file will be lost! No newline at end of file |
|
8 | # WARNING! All changes made in this file will be lost! | |
9 | No newline at end of file |
|
9 |
General Comments 0
You need to be logged in to leave comments.
Login now