@@ -1,29 +1,76 | |||
|
1 | # -*- coding: utf-8 -*- | |
|
No newline at end of file | ||
|
2 | No newline at end of file | |
|
1 | 3 | #class BKmanager: No newline at end of file |
|
2 | 4 | # def __init__(self): No newline at end of file |
|
3 | 5 | No newline at end of file |
|
4 | 6 | from subprocess import * No newline at end of file |
|
5 | 7 | import sys No newline at end of file |
|
6 | 8 | import os No newline at end of file |
|
7 | 9 | import subprocess No newline at end of file |
|
8 | 10 | import commands No newline at end of file |
|
9 | 11 | No newline at end of file |
|
10 | 12 | #Entero a cadena agregando ceros delante No newline at end of file |
|
11 | 13 | def i2s(var_n, var_length=4): No newline at end of file |
|
12 | 14 | var_n2=str(var_n) No newline at end of file |
|
13 | 15 | while len(var_n2) < var_length: No newline at end of file |
|
14 | 16 | var_n2 = "0"+var_n2 No newline at end of file |
|
15 | 17 | return var_n2 No newline at end of file |
|
16 | 18 | No newline at end of file |
|
17 | 19 | |
|
20 | No newline at end of file | |
|
18 | No newline at end of file | |
|
19 | 21 | def make_dirs(var_path, list_dirs, self): No newline at end of file |
|
20 | 22 | No newline at end of file |
|
21 | 23 | var_cmd="mkdir -p "+str(var_path) No newline at end of file |
|
22 | 24 | for var_dir in list_dirs: No newline at end of file |
|
23 | 25 | var_output=commands.getstatusoutput(var_cmd+'/'+var_dir)[0] No newline at end of file |
|
24 | 26 | print var_cmd+'/'+var_dir No newline at end of file |
|
25 | 27 | if var_output != 0: No newline at end of file |
|
26 | 28 | self.txtInfo.append("Error al crear el directorio "+var_dir+", output_error:" + str(var_output)) No newline at end of file |
|
27 | 29 | return No newline at end of file |
|
28 | 30 | else: No newline at end of file |
|
29 | 31 | self.txtInfo.append('Carpetas creadas correctamente') No newline at end of file |
|
32 | ||
|
No newline at end of file | ||
|
33 | ||
|
No newline at end of file | ||
|
34 | #Se verifica que la ruta exista y sea un directorio | |
|
No newline at end of file | ||
|
35 | def dir_exists(var_dir, self): | |
|
No newline at end of file | ||
|
36 | var_cmd="test -d "+str(var_dir) | |
|
No newline at end of file | ||
|
37 | var_output=commands.getstatusoutput(var_cmd)[0] | |
|
No newline at end of file | ||
|
38 | if var_output != 0: | |
|
No newline at end of file | ||
|
39 | self.txtInfo.append("Ruta no valida, output_error:" + str(var_output)) | |
|
No newline at end of file | ||
|
40 | return False | |
|
No newline at end of file | ||
|
41 | else: | |
|
No newline at end of file | ||
|
42 | self.txtInfo.append("Ruta valida, sin error:" + str(var_dir)) | |
|
No newline at end of file | ||
|
43 | return True | |
|
No newline at end of file | ||
|
44 | ||
|
No newline at end of file | ||
|
45 | ||
|
No newline at end of file | ||
|
46 | #Se buscan los archivos del tipo especificado | |
|
No newline at end of file | ||
|
47 | def load_days(self): | |
|
No newline at end of file | ||
|
48 | ||
|
No newline at end of file | ||
|
49 | self.var_list=[] | |
|
No newline at end of file | ||
|
50 | self.lstStartDay.clear() | |
|
No newline at end of file | ||
|
51 | self.lstStopDay.clear() | |
|
No newline at end of file | ||
|
52 | ||
|
No newline at end of file | ||
|
53 | if self.statusDpath == False: | |
|
No newline at end of file | ||
|
54 | self.btnGbkp.setEnabled(False) | |
|
No newline at end of file | ||
|
55 | return | |
|
No newline at end of file | ||
|
56 | ||
|
No newline at end of file | ||
|
57 | var_cmd="find " + str(self.var_Dpath) + " -name *."+ str(self.var_Dtype) +" | awk -F/ '{print substr($NF,2,7)}' | sort| uniq" | |
|
No newline at end of file | ||
|
58 | output=commands.getstatusoutput(var_cmd)[1] | |
|
No newline at end of file | ||
|
59 | ||
|
No newline at end of file | ||
|
60 | #Si no se encuentra ningun archivo | |
|
No newline at end of file | ||
|
61 | if len(output) == 0: | |
|
No newline at end of file | ||
|
62 | self.btnGbkp.setEnabled(False) | |
|
No newline at end of file | ||
|
63 | return | |
|
No newline at end of file | ||
|
64 | ||
|
No newline at end of file | ||
|
65 | #Se cargan las listas para seleccionar StartDay y StopDay (QComboBox) | |
|
No newline at end of file | ||
|
66 | for i in range(0, (len(output)+1)/8): | |
|
No newline at end of file | ||
|
67 | self.var_list.append(output[8*i:8*(i+1)-1]) | |
|
No newline at end of file | ||
|
68 | ||
|
No newline at end of file | ||
|
69 | for i in self.var_list: | |
|
No newline at end of file | ||
|
70 | self.lstStartDay.addItem(i) | |
|
No newline at end of file | ||
|
71 | self.lstStopDay.addItem(i) | |
|
No newline at end of file | ||
|
72 | self.lstStopDay.setCurrentIndex(self.lstStartDay.count()-1) | |
|
No newline at end of file | ||
|
73 | ||
|
No newline at end of file | ||
|
74 | self.btnGbkp.setEnabled(True) | |
|
No newline at end of file | ||
|
75 | ||
|
No newline at end of file | ||
|
76 | No newline at end of file |
@@ -1,7 +1,65 | |||
|
1 | # -*- coding: utf-8 -*- | |
|
No newline at end of file | ||
|
2 | ||
|
No newline at end of file | ||
|
3 | No newline at end of file | |
|
1 | 4 | from subprocess import * No newline at end of file |
|
2 | 5 | import sys No newline at end of file |
|
3 | 6 | import os No newline at end of file |
|
4 | 7 | import subprocess No newline at end of file |
|
5 | 8 | import commands No newline at end of file |
|
6 | 9 | No newline at end of file |
|
7 | 10 | No newline at end of file |
|
11 | def set_parameters(self): | |
|
No newline at end of file | ||
|
12 | """ | |
|
No newline at end of file | ||
|
13 | Se usa para inicializar ciertos parametros para pruebas | |
|
No newline at end of file | ||
|
14 | """ | |
|
No newline at end of file | ||
|
15 | #self.txtDpath.setText('/home/ricardoar/optional/STORAGE/Data/RAW_EXP/JASMET/') | |
|
No newline at end of file | ||
|
16 | #self.txtRpath.setText('/home/ricardoar/optional/STORAGE/prueba1_jro_backup_manager/') | |
|
No newline at end of file | ||
|
17 | self.txtDpath.setText('/home/ricardoar/optional/STORAGE/EW_DRIFTS/') | |
|
No newline at end of file | ||
|
18 | self.txtRpath.setText('/home/ricardoar/optional/prueba1_jro_backup_manager/') | |
|
No newline at end of file | ||
|
19 | self.txtElabel.setText('EW_DRIFTS') | |
|
No newline at end of file | ||
|
20 | self.statusDpath = True | |
|
No newline at end of file | ||
|
21 | self.statusRpath = True | |
|
No newline at end of file | ||
|
22 | self.var_n_files=0 | |
|
No newline at end of file | ||
|
23 | ||
|
No newline at end of file | ||
|
24 | ||
|
No newline at end of file | ||
|
25 | def detect_devices(self): | |
|
No newline at end of file | ||
|
26 | """ | |
|
No newline at end of file | ||
|
27 | Deteccion de los dispositvos de grabacion | |
|
No newline at end of file | ||
|
28 | """ | |
|
No newline at end of file | ||
|
29 | #var_cmd="wodim --devices | grep /dev/ | awk -F\' '{print $2}'" #Funciona en consola pero no en python ΒΏ? | |
|
No newline at end of file | ||
|
30 | var_cmd="wodim --devices | grep /dev/ | awk '{print $2}' | awk -F= '{print $2}'" | |
|
No newline at end of file | ||
|
31 | var_output = commands.getstatusoutput(var_cmd) | |
|
No newline at end of file | ||
|
32 | if var_output[0] != 0: | |
|
No newline at end of file | ||
|
33 | self.txtInfo.append("No se pudo encontrar los dispositivos de grabacion, output_error:" + str(var_output)) | |
|
No newline at end of file | ||
|
34 | else: | |
|
No newline at end of file | ||
|
35 | self.txtInfo.append("dispositivos encontrados") | |
|
No newline at end of file | ||
|
36 | var_devices = var_output[1].split('\n') | |
|
No newline at end of file | ||
|
37 | ||
|
No newline at end of file | ||
|
38 | var_tmp=[] | |
|
No newline at end of file | ||
|
39 | for i in range(0, 4): | |
|
No newline at end of file | ||
|
40 | if i < len(var_devices): | |
|
No newline at end of file | ||
|
41 | var_len = len(var_devices[i]) | |
|
No newline at end of file | ||
|
42 | var_tmp.append(var_devices[i][1:var_len - 1]) | |
|
No newline at end of file | ||
|
43 | else: | |
|
No newline at end of file | ||
|
44 | var_tmp.append('') | |
|
No newline at end of file | ||
|
45 | ||
|
No newline at end of file | ||
|
46 | #Se escriben los dispostivos correspodientes, si existen | |
|
No newline at end of file | ||
|
47 | self.txtDeviceA.setText(str(var_tmp[0])) | |
|
No newline at end of file | ||
|
48 | self.txtDeviceB.setText(str(var_tmp[1])) | |
|
No newline at end of file | ||
|
49 | self.txtDeviceC.setText(str(var_tmp[2])) | |
|
No newline at end of file | ||
|
50 | self.txtDeviceD.setText(str(var_tmp[3])) | |
|
No newline at end of file | ||
|
51 | #Se desactivan los que no existen | |
|
No newline at end of file | ||
|
52 | if len(var_tmp[0]) == 0 : | |
|
No newline at end of file | ||
|
53 | self.chkDevA.setChecked(False) | |
|
No newline at end of file | ||
|
54 | self.chkDevA.setEnabled(False) | |
|
No newline at end of file | ||
|
55 | if len(var_tmp[1]) == 0 : | |
|
No newline at end of file | ||
|
56 | self.chkDevB.setChecked(False) | |
|
No newline at end of file | ||
|
57 | self.chkDevB.setEnabled(False) | |
|
No newline at end of file | ||
|
58 | if len(var_tmp[2]) == 0 : | |
|
No newline at end of file | ||
|
59 | self.chkDevC.setChecked(False) | |
|
No newline at end of file | ||
|
60 | self.chkDevC.setEnabled(False) | |
|
No newline at end of file | ||
|
61 | if len(var_tmp[3]) == 0 : | |
|
No newline at end of file | ||
|
62 | self.chkDevD.setChecked(False) | |
|
No newline at end of file | ||
|
63 | self.chkDevD.setEnabled(False) | |
|
No newline at end of file | ||
|
64 | ||
|
No newline at end of file | ||
|
65 | No newline at end of file |
@@ -1,160 +1,162 | |||
|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> No newline at end of file |
|
2 | 2 | <!DOCTYPE Project SYSTEM "Project-4.6.dtd"> No newline at end of file |
|
3 | 3 | <!-- eric4 project file for project jro_backup_manager --> |
|
4 | No newline at end of file | |
|
4 | <!-- Saved: 2010-05-16, 21:21:21 --> No newline at end of file | |
|
5 | 5 | <!-- Copyright (C) 2010 , --> No newline at end of file |
|
6 | 6 | <Project version="4.6"> No newline at end of file |
|
7 | 7 | <Language>en</Language> No newline at end of file |
|
8 | 8 | <ProgLanguage mixed="0">Python</ProgLanguage> No newline at end of file |
|
9 | 9 | <ProjectType>Qt4</ProjectType> No newline at end of file |
|
10 | 10 | <Description></Description> No newline at end of file |
|
11 | 11 | <Version>0.1</Version> No newline at end of file |
|
12 | 12 | <Author></Author> No newline at end of file |
|
13 | 13 | <Email></Email> No newline at end of file |
|
14 | 14 | <Sources> No newline at end of file |
|
15 | 15 | <Source>__init__.py</Source> No newline at end of file |
|
16 | 16 | <Source>ui/Ui_MainWindow.py</Source> No newline at end of file |
|
17 | 17 | <Source>ui/MainWindow.py</Source> No newline at end of file |
|
18 | 18 | <Source>main.py</Source> No newline at end of file |
|
19 | 19 | <Source>ui/__init__.py</Source> No newline at end of file |
|
20 | 20 | <Source>functions/__init__.py</Source> No newline at end of file |
|
21 | 21 | <Source>functions/functions.py</Source> No newline at end of file |
|
22 | 22 | <Source>functions/functions2.py</Source> No newline at end of file |
|
23 | <Source>functions/func_doc.py</Source> No newline at end of file | |
|
23 | 24 | </Sources> No newline at end of file |
|
24 | 25 | <Forms> No newline at end of file |
|
25 | 26 | <Form>ui/MainWindow.ui</Form> No newline at end of file |
|
26 | 27 | </Forms> No newline at end of file |
|
27 | 28 | <Translations> No newline at end of file |
|
28 | 29 | </Translations> No newline at end of file |
|
29 | 30 | <Resources> No newline at end of file |
|
30 | 31 | </Resources> No newline at end of file |
|
31 | 32 | <Interfaces> No newline at end of file |
|
32 | 33 | </Interfaces> No newline at end of file |
|
33 | 34 | <Others> No newline at end of file |
|
35 | <Other>functions/doc_tmp.txt</Other> No newline at end of file | |
|
34 | 36 | </Others> No newline at end of file |
|
35 | 37 | <MainScript>main.py</MainScript> No newline at end of file |
|
36 | 38 | <Vcs> No newline at end of file |
|
37 | 39 | <VcsType>Subversion</VcsType> No newline at end of file |
|
38 | 40 | <VcsOptions> No newline at end of file |
|
39 | 41 | <dict> No newline at end of file |
|
40 | 42 | <key> No newline at end of file |
|
41 | 43 | <string>add</string> No newline at end of file |
|
42 | 44 | </key> No newline at end of file |
|
43 | 45 | <value> No newline at end of file |
|
44 | 46 | <list> No newline at end of file |
|
45 | 47 | <string></string> No newline at end of file |
|
46 | 48 | </list> No newline at end of file |
|
47 | 49 | </value> No newline at end of file |
|
48 | 50 | <key> No newline at end of file |
|
49 | 51 | <string>checkout</string> No newline at end of file |
|
50 | 52 | </key> No newline at end of file |
|
51 | 53 | <value> No newline at end of file |
|
52 | 54 | <list> No newline at end of file |
|
53 | 55 | <string></string> No newline at end of file |
|
54 | 56 | </list> No newline at end of file |
|
55 | 57 | </value> No newline at end of file |
|
56 | 58 | <key> No newline at end of file |
|
57 | 59 | <string>commit</string> No newline at end of file |
|
58 | 60 | </key> No newline at end of file |
|
59 | 61 | <value> No newline at end of file |
|
60 | 62 | <list> No newline at end of file |
|
61 | 63 | <string></string> No newline at end of file |
|
62 | 64 | </list> No newline at end of file |
|
63 | 65 | </value> No newline at end of file |
|
64 | 66 | <key> No newline at end of file |
|
65 | 67 | <string>diff</string> No newline at end of file |
|
66 | 68 | </key> No newline at end of file |
|
67 | 69 | <value> No newline at end of file |
|
68 | 70 | <list> No newline at end of file |
|
69 | 71 | <string></string> No newline at end of file |
|
70 | 72 | </list> No newline at end of file |
|
71 | 73 | </value> No newline at end of file |
|
72 | 74 | <key> No newline at end of file |
|
73 | 75 | <string>export</string> No newline at end of file |
|
74 | 76 | </key> No newline at end of file |
|
75 | 77 | <value> No newline at end of file |
|
76 | 78 | <list> No newline at end of file |
|
77 | 79 | <string></string> No newline at end of file |
|
78 | 80 | </list> No newline at end of file |
|
79 | 81 | </value> No newline at end of file |
|
80 | 82 | <key> No newline at end of file |
|
81 | 83 | <string>global</string> No newline at end of file |
|
82 | 84 | </key> No newline at end of file |
|
83 | 85 | <value> No newline at end of file |
|
84 | 86 | <list> No newline at end of file |
|
85 | 87 | <string></string> No newline at end of file |
|
86 | 88 | </list> No newline at end of file |
|
87 | 89 | </value> No newline at end of file |
|
88 | 90 | <key> No newline at end of file |
|
89 | 91 | <string>history</string> No newline at end of file |
|
90 | 92 | </key> No newline at end of file |
|
91 | 93 | <value> No newline at end of file |
|
92 | 94 | <list> No newline at end of file |
|
93 | 95 | <string></string> No newline at end of file |
|
94 | 96 | </list> No newline at end of file |
|
95 | 97 | </value> No newline at end of file |
|
96 | 98 | <key> No newline at end of file |
|
97 | 99 | <string>log</string> No newline at end of file |
|
98 | 100 | </key> No newline at end of file |
|
99 | 101 | <value> No newline at end of file |
|
100 | 102 | <list> No newline at end of file |
|
101 | 103 | <string></string> No newline at end of file |
|
102 | 104 | </list> No newline at end of file |
|
103 | 105 | </value> No newline at end of file |
|
104 | 106 | <key> No newline at end of file |
|
105 | 107 | <string>remove</string> No newline at end of file |
|
106 | 108 | </key> No newline at end of file |
|
107 | 109 | <value> No newline at end of file |
|
108 | 110 | <list> No newline at end of file |
|
109 | 111 | <string></string> No newline at end of file |
|
110 | 112 | </list> No newline at end of file |
|
111 | 113 | </value> No newline at end of file |
|
112 | 114 | <key> No newline at end of file |
|
113 | 115 | <string>status</string> No newline at end of file |
|
114 | 116 | </key> No newline at end of file |
|
115 | 117 | <value> No newline at end of file |
|
116 | 118 | <list> No newline at end of file |
|
117 | 119 | <string></string> No newline at end of file |
|
118 | 120 | </list> No newline at end of file |
|
119 | 121 | </value> No newline at end of file |
|
120 | 122 | <key> No newline at end of file |
|
121 | 123 | <string>tag</string> No newline at end of file |
|
122 | 124 | </key> No newline at end of file |
|
123 | 125 | <value> No newline at end of file |
|
124 | 126 | <list> No newline at end of file |
|
125 | 127 | <string></string> No newline at end of file |
|
126 | 128 | </list> No newline at end of file |
|
127 | 129 | </value> No newline at end of file |
|
128 | 130 | <key> No newline at end of file |
|
129 | 131 | <string>update</string> No newline at end of file |
|
130 | 132 | </key> No newline at end of file |
|
131 | 133 | <value> No newline at end of file |
|
132 | 134 | <list> No newline at end of file |
|
133 | 135 | <string></string> No newline at end of file |
|
134 | 136 | </list> No newline at end of file |
|
135 | 137 | </value> No newline at end of file |
|
136 | 138 | </dict> No newline at end of file |
|
137 | 139 | </VcsOptions> No newline at end of file |
|
138 | 140 | <VcsOtherData> No newline at end of file |
|
139 | 141 | <dict> No newline at end of file |
|
140 | 142 | <key> No newline at end of file |
|
141 | 143 | <string>standardLayout</string> No newline at end of file |
|
142 | 144 | </key> No newline at end of file |
|
143 | 145 | <value> No newline at end of file |
|
144 | 146 | <bool>True</bool> No newline at end of file |
|
145 | 147 | </value> No newline at end of file |
|
146 | 148 | </dict> No newline at end of file |
|
147 | 149 | </VcsOtherData> No newline at end of file |
|
148 | 150 | </Vcs> No newline at end of file |
|
149 | 151 | <FiletypeAssociations> No newline at end of file |
|
150 | 152 | <FiletypeAssociation pattern="*.ui" type="FORMS" /> No newline at end of file |
|
151 | 153 | <FiletypeAssociation pattern="*.idl" type="INTERFACES" /> No newline at end of file |
|
152 | 154 | <FiletypeAssociation pattern="*.qm" type="TRANSLATIONS" /> No newline at end of file |
|
153 | 155 | <FiletypeAssociation pattern="*.ptl" type="SOURCES" /> No newline at end of file |
|
154 | 156 | <FiletypeAssociation pattern="*.pyw" type="SOURCES" /> No newline at end of file |
|
155 | 157 | <FiletypeAssociation pattern="*.ui.h" type="FORMS" /> No newline at end of file |
|
156 | 158 | <FiletypeAssociation pattern="*.ts" type="TRANSLATIONS" /> No newline at end of file |
|
157 | 159 | <FiletypeAssociation pattern="*.py" type="SOURCES" /> No newline at end of file |
|
158 | 160 | <FiletypeAssociation pattern="*.qrc" type="RESOURCES" /> No newline at end of file |
|
159 | 161 | </FiletypeAssociations> No newline at end of file |
|
160 | 162 | </Project> No newline at end of file |
@@ -1,499 +1,406 | |||
|
1 | 1 | # -*- coding: utf-8 -*- No newline at end of file |
|
2 | 2 | No newline at end of file |
|
3 | 3 | """ No newline at end of file |
|
4 | 4 | Module implementing MainWindow. No newline at end of file |
|
5 | 5 | """ No newline at end of file |
|
6 | 6 | No newline at end of file |
|
7 | 7 | from PyQt4.QtGui import QMainWindow No newline at end of file |
|
8 | 8 | from PyQt4.QtCore import pyqtSignature No newline at end of file |
|
9 | 9 | from Ui_MainWindow import Ui_MainWindow No newline at end of file |
|
10 | 10 | from PyQt4 import QtGui No newline at end of file |
|
11 | 11 | from subprocess import * No newline at end of file |
|
12 | 12 | import sys No newline at end of file |
|
13 | 13 | import os No newline at end of file |
|
14 | 14 | import subprocess No newline at end of file |
|
15 | 15 | import commands No newline at end of file |
|
16 | 16 | from functions import functions No newline at end of file |
|
17 | 17 | from functions import functions2 No newline at end of file |
|
18 | 18 | No newline at end of file |
|
19 | 19 | class MainWindow(QMainWindow, Ui_MainWindow): No newline at end of file |
|
20 | 20 | """ No newline at end of file |
|
21 | 21 | Class documentation goes here. No newline at end of file |
|
22 | 22 | """ No newline at end of file |
|
23 | 23 | No newline at end of file |
|
24 | 24 | def __init__(self, parent = None): No newline at end of file |
|
25 | 25 | QMainWindow.__init__(self, parent) No newline at end of file |
|
26 | 26 | self.setupUi(self) No newline at end of file |
|
27 | 27 | self.setupUi2() |
|
28 | No newline at end of file | |
|
28 | ||
|
No newline at end of file | ||
|
29 | #redirige salida estandar | |
|
No newline at end of file | ||
|
30 | sys.stdout = self | |
|
No newline at end of file | ||
|
31 | No newline at end of file | |
|
32 | 29 | No newline at end of file |
|
33 | 30 | def setupUi2(self): |
|
31 | No newline at end of file | |
|
34 | """ | |
|
No newline at end of file | ||
|
32 | No newline at end of file | |
|
35 | Se usa para inicializar ciertos parametros para pruebas | |
|
No newline at end of file | ||
|
33 | No newline at end of file | |
|
36 | """ | |
|
No newline at end of file | ||
|
34 | No newline at end of file | |
|
37 | #self.txtDpath.setText('/home/ricardoar/optional/STORAGE/Data/RAW_EXP/JASMET/') | |
|
No newline at end of file | ||
|
35 | No newline at end of file | |
|
38 | #self.txtRpath.setText('/home/ricardoar/optional/STORAGE/prueba1_jro_backup_manager/') | |
|
No newline at end of file | ||
|
36 | No newline at end of file | |
|
39 | self.txtDpath.setText('/home/ricardoar/optional/STORAGE/EW_DRIFTS/') | |
|
No newline at end of file | ||
|
37 | No newline at end of file | |
|
40 | self.txtRpath.setText('/home/ricardoar/optional/prueba1_jro_backup_manager/') | |
|
No newline at end of file | ||
|
38 | No newline at end of file | |
|
41 | self.txtElabel.setText('EW_DRIFTS') | |
|
No newline at end of file | ||
|
39 | No newline at end of file | |
|
42 | self.statusDpath = True | |
|
No newline at end of file | ||
|
40 | No newline at end of file | |
|
43 | self.statusRpath = True No newline at end of file | |
|
44 | 41 | self.var_n_files=0 |
|
42 | No newline at end of file | |
|
45 | # self.statusDpath = False | |
|
No newline at end of file | ||
|
43 | No newline at end of file | |
|
46 | # self.statusRpath = False | |
|
No newline at end of file | ||
|
44 | No newline at end of file | |
|
47 | ||
|
No newline at end of file | ||
|
45 | No newline at end of file | |
|
48 | ||
|
No newline at end of file | ||
|
49 | # | |
|
No newline at end of file | ||
|
50 | #Deteccion de los dispositvos de grabacion | |
|
No newline at end of file | ||
|
51 | # | |
|
No newline at end of file | ||
|
52 | #var_cmd="wodim --devices | grep /dev/ | awk -F\' '{print $2}'" #Funciona en consola pero no en python ΒΏ? | |
|
No newline at end of file | ||
|
53 | var_cmd="wodim --devices | grep /dev/ | awk '{print $2}' | awk -F= '{print $2}'" | |
|
No newline at end of file | ||
|
54 | var_output = commands.getstatusoutput(var_cmd) | |
|
No newline at end of file | ||
|
55 | if var_output[0] != 0: | |
|
No newline at end of file | ||
|
56 | self.txtInfo.setText("No se pudo encontrar los dispositivos de grabacion, output_error:" + str(var_output)) | |
|
No newline at end of file | ||
|
57 | else: | |
|
No newline at end of file | ||
|
58 | self.txtInfo.append("dispositivos encontrados") | |
|
No newline at end of file | ||
|
59 | var_devices = var_output[1].split('\n') | |
|
No newline at end of file | ||
|
60 | ||
|
No newline at end of file | ||
|
61 | var_tmp=[] | |
|
No newline at end of file | ||
|
62 | for i in range(0, 4): | |
|
No newline at end of file | ||
|
63 | if i < len(var_devices): | |
|
No newline at end of file | ||
|
64 | var_len = len(var_devices[i]) | |
|
No newline at end of file | ||
|
65 | var_tmp.append(var_devices[i][1:var_len - 1]) | |
|
No newline at end of file | ||
|
66 | else: | |
|
No newline at end of file | ||
|
67 | var_tmp.append('') | |
|
No newline at end of file | ||
|
68 | ||
|
No newline at end of file | ||
|
69 | #Se escriben los dispostivos correspodientes, si existen | |
|
No newline at end of file | ||
|
70 | self.txtDeviceA.setText(str(var_tmp[0])) | |
|
No newline at end of file | ||
|
71 | self.txtDeviceB.setText(str(var_tmp[1])) | |
|
No newline at end of file | ||
|
72 | self.txtDeviceC.setText(str(var_tmp[2])) | |
|
No newline at end of file | ||
|
73 | self.txtDeviceD.setText(str(var_tmp[3])) | |
|
No newline at end of file | ||
|
74 | #Se desactivan los que no existen | |
|
No newline at end of file | ||
|
75 | if len(var_tmp[0]) == 0 : | |
|
No newline at end of file | ||
|
76 | self.chkDevA.setChecked(False) | |
|
No newline at end of file | ||
|
77 | self.chkDevA.setEnabled(False) | |
|
No newline at end of file | ||
|
78 | if len(var_tmp[1]) == 0 : | |
|
No newline at end of file | ||
|
79 | self.chkDevB.setChecked(False) | |
|
No newline at end of file | ||
|
80 | self.chkDevB.setEnabled(False) | |
|
No newline at end of file | ||
|
81 | if len(var_tmp[2]) == 0 : | |
|
No newline at end of file | ||
|
82 | self.chkDevC.setChecked(False) | |
|
No newline at end of file | ||
|
83 | self.chkDevC.setEnabled(False) | |
|
No newline at end of file | ||
|
84 | if len(var_tmp[3]) == 0 : | |
|
No newline at end of file | ||
|
85 | self.chkDevD.setChecked(False) | |
|
No newline at end of file | ||
|
86 | self.chkDevD.setEnabled(False) No newline at end of file | |
|
87 | 46 | No newline at end of file |
|
88 | 47 | No newline at end of file |
|
89 | 48 | def write(self, txt): No newline at end of file |
|
90 | 49 | """ No newline at end of file |
|
91 | 50 | Escribe la salida estandar eb txtInfo No newline at end of file |
|
92 | 51 | """ No newline at end of file |
|
93 | 52 | self.txtInfo.append(str(txt)) No newline at end of file |
|
94 | 53 | No newline at end of file |
|
95 | 54 | No newline at end of file |
|
96 | 55 | @pyqtSignature("") No newline at end of file |
|
97 | 56 | def on_btnDpath_clicked(self): No newline at end of file |
|
98 | 57 | """ No newline at end of file |
|
99 | 58 | Permite seleccionar graficamente el direcorio de los datos a grabar No newline at end of file |
|
100 | 59 | """ |
|
60 | No newline at end of file | |
|
101 | var_Dpath= QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly) | |
|
No newline at end of file | ||
|
61 | No newline at end of file | |
|
102 | self.txtDpath.setText(var_Dpath) | |
|
No newline at end of file | ||
|
62 | No newline at end of file | |
|
103 | ||
|
No newline at end of file | ||
|
104 | #llamada a funcion | |
|
No newline at end of file | ||
|
105 | self.on_txtDpath_editingFinished() No newline at end of file | |
|
106 | 63 | No newline at end of file |
|
107 | 64 | No newline at end of file |
|
108 | 65 | @pyqtSignature("") No newline at end of file |
|
109 | 66 | def on_btnRpath_clicked(self): No newline at end of file |
|
110 | 67 | """ No newline at end of file |
|
111 | 68 | Permite seleccionar graficamente el direcorio del proyecto No newline at end of file |
|
112 | 69 | """ |
|
70 | No newline at end of file | |
|
113 | var_Rpath = QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly) | |
|
No newline at end of file | ||
|
71 | No newline at end of file | |
|
114 | self.txtRpath.setText(var_Rpath) | |
|
No newline at end of file | ||
|
72 | No newline at end of file | |
|
115 | ||
|
No newline at end of file | ||
|
116 | #llamada a funcion | |
|
No newline at end of file | ||
|
117 | self.on_txtRpath_editingFinished() No newline at end of file | |
|
118 | 73 | No newline at end of file |
|
119 | 74 | No newline at end of file |
|
120 | 75 | @pyqtSignature("") No newline at end of file |
|
121 | 76 | def on_txtDpath_editingFinished(self): No newline at end of file |
|
122 | 77 | """ No newline at end of file |
|
123 | 78 | Permite buscar los archivos de extension seleccionada en la ruta de de datos No newline at end of file |
|
124 | 79 | y cargar los valores para el rango de tiempo a ser grabado No newline at end of file |
|
125 | 80 | """ |
|
81 | No newline at end of file | |
|
126 | ||
|
No newline at end of file | ||
|
82 | No newline at end of file | |
|
127 | #Usando el modulo "subprocess", eric4 pide seleccion del tipo de subproceso (padre o hijo) | |
|
No newline at end of file | ||
|
83 | No newline at end of file | |
|
128 | #por ello se prefiere usar el modulo "commands" | |
|
No newline at end of file | ||
|
129 | #p1= Popen(['find', var_Dpath, '-name', '*.r'], stdout=PIPE) | |
|
No newline at end of file | ||
|
130 | #p2= Popen(['awk', '-F/', '{print substr($NF,2,7)}'], stdin=p1.stdout, stdout=PIPE) | |
|
No newline at end of file | ||
|
131 | #output_p2= p2.communicate()[0] | |
|
No newline at end of file | ||
|
132 | #self.txtInfo.setText(output_p2) | |
|
No newline at end of file | ||
|
133 | ||
|
No newline at end of file | ||
|
134 | #Se carga la variable con la ruta de datos | |
|
No newline at end of file | ||
|
135 | var_Dpath=self.txtDpath.text() | |
|
No newline at end of file | ||
|
136 | ||
|
No newline at end of file | ||
|
137 | #Se verifica que la ruta exista y sea un directorio | |
|
No newline at end of file | ||
|
138 | var_cmd="test -d "+str(var_Dpath) | |
|
No newline at end of file | ||
|
139 | var_output=commands.getstatusoutput(var_cmd)[0] | |
|
No newline at end of file | ||
|
140 | if var_output != 0: | |
|
No newline at end of file | ||
|
141 | self.statusDpath = False | |
|
No newline at end of file | ||
|
142 | self.txtInfo.setText("Ruta no valida, output_error:" + str(var_output)) | |
|
No newline at end of file | ||
|
143 | return | |
|
No newline at end of file | ||
|
144 | else: | |
|
No newline at end of file | ||
|
145 | self.statusDpath = True | |
|
No newline at end of file | ||
|
146 | self.txtInfo.append("Ruta valida, sin error:" + str(var_Dpath)) | |
|
No newline at end of file | ||
|
147 | ||
|
No newline at end of file | ||
|
148 | #Se buscan los archivos del tipo especificado | |
|
No newline at end of file | ||
|
149 | var_Dtype=self.txtDtype.text() | |
|
No newline at end of file | ||
|
150 | var_cmd="find " + str(var_Dpath) + " -name *."+ str(var_Dtype) +" | awk -F/ '{print substr($NF,2,7)}' | sort| uniq" | |
|
No newline at end of file | ||
|
151 | output_p2=commands.getstatusoutput(var_cmd)[1] | |
|
No newline at end of file | ||
|
152 | ||
|
No newline at end of file | ||
|
153 | #Se cargan las listas para seleccionar StartDay y StopDay (QComboBox) | |
|
No newline at end of file | ||
|
154 | self.var_list=[] | |
|
No newline at end of file | ||
|
155 | for i in range(0, (len(output_p2)+1)/8): | |
|
No newline at end of file | ||
|
156 | self.var_list.append(output_p2[8*i:8*(i+1)-1]) | |
|
No newline at end of file | ||
|
157 | ||
|
No newline at end of file | ||
|
158 | self.lstStartDay.clear() | |
|
No newline at end of file | ||
|
159 | self.lstStopDay.clear() | |
|
No newline at end of file | ||
|
160 | ||
|
No newline at end of file | ||
|
161 | for i in self.var_list: | |
|
No newline at end of file | ||
|
162 | self.lstStartDay.addItem(i) | |
|
No newline at end of file | ||
|
163 | self.lstStopDay.addItem(i) | |
|
No newline at end of file | ||
|
164 | ||
|
No newline at end of file | ||
|
165 | self.lstStopDay.setCurrentIndex(self.lstStartDay.count()-1) No newline at end of file | |
|
166 | 84 | No newline at end of file |
|
167 | 85 | No newline at end of file |
|
168 | 86 | @pyqtSignature("") No newline at end of file |
|
169 | 87 | def on_txtRpath_editingFinished(self): No newline at end of file |
|
170 | 88 | """ No newline at end of file |
|
171 | 89 | Valida la ruta del proyecto No newline at end of file |
|
172 | 90 | """ |
|
91 | No newline at end of file | |
|
173 | #Se carga la variable con la ruta del proyecto | |
|
No newline at end of file | ||
|
92 | No newline at end of file | |
|
174 | var_Rpath=self.txtRpath.text() | |
|
No newline at end of file | ||
|
175 | ||
|
No newline at end of file | ||
|
176 | #Se verifica que la ruta exista y sea un directorio | |
|
No newline at end of file | ||
|
177 | var_cmd="test -d "+str(var_Rpath) | |
|
No newline at end of file | ||
|
178 | var_output=commands.getstatusoutput(var_cmd)[0] | |
|
No newline at end of file | ||
|
179 | if var_output != 0: | |
|
No newline at end of file | ||
|
180 | self.statusRpath = False | |
|
No newline at end of file | ||
|
181 | self.txtInfo.append("Ruta no valida, output_error:" + str(var_output)) | |
|
No newline at end of file | ||
|
182 | return | |
|
No newline at end of file | ||
|
183 | else: | |
|
No newline at end of file | ||
|
184 | self.statusRpath = True | |
|
No newline at end of file | ||
|
185 | self.txtInfo.append("Ruta valida, sin error:" + str(var_Rpath)) No newline at end of file | |
|
186 | 93 | No newline at end of file |
|
187 | 94 | No newline at end of file |
|
188 | 95 | @pyqtSignature("int") No newline at end of file |
|
189 | 96 | def on_lstDtype_activated(self, index): No newline at end of file |
|
190 | 97 | """ No newline at end of file |
|
191 | 98 | Permite elegir entre los tipos de archivos No newline at end of file |
|
192 | 99 | """ No newline at end of file |
|
193 | 100 | if index == 0: No newline at end of file |
|
194 | 101 | var_type='r' No newline at end of file |
|
195 | 102 | elif index == 1: No newline at end of file |
|
196 | 103 | var_type='pdata' No newline at end of file |
|
197 | 104 | elif index == 2: No newline at end of file |
|
198 | 105 | var_type='sswma' No newline at end of file |
|
199 | 106 | No newline at end of file |
|
200 | 107 | if index != 3: No newline at end of file |
|
201 | 108 | self.txtDtype.setText(var_type) No newline at end of file |
|
202 | 109 | self.txtDtype.setReadOnly(True) |
|
110 | No newline at end of file | |
|
203 | self.on_txtDpath_editingFinished() No newline at end of file | |
|
204 | 111 | else: No newline at end of file |
|
205 | 112 | self.txtDtype.setText('') No newline at end of file |
|
206 | 113 | self.txtDtype.setReadOnly(False) No newline at end of file |
|
207 | 114 | No newline at end of file |
|
208 | 115 | No newline at end of file |
|
209 | 116 | @pyqtSignature("") No newline at end of file |
|
210 | 117 | def on_txtDtype_editingFinished(self): No newline at end of file |
|
211 | 118 | """ No newline at end of file |
|
212 | 119 | Se activa cuando el tipo de archivo es ingresado manualmente No newline at end of file |
|
213 | 120 | """ No newline at end of file |
|
121 | self.var_Dtype=self.txtDtype.text() No newline at end of file | |
|
214 | 122 | #llamada a funcion No newline at end of file |
|
215 | 123 | self.on_txtDpath_editingFinished() No newline at end of file |
|
216 | 124 | No newline at end of file |
|
217 | 125 | No newline at end of file |
|
218 | 126 | @pyqtSignature("int") #CLOSED No newline at end of file |
|
219 | 127 | def on_lstStartDay_activated(self, index): No newline at end of file |
|
220 | 128 | """ No newline at end of file |
|
221 | 129 | Cambia la lista de opciones en lstStopDay No newline at end of file |
|
222 | 130 | """ No newline at end of file |
|
223 | 131 | var_StopDay_index=self.lstStopDay.count() - self.lstStopDay.currentIndex() No newline at end of file |
|
224 | 132 | self.lstStopDay.clear() No newline at end of file |
|
225 | 133 | No newline at end of file |
|
226 | 134 | for i in self.var_list[index:]: No newline at end of file |
|
227 | 135 | self.lstStopDay.addItem(i) No newline at end of file |
|
228 | 136 | No newline at end of file |
|
229 | 137 | self.lstStopDay.setCurrentIndex(self.lstStopDay.count() - var_StopDay_index) No newline at end of file |
|
230 | 138 | No newline at end of file |
|
231 | 139 | No newline at end of file |
|
232 | 140 | @pyqtSignature("int") #CLOSED No newline at end of file |
|
233 | 141 | def on_lstStopDay_activated(self, index): No newline at end of file |
|
234 | 142 | """ No newline at end of file |
|
235 | 143 | Cambia la lista de opciones en lstStartDay No newline at end of file |
|
236 | 144 | """ No newline at end of file |
|
237 | 145 | var_StartDay_index=self.lstStartDay.currentIndex() No newline at end of file |
|
238 | 146 | var_end_index = self.lstStopDay.count() - index No newline at end of file |
|
239 | 147 | self.lstStartDay.clear() No newline at end of file |
|
240 | 148 | No newline at end of file |
|
241 | 149 | for i in self.var_list[:len(self.var_list) - var_end_index + 1]: No newline at end of file |
|
242 | 150 | self.lstStartDay.addItem(i) No newline at end of file |
|
243 | 151 | No newline at end of file |
|
244 | 152 | self.lstStartDay.setCurrentIndex(var_StartDay_index) No newline at end of file |
|
245 | 153 | No newline at end of file |
|
246 | 154 | No newline at end of file |
|
247 | 155 | @pyqtSignature("int") #CLOSED No newline at end of file |
|
248 | 156 | def on_lstDcapacity_activated(self, index): No newline at end of file |
|
249 | 157 | """ No newline at end of file |
|
250 | 158 | Permite elegir el tamaΓ±o del disco No newline at end of file |
|
251 | 159 | """ No newline at end of file |
|
252 | 160 | if index == 0: No newline at end of file |
|
253 | 161 | var_size=25.0 No newline at end of file |
|
254 | 162 | elif index == 1: No newline at end of file |
|
255 | 163 | var_size=8.5 No newline at end of file |
|
256 | 164 | elif index == 2: No newline at end of file |
|
257 | 165 | var_size=4.7 No newline at end of file |
|
258 | 166 | elif index == 3: No newline at end of file |
|
259 | 167 | var_size=0.7 No newline at end of file |
|
260 | 168 | No newline at end of file |
|
261 | 169 | if index != 4: No newline at end of file |
|
262 | 170 | self.txtDcapacity.setText(str(var_size*10**9/1024**2)) No newline at end of file |
|
263 | 171 | self.txtDcapacity.setReadOnly(True) No newline at end of file |
|
264 | 172 | else: No newline at end of file |
|
265 | 173 | self.txtDcapacity.setText('') No newline at end of file |
|
266 | 174 | self.txtDcapacity.setReadOnly(False) No newline at end of file |
|
267 | 175 | No newline at end of file |
|
268 | 176 | No newline at end of file |
|
269 | 177 | @pyqtSignature("") No newline at end of file |
|
270 | 178 | def on_btnGbkp_clicked(self): No newline at end of file |
|
271 | 179 | """ No newline at end of file |
|
272 | 180 | Cuando se presiona el boton btnGbkp No newline at end of file |
|
273 | 181 | """ No newline at end of file |
|
274 | 182 | No newline at end of file |
|
275 | 183 | #Verifica que las rutas sean validas No newline at end of file |
|
276 | 184 | if self.statusDpath == False or self.statusRpath == False: No newline at end of file |
|
277 | 185 | if self.statusDpath == False: No newline at end of file |
|
278 | 186 | self.txtInfo.append("Ruta de datos no valida") No newline at end of file |
|
279 | 187 | if self.statusRpath == False: No newline at end of file |
|
280 | 188 | self.txtInfo.append("Ruta de proyecto no valida") No newline at end of file |
|
281 | 189 | return No newline at end of file |
|
282 | 190 | No newline at end of file |
|
283 | 191 | #Crea las carpetas en la ruta del proyecto y verifica que se crearon correctamente No newline at end of file |
|
284 | 192 | var_Rpath=self.txtRpath.text() No newline at end of file |
|
285 | 193 | list_dirs=['gpath', 'iso', 'ppath'] No newline at end of file |
|
286 | 194 | functions.make_dirs(var_Rpath, list_dirs, self) No newline at end of file |
|
287 | 195 | No newline at end of file |
|
288 | 196 | #Cargando variables con los parametros No newline at end of file |
|
289 | 197 | var_Dpath=self.txtDpath.text() No newline at end of file |
|
290 | 198 | var_Rpath=self.txtRpath.text() No newline at end of file |
|
291 | 199 | var_Rpath_ppath=var_Rpath+"/ppath" #Ruta de los archivos a grabar No newline at end of file |
|
292 | 200 | var_sublist=[] No newline at end of file |
|
293 | 201 | for i in self.var_list[self.lstStartDay.currentIndex():self.lstStartDay.currentIndex() + self.lstStopDay.currentIndex()+1]: No newline at end of file |
|
294 | 202 | var_sublist.append(i) No newline at end of file |
|
295 | 203 | if len(var_sublist) == 0: No newline at end of file |
|
296 | 204 | self.txtInfo.append("No existen archivos encontrados") No newline at end of file |
|
297 | 205 | return No newline at end of file |
|
298 | 206 | #self.txtInfo.append('elementos: '+str(len(var_sublist))) No newline at end of file |
|
299 | 207 | No newline at end of file |
|
300 | 208 | No newline at end of file |
|
301 | 209 | var_Dtype=self.txtDtype.text() No newline at end of file |
|
302 | 210 | var_Dcapacity=float(self.txtDcapacity.text())*1024 #tamaΓ±o en KB No newline at end of file |
|
303 | 211 | No newline at end of file |
|
304 | 212 | #Busca los archivos con los parametros de busqueda No newline at end of file |
|
305 | 213 | var_files_list=[] No newline at end of file |
|
306 | 214 | for var_doy in var_sublist: No newline at end of file |
|
307 | 215 | var_cmd="find " + str(var_Dpath) + " -name ?"+var_doy+"???."+ str(var_Dtype) + " |sort" No newline at end of file |
|
308 | 216 | var_output=commands.getstatusoutput(var_cmd)[1] No newline at end of file |
|
309 | 217 | for var_file in var_output.split(): No newline at end of file |
|
310 | 218 | var_files_list.append(var_file) #Almacena cada archivo en la lista No newline at end of file |
|
311 | 219 | No newline at end of file |
|
312 | 220 | # No newline at end of file |
|
313 | 221 | #Genera la lista de archivos .dat que contienen los archivos a grabar en cada DVD No newline at end of file |
|
314 | 222 | # No newline at end of file |
|
315 | 223 | var_n=0 #Numero del DVD actual No newline at end of file |
|
316 | 224 | var_tmp=0 #Se usa para acumulanr el tamaΓ±o de los archivos de la lista No newline at end of file |
|
317 | 225 | var_files_list_2=[] #Se usa para almacenar la lista de archivos agrbar en cada DVD No newline at end of file |
|
318 | 226 | No newline at end of file |
|
319 | 227 | for i in var_files_list: #Se asignan en i los archivos de la lista No newline at end of file |
|
320 | 228 | var_size_i=os.path.getsize(i)/1024+1 #tamaΓ±o en KB del archivo de la lista, se suma 1 KB para evitar problemas al momento de sumar No newline at end of file |
|
321 | 229 | var_tmp += var_size_i #Se acumulan el tamaΓ±o de los archivos de la lista No newline at end of file |
|
322 | 230 | No newline at end of file |
|
323 | 231 | #Si el tamaΓ±o acumulado es mayor que el de el DVD No newline at end of file |
|
324 | 232 | if var_tmp > var_Dcapacity: No newline at end of file |
|
325 | 233 | var_tmp -= var_size_i #se quita el tamaΓ±o sumado para mostrar el tamaΓ±o real No newline at end of file |
|
326 | 234 | #se crea un archivo con numeral en el sufijo y extension .dat No newline at end of file |
|
327 | 235 | var_file = open(var_Rpath_ppath+"/"+self.txtElabel.text()+"_"+functions.i2s(var_n)+".dat","w") No newline at end of file |
|
328 | 236 | #Se aΓ±ade la lista de archivos a grabar en el DVD al archivo .dat No newline at end of file |
|
329 | 237 | for line in var_files_list_2: No newline at end of file |
|
330 | 238 | var_tmp_path=(line.split(var_Dpath)[1]).split('/') No newline at end of file |
|
331 | 239 | var_tmp_path2="/" No newline at end of file |
|
332 | 240 | for l in range(0, len(var_tmp_path)-1): No newline at end of file |
|
333 | 241 | var_tmp_path2=var_tmp_path2+str(var_tmp_path[l])+"/" No newline at end of file |
|
334 | 242 | var_file.write(var_tmp_path2+'=') No newline at end of file |
|
335 | 243 | var_file.write(line+'\n') No newline at end of file |
|
336 | 244 | var_file.close() No newline at end of file |
|
337 | 245 | No newline at end of file |
|
338 | 246 | var_tmp = var_size_i #Se asigna a la variable el tamaΓ±o del archivo actual No newline at end of file |
|
339 | 247 | var_files_list_2=[] #Se reinicia la lista No newline at end of file |
|
340 | 248 | var_n += 1 No newline at end of file |
|
341 | 249 | var_files_list_2.append(i) No newline at end of file |
|
342 | 250 | No newline at end of file |
|
343 | 251 | #se crea un archivo con numeral en el sufijo y extension .dat No newline at end of file |
|
344 | 252 | var_file = open(var_Rpath_ppath+"/"+self.txtElabel.text()+"_"+functions.i2s(var_n)+".dat","w") No newline at end of file |
|
345 | 253 | #Se aΓ±ade la lista de archivos a grabar en el DVD al archivo .dat No newline at end of file |
|
346 | 254 | for line in var_files_list_2: No newline at end of file |
|
347 | 255 | var_tmp_path=(line.split(var_Dpath)[1]).split('/') No newline at end of file |
|
348 | 256 | var_tmp_path2="/" No newline at end of file |
|
349 | 257 | for l in range(0, len(var_tmp_path)-1): No newline at end of file |
|
350 | 258 | var_tmp_path2=var_tmp_path2+str(var_tmp_path[l])+"/" No newline at end of file |
|
351 | 259 | var_file.write(var_tmp_path2+'=') No newline at end of file |
|
352 | 260 | var_file.write(line+'\n') No newline at end of file |
|
353 | 261 | var_file.close() No newline at end of file |
|
354 | 262 | No newline at end of file |
|
355 | 263 | # No newline at end of file |
|
356 | 264 | #Genera los archivos .print con los cuales se creara los postscript No newline at end of file |
|
357 | 265 | # No newline at end of file |
|
358 | 266 | self.var_n_files = var_n # Numero del ultimo archivo .dat creado No newline at end of file |
|
359 | 267 | var_n = 0 # Se reinicia a cero y se usa para poder acceder a cada una de los archivos No newline at end of file |
|
360 | 268 | No newline at end of file |
|
361 | 269 | # Se leen todos los archivos .dat creados para crear las etiquetas en los archivos .ps No newline at end of file |
|
362 | 270 | for var_n in range(0, self.var_n_files+1): No newline at end of file |
|
363 | 271 | print var_n No newline at end of file |
|
364 | 272 | No newline at end of file |
|
365 | 273 | #se abren los archivos .dat en modo lectura No newline at end of file |
|
366 | 274 | var_file = open(var_Rpath_ppath+"/"+self.txtElabel.text()+"_"+functions.i2s(var_n)+".dat","r") No newline at end of file |
|
367 | 275 | lines=var_file.readlines() # Se lee las lineas en el archivo y se almacenan en la lista No newline at end of file |
|
368 | 276 | No newline at end of file |
|
369 | 277 | # Se crea el archivo .print No newline at end of file |
|
370 | 278 | var_file_print = open(var_Rpath_ppath+"/"+self.txtElabel.text()+"_"+functions.i2s(var_n)+".print","w") No newline at end of file |
|
371 | 279 | var_file_print.write(self.txtElabel.text()+" "+functions.i2s(var_n)+"/"+str(self.var_n_files)+"\n") No newline at end of file |
|
372 | 280 | var_file_print.write("Year Doy Folder Set Time range\n") No newline at end of file |
|
373 | 281 | No newline at end of file |
|
374 | 282 | #Se crean los archivos .print con los cuales se crearan los archivos .ps No newline at end of file |
|
375 | 283 | var_first_folder = lines[0].split('=')[0] No newline at end of file |
|
376 | 284 | var_first_file = (lines[0].split('=')[1])[:-1] No newline at end of file |
|
377 | 285 | var_date_first_file=commands.getstatusoutput("date -r "+var_first_file+" +'%T'")[1] No newline at end of file |
|
378 | 286 | No newline at end of file |
|
379 | 287 | for j in range(1, len(lines)-1): No newline at end of file |
|
380 | 288 | var_tmp_folder = lines[j].split('=')[0] No newline at end of file |
|
381 | 289 | var_tmp_file = (lines[j].split('=')[1])[:-1] No newline at end of file |
|
382 | 290 | No newline at end of file |
|
383 | 291 | # Si el subfolder superior o la fecha del archivo cambia se genera una nueva linea No newline at end of file |
|
384 | 292 | if (var_tmp_folder != var_first_folder) or (var_tmp_file[0:-5] != var_first_file[0:-5]): No newline at end of file |
|
385 | 293 | No newline at end of file |
|
386 | 294 | var_last_file = (lines[j-1].split('=')[1])[:-1] No newline at end of file |
|
387 | 295 | var_date_last_file=commands.getstatusoutput("date -r "+var_last_file+" +'%T'")[1] No newline at end of file |
|
388 | 296 | # Si el archivo se grabara directamente en la / del DVD y no en un /directorio/ No newline at end of file |
|
389 | 297 | # se usa la etiqueta para indicar la parte de la etiqueta donde va el subdirectorio No newline at end of file |
|
390 | 298 | if var_first_folder == '/': No newline at end of file |
|
391 | 299 | var_folder = self.txtElabel.text() No newline at end of file |
|
392 | 300 | else: No newline at end of file |
|
393 | 301 | var_folder = var_first_folder.split('/')[1] No newline at end of file |
|
394 | 302 | No newline at end of file |
|
395 | 303 | var_file_print.write(var_first_file[-12:-8]+" "+var_first_file[-8:-5]+" "+var_folder +" "+var_first_file[-5:-2]+" " No newline at end of file |
|
396 | 304 | +var_last_file[-5:-2]+" "+var_date_first_file+" "+var_date_last_file+"\n") No newline at end of file |
|
397 | 305 | No newline at end of file |
|
398 | 306 | var_first_folder = lines[j].split('=')[0] No newline at end of file |
|
399 | 307 | var_first_file = (lines[j].split('=')[1])[:-1] No newline at end of file |
|
400 | 308 | var_date_first_file=commands.getstatusoutput("date -r "+var_first_file+" +'%T'")[1] No newline at end of file |
|
401 | 309 | No newline at end of file |
|
402 | 310 | var_last_file = (lines[-1].split('=')[1])[:-1] No newline at end of file |
|
403 | 311 | var_date_last_file=commands.getstatusoutput("date -r "+var_last_file+" +'%T'")[1] No newline at end of file |
|
404 | 312 | No newline at end of file |
|
405 | 313 | if var_first_folder == '/': No newline at end of file |
|
406 | 314 | var_folder = self.txtElabel.text() No newline at end of file |
|
407 | 315 | else: No newline at end of file |
|
408 | 316 | var_folder = var_first_folder.split('/')[1] No newline at end of file |
|
409 | 317 | No newline at end of file |
|
410 | 318 | var_file_print.write(var_first_file[-12:-8]+" "+var_first_file[-8:-5]+" "+var_folder +" "+var_first_file[-5:-2]+" " No newline at end of file |
|
411 | 319 | +var_last_file[-5:-2]+" "+var_date_first_file+" "+var_date_last_file+"\n") No newline at end of file |
|
412 | 320 | No newline at end of file |
|
413 | 321 | var_file.close() No newline at end of file |
|
414 | 322 | var_file_print.close() No newline at end of file |
|
415 | 323 | No newline at end of file |
|
416 | 324 | No newline at end of file |
|
417 | 325 | #Se deshabilita el Tab Parameters y el boton btnGbkp No newline at end of file |
|
418 | 326 | self.tabParameters.setEnabled(False) No newline at end of file |
|
419 | 327 | self.btnGbkp.setEnabled(False) No newline at end of file |
|
420 | 328 | No newline at end of file |
|
421 | 329 | No newline at end of file |
|
422 | 330 | @pyqtSignature("") No newline at end of file |
|
423 | 331 | def on_btnRestart_clicked(self): No newline at end of file |
|
424 | 332 | """ No newline at end of file |
|
425 | 333 | Slot documentation goes here. No newline at end of file |
|
426 | 334 | """ No newline at end of file |
|
427 | 335 | self.tabParameters.setEnabled(True) No newline at end of file |
|
428 | 336 | self.btnGbkp.setEnabled(True) No newline at end of file |
|
429 | 337 | No newline at end of file |
|
430 | 338 | No newline at end of file |
|
431 | 339 | @pyqtSignature("") No newline at end of file |
|
432 | 340 | def on_btnStartburn_clicked(self): No newline at end of file |
|
433 | 341 | """ No newline at end of file |
|
434 | 342 | Se inicia el proceso de grabacion No newline at end of file |
|
435 | 343 | """ No newline at end of file |
|
436 | 344 | sys.stdout = self No newline at end of file |
|
437 | 345 | #sys.stderr = self No newline at end of file |
|
438 | 346 | print "stdout_!!!" No newline at end of file |
|
439 | 347 | No newline at end of file |
|
440 | 348 | #Inicializando variables No newline at end of file |
|
441 | 349 | var_Rpath=self.txtRpath.text() No newline at end of file |
|
442 | 350 | var_Rpath_ppath=var_Rpath+"/ppath" No newline at end of file |
|
443 | 351 | var_Rpath_iso=var_Rpath+"/iso" No newline at end of file |
|
444 | 352 | var_label=self.txtElabel.text() No newline at end of file |
|
445 | 353 | No newline at end of file |
|
446 | 354 | # Se leen todos los archivos .dat creados para crear las etiquetas en los archivos .ps No newline at end of file |
|
447 | 355 | for var_n in range(0, self.var_n_files+1): No newline at end of file |
|
448 | 356 | print var_n No newline at end of file |
|
449 | 357 | No newline at end of file |
|
450 | 358 | file_iso=var_Rpath_iso+"/"+functions.i2s(var_n)+".iso" No newline at end of file |
|
451 | 359 | file_dat=var_Rpath_ppath+"/"+self.txtElabel.text()+"_"+functions.i2s(var_n)+".dat" No newline at end of file |
|
452 | 360 | No newline at end of file |
|
453 | 361 | var_cmd = 'genisoimage -hide-joliet-trans-tbl -joliet-long -r ' No newline at end of file |
|
454 | 362 | var_cmd += ' -A '+var_label+' -V '+var_label No newline at end of file |
|
455 | 363 | var_cmd += ' -graft-points -path-list '+ file_dat+' -o '+file_iso No newline at end of file |
|
456 | 364 | self.txtInfo.append(var_cmd) No newline at end of file |
|
457 | 365 | No newline at end of file |
|
458 | 366 | var_output=commands.getstatusoutput(str(var_cmd))[0] No newline at end of file |
|
459 | 367 | self.txtInfo.append(str(var_output)) No newline at end of file |
|
460 | 368 | No newline at end of file |
|
461 | 369 | #os.system(str(var_cmd)) No newline at end of file |
|
462 | 370 | #p = subprocess.Popen(str('ls /'), shell=True, stdout=self) No newline at end of file |
|
463 | 371 | #os.waitpid(p.pid, 0) No newline at end of file |
|
464 | 372 | ####self.txtInfo.append(str(p.pid)) No newline at end of file |
|
465 | 373 | No newline at end of file |
|
466 | 374 | No newline at end of file |
|
467 | 375 | @pyqtSignature("") No newline at end of file |
|
468 | 376 | def on_btnStopburn_clicked(self): No newline at end of file |
|
469 | 377 | """ No newline at end of file |
|
470 | 378 | Slot documentation goes here. No newline at end of file |
|
471 | 379 | """ No newline at end of file |
|
472 | 380 | # TODO: not implemented yet No newline at end of file |
|
473 | 381 | raise NotImplementedError No newline at end of file |
|
474 | 382 | No newline at end of file |
|
475 | 383 | No newline at end of file |
|
476 | 384 | @pyqtSignature("") No newline at end of file |
|
477 | 385 | def on_btnTdevA_clicked(self): No newline at end of file |
|
478 | 386 | var_dev = str(self.txtDeviceA.text()) No newline at end of file |
|
479 | 387 | var_cmd = 'eject ' + var_dev + '; eject -t ' + var_dev No newline at end of file |
|
480 | 388 | commands.getstatusoutput(var_cmd) No newline at end of file |
|
481 | 389 | No newline at end of file |
|
482 | 390 | @pyqtSignature("") No newline at end of file |
|
483 | 391 | def on_btnTdevB_clicked(self): No newline at end of file |
|
484 | 392 | var_dev = str(self.txtDeviceB.text()) No newline at end of file |
|
485 | 393 | var_cmd = 'eject ' + var_dev + '; eject -t ' + var_dev No newline at end of file |
|
486 | 394 | commands.getstatusoutput(var_cmd) No newline at end of file |
|
487 | 395 | No newline at end of file |
|
488 | 396 | @pyqtSignature("") No newline at end of file |
|
489 | 397 | def on_btnTdevC_clicked(self): No newline at end of file |
|
490 | 398 | var_dev = str(self.txtDeviceC.text()) No newline at end of file |
|
491 | 399 | var_cmd = 'eject ' + var_dev + '; eject -t ' + var_dev No newline at end of file |
|
492 | 400 | commands.getstatusoutput(var_cmd) No newline at end of file |
|
493 | 401 | No newline at end of file |
|
494 | 402 | @pyqtSignature("") No newline at end of file |
|
495 | 403 | def on_btnTdevD_clicked(self): No newline at end of file |
|
496 | 404 | var_dev = str(self.txtDeviceD.text()) No newline at end of file |
|
497 | 405 | var_cmd = 'eject ' + var_dev + '; eject -t ' + var_dev No newline at end of file |
|
498 | 406 | commands.getstatusoutput(var_cmd) No newline at end of file |
|
499 | 407 | No newline at end of file |
@@ -1,954 +1,956 | |||
|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> No newline at end of file |
|
2 | 2 | <ui version="4.0"> No newline at end of file |
|
3 | 3 | <class>MainWindow</class> No newline at end of file |
|
4 | 4 | <widget class="QMainWindow" name="MainWindow"> No newline at end of file |
|
5 | 5 | <property name="geometry"> No newline at end of file |
|
6 | 6 | <rect> No newline at end of file |
|
7 | 7 | <x>0</x> No newline at end of file |
|
8 | 8 | <y>0</y> |
|
9 | No newline at end of file | |
|
9 | <width>809</width> No newline at end of file | |
|
10 | 10 | <height>737</height> No newline at end of file |
|
11 | 11 | </rect> No newline at end of file |
|
12 | 12 | </property> No newline at end of file |
|
13 | 13 | <property name="windowTitle"> No newline at end of file |
|
14 | 14 | <string>JRO BACKUP MANAGER</string> No newline at end of file |
|
15 | 15 | </property> No newline at end of file |
|
16 | 16 | <widget class="QWidget" name="centralwidget"> No newline at end of file |
|
17 | 17 | <layout class="QVBoxLayout" name="verticalLayout"> No newline at end of file |
|
18 | 18 | <item> No newline at end of file |
|
19 | 19 | <widget class="QTabWidget" name="tabWidget"> No newline at end of file |
|
20 | 20 | <property name="enabled"> No newline at end of file |
|
21 | 21 | <bool>true</bool> No newline at end of file |
|
22 | 22 | </property> No newline at end of file |
|
23 | 23 | <property name="sizePolicy"> No newline at end of file |
|
24 | 24 | <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> No newline at end of file |
|
25 | 25 | <horstretch>0</horstretch> No newline at end of file |
|
26 | 26 | <verstretch>0</verstretch> No newline at end of file |
|
27 | 27 | </sizepolicy> No newline at end of file |
|
28 | 28 | </property> No newline at end of file |
|
29 | 29 | <property name="currentIndex"> No newline at end of file |
|
30 | 30 | <number>0</number> No newline at end of file |
|
31 | 31 | </property> No newline at end of file |
|
32 | 32 | <widget class="QWidget" name="tabParameters"> No newline at end of file |
|
33 | 33 | <property name="enabled"> No newline at end of file |
|
34 | 34 | <bool>true</bool> No newline at end of file |
|
35 | 35 | </property> No newline at end of file |
|
36 | 36 | <attribute name="title"> No newline at end of file |
|
37 | 37 | <string>Parameters</string> No newline at end of file |
|
38 | 38 | </attribute> No newline at end of file |
|
39 | 39 | <layout class="QVBoxLayout" name="verticalLayout_2"> No newline at end of file |
|
40 | 40 | <item> No newline at end of file |
|
41 | 41 | <layout class="QHBoxLayout" name="horizontalLayout"> No newline at end of file |
|
42 | 42 | <property name="sizeConstraint"> No newline at end of file |
|
43 | 43 | <enum>QLayout::SetDefaultConstraint</enum> No newline at end of file |
|
44 | 44 | </property> No newline at end of file |
|
45 | 45 | <item> No newline at end of file |
|
46 | 46 | <widget class="QLineEdit" name="txtDpath"> No newline at end of file |
|
47 | 47 | <property name="sizePolicy"> No newline at end of file |
|
48 | 48 | <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> No newline at end of file |
|
49 | 49 | <horstretch>0</horstretch> No newline at end of file |
|
50 | 50 | <verstretch>0</verstretch> No newline at end of file |
|
51 | 51 | </sizepolicy> No newline at end of file |
|
52 | 52 | </property> No newline at end of file |
|
53 | 53 | </widget> No newline at end of file |
|
54 | 54 | </item> No newline at end of file |
|
55 | 55 | <item> No newline at end of file |
|
56 | 56 | <widget class="QPushButton" name="btnDpath"> No newline at end of file |
|
57 | 57 | <property name="sizePolicy"> No newline at end of file |
|
58 | 58 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> No newline at end of file |
|
59 | 59 | <horstretch>0</horstretch> No newline at end of file |
|
60 | 60 | <verstretch>0</verstretch> No newline at end of file |
|
61 | 61 | </sizepolicy> No newline at end of file |
|
62 | 62 | </property> No newline at end of file |
|
63 | 63 | <property name="text"> No newline at end of file |
|
64 | 64 | <string>Data Path</string> No newline at end of file |
|
65 | 65 | </property> No newline at end of file |
|
66 | 66 | <property name="checkable"> No newline at end of file |
|
67 | 67 | <bool>false</bool> No newline at end of file |
|
68 | 68 | </property> No newline at end of file |
|
69 | 69 | </widget> No newline at end of file |
|
70 | 70 | </item> No newline at end of file |
|
71 | 71 | </layout> No newline at end of file |
|
72 | 72 | </item> No newline at end of file |
|
73 | 73 | <item> No newline at end of file |
|
74 | 74 | <layout class="QHBoxLayout" name="horizontalLayout_3"> No newline at end of file |
|
75 | 75 | <item> No newline at end of file |
|
76 | 76 | <widget class="QLineEdit" name="txtRpath"/> No newline at end of file |
|
77 | 77 | </item> No newline at end of file |
|
78 | 78 | <item> No newline at end of file |
|
79 | 79 | <widget class="QPushButton" name="btnRpath"> No newline at end of file |
|
80 | 80 | <property name="text"> No newline at end of file |
|
81 | 81 | <string>Resource Path</string> No newline at end of file |
|
82 | 82 | </property> No newline at end of file |
|
83 | 83 | </widget> No newline at end of file |
|
84 | 84 | </item> No newline at end of file |
|
85 | 85 | </layout> No newline at end of file |
|
86 | 86 | </item> No newline at end of file |
|
87 | 87 | <item> No newline at end of file |
|
88 | 88 | <widget class="QLabel" name="lblDtype"> No newline at end of file |
|
89 | 89 | <property name="text"> No newline at end of file |
|
90 | 90 | <string>Data Type</string> No newline at end of file |
|
91 | 91 | </property> No newline at end of file |
|
92 | 92 | </widget> No newline at end of file |
|
93 | 93 | </item> No newline at end of file |
|
94 | 94 | <item> No newline at end of file |
|
95 | 95 | <layout class="QHBoxLayout" name="horizontalLayout_4"> No newline at end of file |
|
96 | 96 | <item> No newline at end of file |
|
97 | 97 | <widget class="QComboBox" name="lstDtype"> No newline at end of file |
|
98 | 98 | <item> No newline at end of file |
|
99 | 99 | <property name="text"> No newline at end of file |
|
100 | 100 | <string>Raw Data</string> No newline at end of file |
|
101 | 101 | </property> No newline at end of file |
|
102 | 102 | </item> No newline at end of file |
|
103 | 103 | <item> No newline at end of file |
|
104 | 104 | <property name="text"> No newline at end of file |
|
105 | 105 | <string>Process Data</string> No newline at end of file |
|
106 | 106 | </property> No newline at end of file |
|
107 | 107 | </item> No newline at end of file |
|
108 | 108 | <item> No newline at end of file |
|
109 | 109 | <property name="text"> No newline at end of file |
|
110 | 110 | <string>BLTR Data</string> No newline at end of file |
|
111 | 111 | </property> No newline at end of file |
|
112 | 112 | </item> No newline at end of file |
|
113 | 113 | <item> No newline at end of file |
|
114 | 114 | <property name="text"> No newline at end of file |
|
115 | 115 | <string>Other</string> No newline at end of file |
|
116 | 116 | </property> No newline at end of file |
|
117 | 117 | </item> No newline at end of file |
|
118 | 118 | </widget> No newline at end of file |
|
119 | 119 | </item> No newline at end of file |
|
120 | 120 | <item> No newline at end of file |
|
121 | 121 | <widget class="QLineEdit" name="txtDtype"> No newline at end of file |
|
122 | 122 | <property name="text"> No newline at end of file |
|
123 | 123 | <string>r</string> No newline at end of file |
|
124 | 124 | </property> No newline at end of file |
|
125 | 125 | <property name="readOnly"> No newline at end of file |
|
126 | 126 | <bool>true</bool> No newline at end of file |
|
127 | 127 | </property> No newline at end of file |
|
128 | 128 | </widget> No newline at end of file |
|
129 | 129 | </item> No newline at end of file |
|
130 | 130 | <item> No newline at end of file |
|
131 | 131 | <widget class="QCheckBox" name="chkMST"> No newline at end of file |
|
132 | 132 | <property name="text"> No newline at end of file |
|
133 | 133 | <string>MST-ISR Data</string> No newline at end of file |
|
134 | 134 | </property> No newline at end of file |
|
135 | 135 | </widget> No newline at end of file |
|
136 | 136 | </item> No newline at end of file |
|
137 | 137 | </layout> No newline at end of file |
|
138 | 138 | </item> No newline at end of file |
|
139 | 139 | <item> No newline at end of file |
|
140 | 140 | <layout class="QHBoxLayout" name="horizontalLayout_6"> No newline at end of file |
|
141 | 141 | <item> No newline at end of file |
|
142 | 142 | <widget class="QLabel" name="lblElabel"> No newline at end of file |
|
143 | 143 | <property name="text"> No newline at end of file |
|
144 | 144 | <string>Exp. Label at device</string> No newline at end of file |
|
145 | 145 | </property> No newline at end of file |
|
146 | 146 | </widget> No newline at end of file |
|
147 | 147 | </item> No newline at end of file |
|
148 | 148 | <item> No newline at end of file |
|
149 | 149 | <widget class="QLabel" name="lblCopys"> No newline at end of file |
|
150 | 150 | <property name="text"> No newline at end of file |
|
151 | 151 | <string>Copys</string> No newline at end of file |
|
152 | 152 | </property> No newline at end of file |
|
153 | 153 | </widget> No newline at end of file |
|
154 | 154 | </item> No newline at end of file |
|
155 | 155 | </layout> No newline at end of file |
|
156 | 156 | </item> No newline at end of file |
|
157 | 157 | <item> No newline at end of file |
|
158 | 158 | <layout class="QHBoxLayout" name="horizontalLayout_5"> No newline at end of file |
|
159 | 159 | <item> No newline at end of file |
|
160 | 160 | <widget class="QLineEdit" name="txtElabel"/> No newline at end of file |
|
161 | 161 | </item> No newline at end of file |
|
162 | 162 | <item> |
|
163 | No newline at end of file | |
|
163 | <widget class="QLineEdit" name="txtCopys"> | |
|
No newline at end of file | ||
|
164 | No newline at end of file | |
|
164 | <property name="text"> | |
|
No newline at end of file | ||
|
165 | No newline at end of file | |
|
165 | <string>0</string> No newline at end of file | |
|
No newline at end of file | ||
|
166 | <horstretch>0</horstretch> | |
|
No newline at end of file | ||
|
167 | <verstretch>0</verstretch> | |
|
No newline at end of file | ||
|
168 | </sizepolicy> No newline at end of file | |
|
166 | 169 | </property> No newline at end of file |
|
167 | 170 | </widget> No newline at end of file |
|
168 | 171 | </item> No newline at end of file |
|
169 | 172 | </layout> No newline at end of file |
|
170 | 173 | </item> No newline at end of file |
|
171 | 174 | <item> No newline at end of file |
|
172 | 175 | <layout class="QHBoxLayout" name="horizontalLayout_7"> No newline at end of file |
|
173 | 176 | <item> No newline at end of file |
|
174 | 177 | <widget class="QLabel" name="lblStartDay"> No newline at end of file |
|
175 | 178 | <property name="text"> No newline at end of file |
|
176 | 179 | <string>Start Day:</string> No newline at end of file |
|
177 | 180 | </property> No newline at end of file |
|
178 | 181 | </widget> No newline at end of file |
|
179 | 182 | </item> No newline at end of file |
|
180 | 183 | <item> No newline at end of file |
|
181 | 184 | <widget class="QLabel" name="lblStopDay"> No newline at end of file |
|
182 | 185 | <property name="text"> No newline at end of file |
|
183 | 186 | <string>Stop Day:</string> No newline at end of file |
|
184 | 187 | </property> No newline at end of file |
|
185 | 188 | </widget> No newline at end of file |
|
186 | 189 | </item> No newline at end of file |
|
187 | 190 | </layout> No newline at end of file |
|
188 | 191 | </item> No newline at end of file |
|
189 | 192 | <item> No newline at end of file |
|
190 | 193 | <layout class="QHBoxLayout" name="horizontalLayout_8"> No newline at end of file |
|
191 | 194 | <item> No newline at end of file |
|
192 | 195 | <widget class="QComboBox" name="lstStartDay"/> No newline at end of file |
|
193 | 196 | </item> No newline at end of file |
|
194 | 197 | <item> No newline at end of file |
|
195 | 198 | <widget class="QComboBox" name="lstStopDay"/> No newline at end of file |
|
196 | 199 | </item> No newline at end of file |
|
197 | 200 | </layout> No newline at end of file |
|
198 | 201 | </item> No newline at end of file |
|
199 | 202 | </layout> No newline at end of file |
|
200 | 203 | </widget> No newline at end of file |
|
201 | 204 | <widget class="QWidget" name="tabDconfig"> No newline at end of file |
|
202 | 205 | <property name="enabled"> No newline at end of file |
|
203 | 206 | <bool>true</bool> No newline at end of file |
|
204 | 207 | </property> No newline at end of file |
|
205 | 208 | <property name="sizePolicy"> No newline at end of file |
|
206 | 209 | <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> No newline at end of file |
|
207 | 210 | <horstretch>0</horstretch> No newline at end of file |
|
208 | 211 | <verstretch>0</verstretch> No newline at end of file |
|
209 | 212 | </sizepolicy> No newline at end of file |
|
210 | 213 | </property> No newline at end of file |
|
211 | 214 | <attribute name="title"> No newline at end of file |
|
212 | 215 | <string>Device Config.</string> No newline at end of file |
|
213 | 216 | </attribute> No newline at end of file |
|
214 | 217 | <layout class="QVBoxLayout" name="verticalLayout_3"> No newline at end of file |
|
215 | 218 | <item> No newline at end of file |
|
216 | 219 | <layout class="QGridLayout" name="gridLayout"> No newline at end of file |
|
217 | 220 | <item row="0" column="0"> No newline at end of file |
|
218 | 221 | <layout class="QVBoxLayout" name="verticalLayout_15"> No newline at end of file |
|
219 | 222 | <item> No newline at end of file |
|
220 | 223 | <widget class="QCheckBox" name="chkDevA"> No newline at end of file |
|
221 | 224 | <property name="text"> No newline at end of file |
|
222 | 225 | <string>Dev A</string> No newline at end of file |
|
223 | 226 | </property> No newline at end of file |
|
224 | 227 | <property name="checked"> No newline at end of file |
|
225 | 228 | <bool>true</bool> No newline at end of file |
|
226 | 229 | </property> No newline at end of file |
|
227 | 230 | </widget> No newline at end of file |
|
228 | 231 | </item> No newline at end of file |
|
229 | 232 | <item> No newline at end of file |
|
230 | 233 | <widget class="QWidget" name="grpDevA" native="true"> No newline at end of file |
|
231 | 234 | <layout class="QVBoxLayout" name="verticalLayout_11"> No newline at end of file |
|
232 | 235 | <item> No newline at end of file |
|
233 | 236 | <widget class="QLineEdit" name="txtDeviceA"/> No newline at end of file |
|
234 | 237 | </item> No newline at end of file |
|
235 | 238 | <item> No newline at end of file |
|
236 | 239 | <widget class="QLineEdit" name="txtBspeedA"> No newline at end of file |
|
237 | 240 | <property name="text"> No newline at end of file |
|
238 | 241 | <string>16</string> No newline at end of file |
|
239 | 242 | </property> No newline at end of file |
|
240 | 243 | </widget> No newline at end of file |
|
241 | 244 | </item> No newline at end of file |
|
242 | 245 | <item> No newline at end of file |
|
243 | 246 | <widget class="QLineEdit" name="txtBmodeA"> No newline at end of file |
|
244 | 247 | <property name="text"> No newline at end of file |
|
245 | 248 | <string>-sao</string> No newline at end of file |
|
246 | 249 | </property> No newline at end of file |
|
247 | 250 | </widget> No newline at end of file |
|
248 | 251 | </item> No newline at end of file |
|
249 | 252 | <item> No newline at end of file |
|
250 | 253 | <widget class="QPushButton" name="btnTdevA"> No newline at end of file |
|
251 | 254 | <property name="text"> No newline at end of file |
|
252 | 255 | <string>Test DevA</string> No newline at end of file |
|
253 | 256 | </property> No newline at end of file |
|
254 | 257 | </widget> No newline at end of file |
|
255 | 258 | </item> No newline at end of file |
|
256 | 259 | </layout> No newline at end of file |
|
257 | 260 | </widget> No newline at end of file |
|
258 | 261 | </item> No newline at end of file |
|
259 | 262 | </layout> No newline at end of file |
|
260 | 263 | </item> No newline at end of file |
|
261 | 264 | <item row="0" column="1"> No newline at end of file |
|
262 | 265 | <layout class="QVBoxLayout" name="verticalLayout_16"> No newline at end of file |
|
263 | 266 | <item> No newline at end of file |
|
264 | 267 | <widget class="QCheckBox" name="chkDevB"> No newline at end of file |
|
265 | 268 | <property name="text"> No newline at end of file |
|
266 | 269 | <string>Dev B</string> No newline at end of file |
|
267 | 270 | </property> No newline at end of file |
|
268 | 271 | <property name="checked"> No newline at end of file |
|
269 | 272 | <bool>true</bool> No newline at end of file |
|
270 | 273 | </property> No newline at end of file |
|
271 | 274 | </widget> No newline at end of file |
|
272 | 275 | </item> No newline at end of file |
|
273 | 276 | <item> No newline at end of file |
|
274 | 277 | <widget class="QWidget" name="grpDevB" native="true"> No newline at end of file |
|
275 | 278 | <layout class="QVBoxLayout" name="verticalLayout_12"> No newline at end of file |
|
276 | 279 | <item> No newline at end of file |
|
277 | 280 | <widget class="QLineEdit" name="txtDeviceB"/> No newline at end of file |
|
278 | 281 | </item> No newline at end of file |
|
279 | 282 | <item> No newline at end of file |
|
280 | 283 | <widget class="QLineEdit" name="txtBspeedB"> No newline at end of file |
|
281 | 284 | <property name="text"> No newline at end of file |
|
282 | 285 | <string>16</string> No newline at end of file |
|
283 | 286 | </property> No newline at end of file |
|
284 | 287 | </widget> No newline at end of file |
|
285 | 288 | </item> No newline at end of file |
|
286 | 289 | <item> No newline at end of file |
|
287 | 290 | <widget class="QLineEdit" name="txtBmodeB"> No newline at end of file |
|
288 | 291 | <property name="text"> No newline at end of file |
|
289 | 292 | <string>-sao</string> No newline at end of file |
|
290 | 293 | </property> No newline at end of file |
|
291 | 294 | </widget> No newline at end of file |
|
292 | 295 | </item> No newline at end of file |
|
293 | 296 | <item> No newline at end of file |
|
294 | 297 | <widget class="QPushButton" name="btnTdevB"> No newline at end of file |
|
295 | 298 | <property name="text"> No newline at end of file |
|
296 | 299 | <string>Test DevB</string> No newline at end of file |
|
297 | 300 | </property> No newline at end of file |
|
298 | 301 | </widget> No newline at end of file |
|
299 | 302 | </item> No newline at end of file |
|
300 | 303 | </layout> No newline at end of file |
|
301 | 304 | </widget> No newline at end of file |
|
302 | 305 | </item> No newline at end of file |
|
303 | 306 | </layout> No newline at end of file |
|
304 | 307 | </item> No newline at end of file |
|
305 | 308 | <item row="0" column="2"> No newline at end of file |
|
306 | 309 | <layout class="QVBoxLayout" name="verticalLayout_17"> No newline at end of file |
|
307 | 310 | <item> No newline at end of file |
|
308 | 311 | <widget class="QCheckBox" name="chkDevC"> No newline at end of file |
|
309 | 312 | <property name="text"> No newline at end of file |
|
310 | 313 | <string>Dev C</string> No newline at end of file |
|
311 | 314 | </property> No newline at end of file |
|
312 | 315 | <property name="checked"> No newline at end of file |
|
313 | 316 | <bool>true</bool> No newline at end of file |
|
314 | 317 | </property> No newline at end of file |
|
315 | 318 | </widget> No newline at end of file |
|
316 | 319 | </item> No newline at end of file |
|
317 | 320 | <item> No newline at end of file |
|
318 | 321 | <widget class="QWidget" name="grpDevC" native="true"> No newline at end of file |
|
319 | 322 | <layout class="QVBoxLayout" name="verticalLayout_13"> No newline at end of file |
|
320 | 323 | <item> No newline at end of file |
|
321 | 324 | <widget class="QLineEdit" name="txtDeviceC"/> No newline at end of file |
|
322 | 325 | </item> No newline at end of file |
|
323 | 326 | <item> No newline at end of file |
|
324 | 327 | <widget class="QLineEdit" name="txtBspeedC"> No newline at end of file |
|
325 | 328 | <property name="text"> No newline at end of file |
|
326 | 329 | <string>16</string> No newline at end of file |
|
327 | 330 | </property> No newline at end of file |
|
328 | 331 | </widget> No newline at end of file |
|
329 | 332 | </item> No newline at end of file |
|
330 | 333 | <item> No newline at end of file |
|
331 | 334 | <widget class="QLineEdit" name="txtBmodeC"> No newline at end of file |
|
332 | 335 | <property name="text"> No newline at end of file |
|
333 | 336 | <string>-sao</string> No newline at end of file |
|
334 | 337 | </property> No newline at end of file |
|
335 | 338 | </widget> No newline at end of file |
|
336 | 339 | </item> No newline at end of file |
|
337 | 340 | <item> No newline at end of file |
|
338 | 341 | <widget class="QPushButton" name="btnTdevC"> No newline at end of file |
|
339 | 342 | <property name="text"> No newline at end of file |
|
340 | 343 | <string>Test DevC</string> No newline at end of file |
|
341 | 344 | </property> No newline at end of file |
|
342 | 345 | </widget> No newline at end of file |
|
343 | 346 | </item> No newline at end of file |
|
344 | 347 | </layout> No newline at end of file |
|
345 | 348 | </widget> No newline at end of file |
|
346 | 349 | </item> No newline at end of file |
|
347 | 350 | </layout> No newline at end of file |
|
348 | 351 | </item> No newline at end of file |
|
349 | 352 | <item row="0" column="3"> No newline at end of file |
|
350 | 353 | <layout class="QVBoxLayout" name="verticalLayout_18"> No newline at end of file |
|
351 | 354 | <item> No newline at end of file |
|
352 | 355 | <widget class="QCheckBox" name="chkDevD"> No newline at end of file |
|
353 | 356 | <property name="text"> No newline at end of file |
|
354 | 357 | <string>Dev D</string> No newline at end of file |
|
355 | 358 | </property> No newline at end of file |
|
356 | 359 | <property name="checked"> No newline at end of file |
|
357 | 360 | <bool>true</bool> No newline at end of file |
|
358 | 361 | </property> No newline at end of file |
|
359 | 362 | </widget> No newline at end of file |
|
360 | 363 | </item> No newline at end of file |
|
361 | 364 | <item> No newline at end of file |
|
362 | 365 | <widget class="QWidget" name="grpDevD" native="true"> No newline at end of file |
|
363 | 366 | <layout class="QVBoxLayout" name="verticalLayout_14"> No newline at end of file |
|
364 | 367 | <item> No newline at end of file |
|
365 | 368 | <widget class="QLineEdit" name="txtDeviceD"/> No newline at end of file |
|
366 | 369 | </item> No newline at end of file |
|
367 | 370 | <item> No newline at end of file |
|
368 | 371 | <widget class="QLineEdit" name="txtBspeedD"> No newline at end of file |
|
369 | 372 | <property name="text"> No newline at end of file |
|
370 | 373 | <string>16</string> No newline at end of file |
|
371 | 374 | </property> No newline at end of file |
|
372 | 375 | </widget> No newline at end of file |
|
373 | 376 | </item> No newline at end of file |
|
374 | 377 | <item> No newline at end of file |
|
375 | 378 | <widget class="QLineEdit" name="txtBmodeD"> No newline at end of file |
|
376 | 379 | <property name="text"> No newline at end of file |
|
377 | 380 | <string>-sao</string> No newline at end of file |
|
378 | 381 | </property> No newline at end of file |
|
379 | 382 | </widget> No newline at end of file |
|
380 | 383 | </item> No newline at end of file |
|
381 | 384 | <item> No newline at end of file |
|
382 | 385 | <widget class="QPushButton" name="btnTdevD"> No newline at end of file |
|
383 | 386 | <property name="text"> No newline at end of file |
|
384 | 387 | <string>Test DevD</string> No newline at end of file |
|
385 | 388 | </property> No newline at end of file |
|
386 | 389 | </widget> No newline at end of file |
|
387 | 390 | </item> No newline at end of file |
|
388 | 391 | </layout> No newline at end of file |
|
389 | 392 | </widget> No newline at end of file |
|
390 | 393 | </item> No newline at end of file |
|
391 | 394 | </layout> No newline at end of file |
|
392 | 395 | </item> No newline at end of file |
|
393 | 396 | <item row="0" column="4"> No newline at end of file |
|
394 | 397 | <layout class="QVBoxLayout" name="verticalLayout_19"> No newline at end of file |
|
395 | 398 | <item> No newline at end of file |
|
396 | 399 | <widget class="QLabel" name="label_2"> No newline at end of file |
|
397 | 400 | <property name="text"> No newline at end of file |
|
398 | 401 | <string/> No newline at end of file |
|
399 | 402 | </property> No newline at end of file |
|
400 | 403 | </widget> No newline at end of file |
|
401 | 404 | </item> No newline at end of file |
|
402 | 405 | <item> No newline at end of file |
|
403 | 406 | <widget class="QLabel" name="lblDevice"> No newline at end of file |
|
404 | 407 | <property name="text"> No newline at end of file |
|
405 | 408 | <string>Device</string> No newline at end of file |
|
406 | 409 | </property> No newline at end of file |
|
407 | 410 | </widget> No newline at end of file |
|
408 | 411 | </item> No newline at end of file |
|
409 | 412 | <item> No newline at end of file |
|
410 | 413 | <widget class="QLabel" name="lblBspeed"> No newline at end of file |
|
411 | 414 | <property name="text"> No newline at end of file |
|
412 | 415 | <string>Burn Speed</string> No newline at end of file |
|
413 | 416 | </property> No newline at end of file |
|
414 | 417 | </widget> No newline at end of file |
|
415 | 418 | </item> No newline at end of file |
|
416 | 419 | <item> No newline at end of file |
|
417 | 420 | <widget class="QLabel" name="lblBmode"> No newline at end of file |
|
418 | 421 | <property name="text"> No newline at end of file |
|
419 | 422 | <string>Burn Mode</string> No newline at end of file |
|
420 | 423 | </property> No newline at end of file |
|
421 | 424 | </widget> No newline at end of file |
|
422 | 425 | </item> No newline at end of file |
|
423 | 426 | <item> No newline at end of file |
|
424 | 427 | <widget class="QLabel" name="label"> No newline at end of file |
|
425 | 428 | <property name="text"> No newline at end of file |
|
426 | 429 | <string/> No newline at end of file |
|
427 | 430 | </property> No newline at end of file |
|
428 | 431 | </widget> No newline at end of file |
|
429 | 432 | </item> No newline at end of file |
|
430 | 433 | </layout> No newline at end of file |
|
431 | 434 | </item> No newline at end of file |
|
432 | 435 | </layout> No newline at end of file |
|
433 | 436 | </item> No newline at end of file |
|
434 | 437 | <item> No newline at end of file |
|
435 | 438 | <layout class="QHBoxLayout" name="horizontalLayout_9"> No newline at end of file |
|
436 | 439 | <property name="sizeConstraint"> No newline at end of file |
|
437 | 440 | <enum>QLayout::SetFixedSize</enum> No newline at end of file |
|
438 | 441 | </property> No newline at end of file |
|
439 | 442 | <item> No newline at end of file |
|
440 | 443 | <widget class="QLabel" name="lblBprocess"> No newline at end of file |
|
441 | 444 | <property name="sizePolicy"> No newline at end of file |
|
442 | 445 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> No newline at end of file |
|
443 | 446 | <horstretch>0</horstretch> No newline at end of file |
|
444 | 447 | <verstretch>0</verstretch> No newline at end of file |
|
445 | 448 | </sizepolicy> No newline at end of file |
|
446 | 449 | </property> No newline at end of file |
|
447 | 450 | <property name="text"> No newline at end of file |
|
448 | 451 | <string>Burning process</string> No newline at end of file |
|
449 | 452 | </property> No newline at end of file |
|
450 | 453 | </widget> No newline at end of file |
|
451 | 454 | </item> No newline at end of file |
|
452 | 455 | <item> No newline at end of file |
|
453 | 456 | <widget class="QCheckBox" name="chkSimultaneously"> No newline at end of file |
|
454 | 457 | <property name="sizePolicy"> No newline at end of file |
|
455 | 458 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> No newline at end of file |
|
456 | 459 | <horstretch>0</horstretch> No newline at end of file |
|
457 | 460 | <verstretch>0</verstretch> No newline at end of file |
|
458 | 461 | </sizepolicy> No newline at end of file |
|
459 | 462 | </property> No newline at end of file |
|
460 | 463 | <property name="text"> No newline at end of file |
|
461 | 464 | <string>Simultaneously</string> No newline at end of file |
|
462 | 465 | </property> No newline at end of file |
|
463 | 466 | </widget> No newline at end of file |
|
464 | 467 | </item> No newline at end of file |
|
465 | 468 | <item> No newline at end of file |
|
466 | 469 | <widget class="QCheckBox" name="chkSequentially"> No newline at end of file |
|
467 | 470 | <property name="sizePolicy"> No newline at end of file |
|
468 | 471 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> No newline at end of file |
|
469 | 472 | <horstretch>0</horstretch> No newline at end of file |
|
470 | 473 | <verstretch>0</verstretch> No newline at end of file |
|
471 | 474 | </sizepolicy> No newline at end of file |
|
472 | 475 | </property> No newline at end of file |
|
473 | 476 | <property name="text"> No newline at end of file |
|
474 | 477 | <string>Sequentially</string> No newline at end of file |
|
475 | 478 | </property> No newline at end of file |
|
476 | 479 | <property name="checked"> No newline at end of file |
|
477 | 480 | <bool>true</bool> No newline at end of file |
|
478 | 481 | </property> No newline at end of file |
|
479 | 482 | </widget> No newline at end of file |
|
480 | 483 | </item> No newline at end of file |
|
481 | 484 | </layout> No newline at end of file |
|
482 | 485 | </item> No newline at end of file |
|
483 | 486 | <item> No newline at end of file |
|
484 | 487 | <layout class="QHBoxLayout" name="horizontalLayout_11"> No newline at end of file |
|
485 | 488 | <property name="spacing"> No newline at end of file |
|
486 | 489 | <number>6</number> No newline at end of file |
|
487 | 490 | </property> No newline at end of file |
|
488 | 491 | <property name="sizeConstraint"> No newline at end of file |
|
489 | 492 | <enum>QLayout::SetDefaultConstraint</enum> No newline at end of file |
|
490 | 493 | </property> No newline at end of file |
|
491 | 494 | <item> No newline at end of file |
|
492 | 495 | <widget class="QLabel" name="lblDcapacity"> No newline at end of file |
|
493 | 496 | <property name="sizePolicy"> No newline at end of file |
|
494 | 497 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> No newline at end of file |
|
495 | 498 | <horstretch>0</horstretch> No newline at end of file |
|
496 | 499 | <verstretch>0</verstretch> No newline at end of file |
|
497 | 500 | </sizepolicy> No newline at end of file |
|
498 | 501 | </property> No newline at end of file |
|
499 | 502 | <property name="text"> No newline at end of file |
|
500 | 503 | <string>Device Capacity</string> No newline at end of file |
|
501 | 504 | </property> No newline at end of file |
|
502 | 505 | </widget> No newline at end of file |
|
503 | 506 | </item> No newline at end of file |
|
504 | 507 | <item> No newline at end of file |
|
505 | 508 | <widget class="QCheckBox" name="chkSalert"> No newline at end of file |
|
506 | 509 | <property name="sizePolicy"> No newline at end of file |
|
507 | 510 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> No newline at end of file |
|
508 | 511 | <horstretch>0</horstretch> No newline at end of file |
|
509 | 512 | <verstretch>0</verstretch> No newline at end of file |
|
510 | 513 | </sizepolicy> No newline at end of file |
|
511 | 514 | </property> No newline at end of file |
|
512 | 515 | <property name="text"> No newline at end of file |
|
513 | 516 | <string>Sound Alert</string> No newline at end of file |
|
514 | 517 | </property> No newline at end of file |
|
515 | 518 | </widget> No newline at end of file |
|
516 | 519 | </item> No newline at end of file |
|
517 | 520 | </layout> No newline at end of file |
|
518 | 521 | </item> No newline at end of file |
|
519 | 522 | <item> No newline at end of file |
|
520 | 523 | <layout class="QHBoxLayout" name="horizontalLayout_10"> No newline at end of file |
|
521 | 524 | <property name="sizeConstraint"> No newline at end of file |
|
522 | 525 | <enum>QLayout::SetFixedSize</enum> No newline at end of file |
|
523 | 526 | </property> No newline at end of file |
|
524 | 527 | <item> No newline at end of file |
|
525 | 528 | <widget class="QComboBox" name="lstDcapacity"> No newline at end of file |
|
526 | 529 | <property name="currentIndex"> No newline at end of file |
|
527 | 530 | <number>2</number> No newline at end of file |
|
528 | 531 | </property> No newline at end of file |
|
529 | 532 | <item> No newline at end of file |
|
530 | 533 | <property name="text"> No newline at end of file |
|
531 | 534 | <string>BluRay [25.0 GB]</string> No newline at end of file |
|
532 | 535 | </property> No newline at end of file |
|
533 | 536 | </item> No newline at end of file |
|
534 | 537 | <item> No newline at end of file |
|
535 | 538 | <property name="text"> No newline at end of file |
|
536 | 539 | <string>DVD2 [8.5 GB]</string> No newline at end of file |
|
537 | 540 | </property> No newline at end of file |
|
538 | 541 | </item> No newline at end of file |
|
539 | 542 | <item> No newline at end of file |
|
540 | 543 | <property name="text"> No newline at end of file |
|
541 | 544 | <string>DVD1 [4.7 GB]</string> No newline at end of file |
|
542 | 545 | </property> No newline at end of file |
|
543 | 546 | </item> No newline at end of file |
|
544 | 547 | <item> No newline at end of file |
|
545 | 548 | <property name="text"> No newline at end of file |
|
546 | 549 | <string>CD [0.7 GB]</string> No newline at end of file |
|
547 | 550 | </property> No newline at end of file |
|
548 | 551 | </item> No newline at end of file |
|
549 | 552 | <item> No newline at end of file |
|
550 | 553 | <property name="text"> No newline at end of file |
|
551 | 554 | <string>Other [? GB]</string> No newline at end of file |
|
552 | 555 | </property> No newline at end of file |
|
553 | 556 | </item> No newline at end of file |
|
554 | 557 | </widget> No newline at end of file |
|
555 | 558 | </item> No newline at end of file |
|
556 | 559 | <item> No newline at end of file |
|
557 | 560 | <widget class="QLineEdit" name="txtDcapacity"> No newline at end of file |
|
558 | 561 | <property name="text"> No newline at end of file |
|
559 | 562 | <string>4482.26928711</string> No newline at end of file |
|
560 | 563 | </property> No newline at end of file |
|
561 | 564 | <property name="readOnly"> No newline at end of file |
|
562 | 565 | <bool>true</bool> No newline at end of file |
|
563 | 566 | </property> No newline at end of file |
|
564 | 567 | </widget> No newline at end of file |
|
565 | 568 | </item> No newline at end of file |
|
566 | 569 | <item> No newline at end of file |
|
567 | 570 | <widget class="QCheckBox" name="chkPSgraphic"> No newline at end of file |
|
568 | 571 | <property name="text"> No newline at end of file |
|
569 | 572 | <string>PS Graphic</string> No newline at end of file |
|
570 | 573 | </property> No newline at end of file |
|
571 | 574 | </widget> No newline at end of file |
|
572 | 575 | </item> No newline at end of file |
|
573 | 576 | <item> No newline at end of file |
|
574 | 577 | <widget class="QLineEdit" name="lineEdit_17"/> No newline at end of file |
|
575 | 578 | </item> No newline at end of file |
|
576 | 579 | </layout> No newline at end of file |
|
577 | 580 | </item> No newline at end of file |
|
578 | 581 | </layout> No newline at end of file |
|
579 | 582 | </widget> No newline at end of file |
|
580 | 583 | <widget class="QWidget" name="tabSburn"> No newline at end of file |
|
581 | 584 | <attribute name="title"> No newline at end of file |
|
582 | 585 | <string>Status Burn</string> No newline at end of file |
|
583 | 586 | </attribute> No newline at end of file |
|
584 | 587 | <layout class="QVBoxLayout" name="verticalLayout_4"> No newline at end of file |
|
585 | 588 | <item> No newline at end of file |
|
586 | 589 | <widget class="QWidget" name="widget_2" native="true"> No newline at end of file |
|
587 | 590 | <property name="sizePolicy"> No newline at end of file |
|
588 | 591 | <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> No newline at end of file |
|
589 | 592 | <horstretch>0</horstretch> No newline at end of file |
|
590 | 593 | <verstretch>0</verstretch> No newline at end of file |
|
591 | 594 | </sizepolicy> No newline at end of file |
|
592 | 595 | </property> No newline at end of file |
|
593 | 596 | <property name="maximumSize"> No newline at end of file |
|
594 | 597 | <size> No newline at end of file |
|
595 | 598 | <width>500</width> No newline at end of file |
|
596 | 599 | <height>16777215</height> No newline at end of file |
|
597 | 600 | </size> No newline at end of file |
|
598 | 601 | </property> No newline at end of file |
|
599 | 602 | <layout class="QGridLayout" name="gridLayout_2"> No newline at end of file |
|
600 | 603 | <item row="3" column="2"> No newline at end of file |
|
601 | 604 | <widget class="QLineEdit" name="txtSTATUSb"/> No newline at end of file |
|
602 | 605 | </item> No newline at end of file |
|
603 | 606 | <item row="5" column="1"> No newline at end of file |
|
604 | 607 | <widget class="QLineEdit" name="txtINFOa"/> No newline at end of file |
|
605 | 608 | </item> No newline at end of file |
|
606 | 609 | <item row="3" column="1"> No newline at end of file |
|
607 | 610 | <widget class="QLineEdit" name="txtSTATUSa"/> No newline at end of file |
|
608 | 611 | </item> No newline at end of file |
|
609 | 612 | <item row="5" column="2"> No newline at end of file |
|
610 | 613 | <widget class="QLineEdit" name="txtINFOb"/> No newline at end of file |
|
611 | 614 | </item> No newline at end of file |
|
612 | 615 | <item row="3" column="3"> No newline at end of file |
|
613 | 616 | <widget class="QLineEdit" name="txtSTATUSc"/> No newline at end of file |
|
614 | 617 | </item> No newline at end of file |
|
615 | 618 | <item row="3" column="4"> No newline at end of file |
|
616 | 619 | <widget class="QLineEdit" name="txtSTATUSd"/> No newline at end of file |
|
617 | 620 | </item> No newline at end of file |
|
618 | 621 | <item row="5" column="4"> No newline at end of file |
|
619 | 622 | <widget class="QLineEdit" name="txtINFOd"/> No newline at end of file |
|
620 | 623 | </item> No newline at end of file |
|
621 | 624 | <item row="6" column="1"> No newline at end of file |
|
622 | 625 | <widget class="QLineEdit" name="txtSETa"/> No newline at end of file |
|
623 | 626 | </item> No newline at end of file |
|
624 | 627 | <item row="6" column="2"> No newline at end of file |
|
625 | 628 | <widget class="QLineEdit" name="txtSETb"/> No newline at end of file |
|
626 | 629 | </item> No newline at end of file |
|
627 | 630 | <item row="6" column="3"> No newline at end of file |
|
628 | 631 | <widget class="QLineEdit" name="txtSETc"/> No newline at end of file |
|
629 | 632 | </item> No newline at end of file |
|
630 | 633 | <item row="6" column="4"> No newline at end of file |
|
631 | 634 | <widget class="QLineEdit" name="txtSETd"/> No newline at end of file |
|
632 | 635 | </item> No newline at end of file |
|
633 | 636 | <item row="3" column="0"> No newline at end of file |
|
634 | 637 | <widget class="QLabel" name="lblSTATUS"> No newline at end of file |
|
635 | 638 | <property name="text"> No newline at end of file |
|
636 | 639 | <string>STATUS</string> No newline at end of file |
|
637 | 640 | </property> No newline at end of file |
|
638 | 641 | </widget> No newline at end of file |
|
639 | 642 | </item> No newline at end of file |
|
640 | 643 | <item row="5" column="0"> No newline at end of file |
|
641 | 644 | <widget class="QLabel" name="lblINFO"> No newline at end of file |
|
642 | 645 | <property name="text"> No newline at end of file |
|
643 | 646 | <string>INFO</string> No newline at end of file |
|
644 | 647 | </property> No newline at end of file |
|
645 | 648 | </widget> No newline at end of file |
|
646 | 649 | </item> No newline at end of file |
|
647 | 650 | <item row="6" column="0"> No newline at end of file |
|
648 | 651 | <widget class="QLabel" name="lblSET"> No newline at end of file |
|
649 | 652 | <property name="text"> No newline at end of file |
|
650 | 653 | <string>SET</string> No newline at end of file |
|
651 | 654 | </property> No newline at end of file |
|
652 | 655 | </widget> No newline at end of file |
|
653 | 656 | </item> No newline at end of file |
|
654 | 657 | <item row="0" column="1"> No newline at end of file |
|
655 | 658 | <widget class="QLabel" name="lblDevA"> No newline at end of file |
|
656 | 659 | <property name="text"> No newline at end of file |
|
657 | 660 | <string>DEV A</string> No newline at end of file |
|
658 | 661 | </property> No newline at end of file |
|
659 | 662 | <property name="alignment"> No newline at end of file |
|
660 | 663 | <set>Qt::AlignCenter</set> No newline at end of file |
|
661 | 664 | </property> No newline at end of file |
|
662 | 665 | </widget> No newline at end of file |
|
663 | 666 | </item> No newline at end of file |
|
664 | 667 | <item row="0" column="2"> No newline at end of file |
|
665 | 668 | <widget class="QLabel" name="lblDevB"> No newline at end of file |
|
666 | 669 | <property name="text"> No newline at end of file |
|
667 | 670 | <string>DEV B</string> No newline at end of file |
|
668 | 671 | </property> No newline at end of file |
|
669 | 672 | <property name="alignment"> No newline at end of file |
|
670 | 673 | <set>Qt::AlignCenter</set> No newline at end of file |
|
671 | 674 | </property> No newline at end of file |
|
672 | 675 | </widget> No newline at end of file |
|
673 | 676 | </item> No newline at end of file |
|
674 | 677 | <item row="0" column="3"> No newline at end of file |
|
675 | 678 | <widget class="QLabel" name="lblDevC"> No newline at end of file |
|
676 | 679 | <property name="text"> No newline at end of file |
|
677 | 680 | <string>DEV C</string> No newline at end of file |
|
678 | 681 | </property> No newline at end of file |
|
679 | 682 | <property name="alignment"> No newline at end of file |
|
680 | 683 | <set>Qt::AlignCenter</set> No newline at end of file |
|
681 | 684 | </property> No newline at end of file |
|
682 | 685 | </widget> No newline at end of file |
|
683 | 686 | </item> No newline at end of file |
|
684 | 687 | <item row="0" column="4"> No newline at end of file |
|
685 | 688 | <widget class="QLabel" name="lblDevD"> No newline at end of file |
|
686 | 689 | <property name="text"> No newline at end of file |
|
687 | 690 | <string>DEV D</string> No newline at end of file |
|
688 | 691 | </property> No newline at end of file |
|
689 | 692 | <property name="alignment"> No newline at end of file |
|
690 | 693 | <set>Qt::AlignCenter</set> No newline at end of file |
|
691 | 694 | </property> No newline at end of file |
|
692 | 695 | </widget> No newline at end of file |
|
693 | 696 | </item> No newline at end of file |
|
694 | 697 | <item row="5" column="3"> No newline at end of file |
|
695 | 698 | <widget class="QLineEdit" name="txtINFOc"/> No newline at end of file |
|
696 | 699 | </item> No newline at end of file |
|
697 | 700 | </layout> No newline at end of file |
|
698 | 701 | </widget> No newline at end of file |
|
699 | 702 | </item> No newline at end of file |
|
700 | 703 | <item> No newline at end of file |
|
701 | 704 | <widget class="QTextEdit" name="txtSburn"/> No newline at end of file |
|
702 | 705 | </item> No newline at end of file |
|
703 | 706 | </layout> No newline at end of file |
|
704 | 707 | </widget> No newline at end of file |
|
705 | 708 | </widget> No newline at end of file |
|
706 | 709 | </item> No newline at end of file |
|
707 | 710 | <item> No newline at end of file |
|
708 | 711 | <widget class="QTextEdit" name="txtInfo"> No newline at end of file |
|
709 | 712 | <property name="readOnly"> No newline at end of file |
|
710 | 713 | <bool>true</bool> No newline at end of file |
|
711 | 714 | </property> No newline at end of file |
|
712 | 715 | </widget> No newline at end of file |
|
713 | 716 | </item> No newline at end of file |
|
714 | 717 | <item> No newline at end of file |
|
715 | 718 | <layout class="QHBoxLayout" name="horizontalLayout_2"> No newline at end of file |
|
716 | 719 | <property name="sizeConstraint"> No newline at end of file |
|
717 | 720 | <enum>QLayout::SetDefaultConstraint</enum> No newline at end of file |
|
718 | 721 | </property> No newline at end of file |
|
719 | 722 | <item> No newline at end of file |
|
720 | 723 | <widget class="QPushButton" name="btnGbkp"> No newline at end of file |
|
721 | 724 | <property name="enabled"> No newline at end of file |
|
722 | 725 | <bool>false</bool> No newline at end of file |
|
723 | 726 | </property> No newline at end of file |
|
724 | 727 | <property name="text"> No newline at end of file |
|
725 | 728 | <string>Generate Bkp</string> No newline at end of file |
|
726 | 729 | </property> No newline at end of file |
|
727 | 730 | </widget> No newline at end of file |
|
728 | 731 | </item> No newline at end of file |
|
729 | 732 | <item> No newline at end of file |
|
730 | 733 | <widget class="QPushButton" name="btnRestart"> No newline at end of file |
|
731 | 734 | <property name="enabled"> No newline at end of file |
|
732 | 735 | <bool>false</bool> No newline at end of file |
|
733 | 736 | </property> No newline at end of file |
|
734 | 737 | <property name="text"> No newline at end of file |
|
735 | 738 | <string>Restart</string> No newline at end of file |
|
736 | 739 | </property> No newline at end of file |
|
737 | 740 | </widget> No newline at end of file |
|
738 | 741 | </item> No newline at end of file |
|
739 | 742 | <item> No newline at end of file |
|
740 | 743 | <widget class="QPushButton" name="btnStartburn"> No newline at end of file |
|
741 | 744 | <property name="enabled"> No newline at end of file |
|
742 | 745 | <bool>false</bool> No newline at end of file |
|
743 | 746 | </property> No newline at end of file |
|
744 | 747 | <property name="text"> No newline at end of file |
|
745 | 748 | <string>Start Burn</string> No newline at end of file |
|
746 | 749 | </property> No newline at end of file |
|
747 | 750 | </widget> No newline at end of file |
|
748 | 751 | </item> No newline at end of file |
|
749 | 752 | <item> No newline at end of file |
|
750 | 753 | <widget class="QPushButton" name="btnStopburn"> No newline at end of file |
|
751 | 754 | <property name="enabled"> No newline at end of file |
|
752 | 755 | <bool>false</bool> No newline at end of file |
|
753 | 756 | </property> No newline at end of file |
|
754 | 757 | <property name="text"> No newline at end of file |
|
755 | 758 | <string>Stop Burn</string> No newline at end of file |
|
756 | 759 | </property> No newline at end of file |
|
757 | 760 | </widget> No newline at end of file |
|
758 | 761 | </item> No newline at end of file |
|
759 | 762 | </layout> No newline at end of file |
|
760 | 763 | </item> No newline at end of file |
|
761 | 764 | </layout> No newline at end of file |
|
762 | 765 | </widget> No newline at end of file |
|
763 | 766 | <widget class="QMenuBar" name="menubar"> No newline at end of file |
|
764 | 767 | <property name="geometry"> No newline at end of file |
|
765 | 768 | <rect> No newline at end of file |
|
766 | 769 | <x>0</x> No newline at end of file |
|
767 | 770 | <y>0</y> |
|
771 | No newline at end of file | |
|
768 | <width>809</width> No newline at end of file | |
|
769 | 772 | <height>21</height> No newline at end of file |
|
770 | 773 | </rect> No newline at end of file |
|
771 | 774 | </property> No newline at end of file |
|
772 | 775 | <widget class="QMenu" name="menuFile"> No newline at end of file |
|
773 | 776 | <property name="title"> No newline at end of file |
|
774 | 777 | <string>File</string> No newline at end of file |
|
775 | 778 | </property> No newline at end of file |
|
776 | 779 | <addaction name="actionSave_Config"/> No newline at end of file |
|
777 | 780 | <addaction name="actionQuit"/> No newline at end of file |
|
778 | 781 | </widget> No newline at end of file |
|
779 | 782 | <widget class="QMenu" name="menuParameters"> No newline at end of file |
|
780 | 783 | <property name="title"> No newline at end of file |
|
781 | 784 | <string>Parameters</string> No newline at end of file |
|
782 | 785 | </property> No newline at end of file |
|
783 | 786 | <addaction name="actionChange_Parameters"/> No newline at end of file |
|
784 | 787 | </widget> No newline at end of file |
|
785 | 788 | <widget class="QMenu" name="menuHelp"> No newline at end of file |
|
786 | 789 | <property name="title"> No newline at end of file |
|
787 | 790 | <string>Help</string> No newline at end of file |
|
788 | 791 | </property> No newline at end of file |
|
789 | 792 | <addaction name="actionAbout"/> No newline at end of file |
|
790 | 793 | </widget> No newline at end of file |
|
791 | 794 | <addaction name="menuFile"/> No newline at end of file |
|
792 | 795 | <addaction name="menuParameters"/> No newline at end of file |
|
793 | 796 | <addaction name="menuHelp"/> No newline at end of file |
|
794 | 797 | </widget> No newline at end of file |
|
795 | 798 | <widget class="QStatusBar" name="statusbar"/> No newline at end of file |
|
796 | 799 | <action name="actionChange_Parameters"> No newline at end of file |
|
797 | 800 | <property name="text"> No newline at end of file |
|
798 | 801 | <string>Change Parameters</string> No newline at end of file |
|
799 | 802 | </property> No newline at end of file |
|
800 | 803 | </action> No newline at end of file |
|
801 | 804 | <action name="actionSave_Config"> No newline at end of file |
|
802 | 805 | <property name="text"> No newline at end of file |
|
803 | 806 | <string>Save Config</string> No newline at end of file |
|
804 | 807 | </property> No newline at end of file |
|
805 | 808 | </action> No newline at end of file |
|
806 | 809 | <action name="actionQuit"> No newline at end of file |
|
807 | 810 | <property name="text"> No newline at end of file |
|
808 | 811 | <string>Quit</string> No newline at end of file |
|
809 | 812 | </property> No newline at end of file |
|
810 | 813 | </action> No newline at end of file |
|
811 | 814 | <action name="actionAbout"> No newline at end of file |
|
812 | 815 | <property name="text"> No newline at end of file |
|
813 | 816 | <string>About</string> No newline at end of file |
|
814 | 817 | </property> No newline at end of file |
|
815 | 818 | </action> No newline at end of file |
|
816 | 819 | </widget> No newline at end of file |
|
817 | 820 | <tabstops> No newline at end of file |
|
818 | 821 | <tabstop>txtDpath</tabstop> No newline at end of file |
|
819 | 822 | <tabstop>btnDpath</tabstop> No newline at end of file |
|
820 | 823 | <tabstop>txtRpath</tabstop> No newline at end of file |
|
821 | 824 | <tabstop>btnRpath</tabstop> No newline at end of file |
|
822 | 825 | <tabstop>lstDtype</tabstop> No newline at end of file |
|
823 | 826 | <tabstop>txtDtype</tabstop> No newline at end of file |
|
824 | 827 | <tabstop>chkMST</tabstop> No newline at end of file |
|
825 | 828 | <tabstop>txtElabel</tabstop> |
|
No newline at end of file | ||
|
826 | <tabstop>txtCopys</tabstop> No newline at end of file | |
|
827 | 829 | <tabstop>lstStartDay</tabstop> No newline at end of file |
|
828 | 830 | <tabstop>lstStopDay</tabstop> No newline at end of file |
|
829 | 831 | <tabstop>chkSimultaneously</tabstop> No newline at end of file |
|
830 | 832 | <tabstop>chkSequentially</tabstop> No newline at end of file |
|
831 | 833 | <tabstop>chkSalert</tabstop> No newline at end of file |
|
832 | 834 | <tabstop>lstDcapacity</tabstop> No newline at end of file |
|
833 | 835 | <tabstop>txtDcapacity</tabstop> No newline at end of file |
|
834 | 836 | <tabstop>chkPSgraphic</tabstop> No newline at end of file |
|
835 | 837 | <tabstop>lineEdit_17</tabstop> No newline at end of file |
|
836 | 838 | <tabstop>txtSTATUSa</tabstop> No newline at end of file |
|
837 | 839 | <tabstop>txtSTATUSb</tabstop> No newline at end of file |
|
838 | 840 | <tabstop>txtSTATUSc</tabstop> No newline at end of file |
|
839 | 841 | <tabstop>txtSTATUSd</tabstop> No newline at end of file |
|
840 | 842 | <tabstop>txtINFOa</tabstop> No newline at end of file |
|
841 | 843 | <tabstop>txtINFOb</tabstop> No newline at end of file |
|
842 | 844 | <tabstop>txtINFOc</tabstop> No newline at end of file |
|
843 | 845 | <tabstop>txtINFOd</tabstop> No newline at end of file |
|
844 | 846 | <tabstop>txtSETa</tabstop> No newline at end of file |
|
845 | 847 | <tabstop>txtSETb</tabstop> No newline at end of file |
|
846 | 848 | <tabstop>txtSETc</tabstop> No newline at end of file |
|
847 | 849 | <tabstop>txtSETd</tabstop> No newline at end of file |
|
848 | 850 | <tabstop>tabWidget</tabstop> No newline at end of file |
|
849 | 851 | <tabstop>txtSburn</tabstop> No newline at end of file |
|
850 | 852 | <tabstop>btnGbkp</tabstop> No newline at end of file |
|
851 | 853 | <tabstop>btnRestart</tabstop> No newline at end of file |
|
852 | 854 | <tabstop>btnStartburn</tabstop> No newline at end of file |
|
853 | 855 | <tabstop>btnStopburn</tabstop> No newline at end of file |
|
854 | 856 | </tabstops> No newline at end of file |
|
855 | 857 | <resources/> No newline at end of file |
|
856 | 858 | <connections> No newline at end of file |
|
857 | 859 | <connection> No newline at end of file |
|
858 | 860 | <sender>chkSequentially</sender> No newline at end of file |
|
859 | 861 | <signal>clicked()</signal> No newline at end of file |
|
860 | 862 | <receiver>chkSimultaneously</receiver> No newline at end of file |
|
861 | 863 | <slot>toggle()</slot> No newline at end of file |
|
862 | 864 | <hints> No newline at end of file |
|
863 | 865 | <hint type="sourcelabel"> No newline at end of file |
|
864 | 866 | <x>635</x> No newline at end of file |
|
865 | 867 | <y>276</y> No newline at end of file |
|
866 | 868 | </hint> No newline at end of file |
|
867 | 869 | <hint type="destinationlabel"> No newline at end of file |
|
868 | 870 | <x>350</x> No newline at end of file |
|
869 | 871 | <y>269</y> No newline at end of file |
|
870 | 872 | </hint> No newline at end of file |
|
871 | 873 | </hints> No newline at end of file |
|
872 | 874 | </connection> No newline at end of file |
|
873 | 875 | <connection> No newline at end of file |
|
874 | 876 | <sender>chkSimultaneously</sender> No newline at end of file |
|
875 | 877 | <signal>clicked()</signal> No newline at end of file |
|
876 | 878 | <receiver>chkSequentially</receiver> No newline at end of file |
|
877 | 879 | <slot>toggle()</slot> No newline at end of file |
|
878 | 880 | <hints> No newline at end of file |
|
879 | 881 | <hint type="sourcelabel"> No newline at end of file |
|
880 | 882 | <x>433</x> No newline at end of file |
|
881 | 883 | <y>276</y> No newline at end of file |
|
882 | 884 | </hint> No newline at end of file |
|
883 | 885 | <hint type="destinationlabel"> No newline at end of file |
|
884 | 886 | <x>635</x> No newline at end of file |
|
885 | 887 | <y>276</y> No newline at end of file |
|
886 | 888 | </hint> No newline at end of file |
|
887 | 889 | </hints> No newline at end of file |
|
888 | 890 | </connection> No newline at end of file |
|
889 | 891 | <connection> No newline at end of file |
|
890 | 892 | <sender>chkDevA</sender> No newline at end of file |
|
891 | 893 | <signal>toggled(bool)</signal> No newline at end of file |
|
892 | 894 | <receiver>grpDevA</receiver> No newline at end of file |
|
893 | 895 | <slot>setEnabled(bool)</slot> No newline at end of file |
|
894 | 896 | <hints> No newline at end of file |
|
895 | 897 | <hint type="sourcelabel"> No newline at end of file |
|
896 | 898 | <x>95</x> No newline at end of file |
|
897 | 899 | <y>86</y> No newline at end of file |
|
898 | 900 | </hint> No newline at end of file |
|
899 | 901 | <hint type="destinationlabel"> No newline at end of file |
|
900 | 902 | <x>95</x> No newline at end of file |
|
901 | 903 | <y>167</y> No newline at end of file |
|
902 | 904 | </hint> No newline at end of file |
|
903 | 905 | </hints> No newline at end of file |
|
904 | 906 | </connection> No newline at end of file |
|
905 | 907 | <connection> No newline at end of file |
|
906 | 908 | <sender>chkDevB</sender> No newline at end of file |
|
907 | 909 | <signal>toggled(bool)</signal> No newline at end of file |
|
908 | 910 | <receiver>grpDevB</receiver> No newline at end of file |
|
909 | 911 | <slot>setEnabled(bool)</slot> No newline at end of file |
|
910 | 912 | <hints> No newline at end of file |
|
911 | 913 | <hint type="sourcelabel"> No newline at end of file |
|
912 | 914 | <x>251</x> No newline at end of file |
|
913 | 915 | <y>86</y> No newline at end of file |
|
914 | 916 | </hint> No newline at end of file |
|
915 | 917 | <hint type="destinationlabel"> No newline at end of file |
|
916 | 918 | <x>251</x> No newline at end of file |
|
917 | 919 | <y>167</y> No newline at end of file |
|
918 | 920 | </hint> No newline at end of file |
|
919 | 921 | </hints> No newline at end of file |
|
920 | 922 | </connection> No newline at end of file |
|
921 | 923 | <connection> No newline at end of file |
|
922 | 924 | <sender>chkDevC</sender> No newline at end of file |
|
923 | 925 | <signal>toggled(bool)</signal> No newline at end of file |
|
924 | 926 | <receiver>grpDevC</receiver> No newline at end of file |
|
925 | 927 | <slot>setEnabled(bool)</slot> No newline at end of file |
|
926 | 928 | <hints> No newline at end of file |
|
927 | 929 | <hint type="sourcelabel"> No newline at end of file |
|
928 | 930 | <x>407</x> No newline at end of file |
|
929 | 931 | <y>86</y> No newline at end of file |
|
930 | 932 | </hint> No newline at end of file |
|
931 | 933 | <hint type="destinationlabel"> No newline at end of file |
|
932 | 934 | <x>407</x> No newline at end of file |
|
933 | 935 | <y>167</y> No newline at end of file |
|
934 | 936 | </hint> No newline at end of file |
|
935 | 937 | </hints> No newline at end of file |
|
936 | 938 | </connection> No newline at end of file |
|
937 | 939 | <connection> No newline at end of file |
|
938 | 940 | <sender>chkDevD</sender> No newline at end of file |
|
939 | 941 | <signal>toggled(bool)</signal> No newline at end of file |
|
940 | 942 | <receiver>grpDevD</receiver> No newline at end of file |
|
941 | 943 | <slot>setEnabled(bool)</slot> No newline at end of file |
|
942 | 944 | <hints> No newline at end of file |
|
943 | 945 | <hint type="sourcelabel"> No newline at end of file |
|
944 | 946 | <x>563</x> No newline at end of file |
|
945 | 947 | <y>86</y> No newline at end of file |
|
946 | 948 | </hint> No newline at end of file |
|
947 | 949 | <hint type="destinationlabel"> No newline at end of file |
|
948 | 950 | <x>563</x> No newline at end of file |
|
949 | 951 | <y>167</y> No newline at end of file |
|
950 | 952 | </hint> No newline at end of file |
|
951 | 953 | </hints> No newline at end of file |
|
952 | 954 | </connection> No newline at end of file |
|
953 | 955 | </connections> No newline at end of file |
|
954 | 956 | </ui> No newline at end of file |
@@ -1,581 +1,584 | |||
|
1 | 1 | # -*- coding: utf-8 -*- No newline at end of file |
|
2 | 2 | No newline at end of file |
|
3 | 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 |
|
4 | 4 | # |
|
5 | No newline at end of file | |
|
5 | # Created: Sun May 16 20:10:40 2010 No newline at end of file | |
|
6 | 6 | # by: PyQt4 UI code generator 4.7.2 No newline at end of file |
|
7 | 7 | # No newline at end of file |
|
8 | 8 | # WARNING! All changes made in this file will be lost! No newline at end of file |
|
9 | 9 | No newline at end of file |
|
10 | 10 | from PyQt4 import QtCore, QtGui No newline at end of file |
|
11 | 11 | No newline at end of file |
|
12 | 12 | class Ui_MainWindow(object): No newline at end of file |
|
13 | 13 | def setupUi(self, MainWindow): No newline at end of file |
|
14 | 14 | MainWindow.setObjectName("MainWindow") |
|
15 | No newline at end of file | |
|
15 | MainWindow.resize(809, 737) No newline at end of file | |
|
16 | 16 | self.centralwidget = QtGui.QWidget(MainWindow) No newline at end of file |
|
17 | 17 | self.centralwidget.setObjectName("centralwidget") No newline at end of file |
|
18 | 18 | self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget) No newline at end of file |
|
19 | 19 | self.verticalLayout.setObjectName("verticalLayout") No newline at end of file |
|
20 | 20 | self.tabWidget = QtGui.QTabWidget(self.centralwidget) No newline at end of file |
|
21 | 21 | self.tabWidget.setEnabled(True) No newline at end of file |
|
22 | 22 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) No newline at end of file |
|
23 | 23 | sizePolicy.setHorizontalStretch(0) No newline at end of file |
|
24 | 24 | sizePolicy.setVerticalStretch(0) No newline at end of file |
|
25 | 25 | sizePolicy.setHeightForWidth(self.tabWidget.sizePolicy().hasHeightForWidth()) No newline at end of file |
|
26 | 26 | self.tabWidget.setSizePolicy(sizePolicy) No newline at end of file |
|
27 | 27 | self.tabWidget.setObjectName("tabWidget") No newline at end of file |
|
28 | 28 | self.tabParameters = QtGui.QWidget() No newline at end of file |
|
29 | 29 | self.tabParameters.setEnabled(True) No newline at end of file |
|
30 | 30 | self.tabParameters.setObjectName("tabParameters") No newline at end of file |
|
31 | 31 | self.verticalLayout_2 = QtGui.QVBoxLayout(self.tabParameters) No newline at end of file |
|
32 | 32 | self.verticalLayout_2.setObjectName("verticalLayout_2") No newline at end of file |
|
33 | 33 | self.horizontalLayout = QtGui.QHBoxLayout() No newline at end of file |
|
34 | 34 | self.horizontalLayout.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint) No newline at end of file |
|
35 | 35 | self.horizontalLayout.setObjectName("horizontalLayout") No newline at end of file |
|
36 | 36 | self.txtDpath = QtGui.QLineEdit(self.tabParameters) No newline at end of file |
|
37 | 37 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) No newline at end of file |
|
38 | 38 | sizePolicy.setHorizontalStretch(0) No newline at end of file |
|
39 | 39 | sizePolicy.setVerticalStretch(0) No newline at end of file |
|
40 | 40 | sizePolicy.setHeightForWidth(self.txtDpath.sizePolicy().hasHeightForWidth()) No newline at end of file |
|
41 | 41 | self.txtDpath.setSizePolicy(sizePolicy) No newline at end of file |
|
42 | 42 | self.txtDpath.setObjectName("txtDpath") No newline at end of file |
|
43 | 43 | self.horizontalLayout.addWidget(self.txtDpath) No newline at end of file |
|
44 | 44 | self.btnDpath = QtGui.QPushButton(self.tabParameters) No newline at end of file |
|
45 | 45 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) No newline at end of file |
|
46 | 46 | sizePolicy.setHorizontalStretch(0) No newline at end of file |
|
47 | 47 | sizePolicy.setVerticalStretch(0) No newline at end of file |
|
48 | 48 | sizePolicy.setHeightForWidth(self.btnDpath.sizePolicy().hasHeightForWidth()) No newline at end of file |
|
49 | 49 | self.btnDpath.setSizePolicy(sizePolicy) No newline at end of file |
|
50 | 50 | self.btnDpath.setCheckable(False) No newline at end of file |
|
51 | 51 | self.btnDpath.setObjectName("btnDpath") No newline at end of file |
|
52 | 52 | self.horizontalLayout.addWidget(self.btnDpath) No newline at end of file |
|
53 | 53 | self.verticalLayout_2.addLayout(self.horizontalLayout) No newline at end of file |
|
54 | 54 | self.horizontalLayout_3 = QtGui.QHBoxLayout() No newline at end of file |
|
55 | 55 | self.horizontalLayout_3.setObjectName("horizontalLayout_3") No newline at end of file |
|
56 | 56 | self.txtRpath = QtGui.QLineEdit(self.tabParameters) No newline at end of file |
|
57 | 57 | self.txtRpath.setObjectName("txtRpath") No newline at end of file |
|
58 | 58 | self.horizontalLayout_3.addWidget(self.txtRpath) No newline at end of file |
|
59 | 59 | self.btnRpath = QtGui.QPushButton(self.tabParameters) No newline at end of file |
|
60 | 60 | self.btnRpath.setObjectName("btnRpath") No newline at end of file |
|
61 | 61 | self.horizontalLayout_3.addWidget(self.btnRpath) No newline at end of file |
|
62 | 62 | self.verticalLayout_2.addLayout(self.horizontalLayout_3) No newline at end of file |
|
63 | 63 | self.lblDtype = QtGui.QLabel(self.tabParameters) No newline at end of file |
|
64 | 64 | self.lblDtype.setObjectName("lblDtype") No newline at end of file |
|
65 | 65 | self.verticalLayout_2.addWidget(self.lblDtype) No newline at end of file |
|
66 | 66 | self.horizontalLayout_4 = QtGui.QHBoxLayout() No newline at end of file |
|
67 | 67 | self.horizontalLayout_4.setObjectName("horizontalLayout_4") No newline at end of file |
|
68 | 68 | self.lstDtype = QtGui.QComboBox(self.tabParameters) No newline at end of file |
|
69 | 69 | self.lstDtype.setObjectName("lstDtype") No newline at end of file |
|
70 | 70 | self.lstDtype.addItem("") No newline at end of file |
|
71 | 71 | self.lstDtype.addItem("") No newline at end of file |
|
72 | 72 | self.lstDtype.addItem("") No newline at end of file |
|
73 | 73 | self.lstDtype.addItem("") No newline at end of file |
|
74 | 74 | self.horizontalLayout_4.addWidget(self.lstDtype) No newline at end of file |
|
75 | 75 | self.txtDtype = QtGui.QLineEdit(self.tabParameters) No newline at end of file |
|
76 | 76 | self.txtDtype.setReadOnly(True) No newline at end of file |
|
77 | 77 | self.txtDtype.setObjectName("txtDtype") No newline at end of file |
|
78 | 78 | self.horizontalLayout_4.addWidget(self.txtDtype) No newline at end of file |
|
79 | 79 | self.chkMST = QtGui.QCheckBox(self.tabParameters) No newline at end of file |
|
80 | 80 | self.chkMST.setObjectName("chkMST") No newline at end of file |
|
81 | 81 | self.horizontalLayout_4.addWidget(self.chkMST) No newline at end of file |
|
82 | 82 | self.verticalLayout_2.addLayout(self.horizontalLayout_4) No newline at end of file |
|
83 | 83 | self.horizontalLayout_6 = QtGui.QHBoxLayout() No newline at end of file |
|
84 | 84 | self.horizontalLayout_6.setObjectName("horizontalLayout_6") No newline at end of file |
|
85 | 85 | self.lblElabel = QtGui.QLabel(self.tabParameters) No newline at end of file |
|
86 | 86 | self.lblElabel.setObjectName("lblElabel") No newline at end of file |
|
87 | 87 | self.horizontalLayout_6.addWidget(self.lblElabel) No newline at end of file |
|
88 | 88 | self.lblCopys = QtGui.QLabel(self.tabParameters) No newline at end of file |
|
89 | 89 | self.lblCopys.setObjectName("lblCopys") No newline at end of file |
|
90 | 90 | self.horizontalLayout_6.addWidget(self.lblCopys) No newline at end of file |
|
91 | 91 | self.verticalLayout_2.addLayout(self.horizontalLayout_6) No newline at end of file |
|
92 | 92 | self.horizontalLayout_5 = QtGui.QHBoxLayout() No newline at end of file |
|
93 | 93 | self.horizontalLayout_5.setObjectName("horizontalLayout_5") No newline at end of file |
|
94 | 94 | self.txtElabel = QtGui.QLineEdit(self.tabParameters) No newline at end of file |
|
95 | 95 | self.txtElabel.setObjectName("txtElabel") No newline at end of file |
|
96 | 96 | self.horizontalLayout_5.addWidget(self.txtElabel) |
|
97 | No newline at end of file | |
|
97 | self.txtCopys = QtGui.QLineEdit(self.tabParameters) No newline at end of file | |
|
No newline at end of file | ||
|
98 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) | |
|
No newline at end of file | ||
|
99 | sizePolicy.setHorizontalStretch(0) | |
|
No newline at end of file | ||
|
100 | sizePolicy.setVerticalStretch(0) | |
|
No newline at end of file | ||
|
101 | sizePolicy.setHeightForWidth(self.txtCopys.sizePolicy().hasHeightForWidth()) | |
|
No newline at end of file | ||
|
102 | self.txtCopys.setSizePolicy(sizePolicy) No newline at end of file | |
|
98 | 103 | self.txtCopys.setObjectName("txtCopys") No newline at end of file |
|
99 | 104 | self.horizontalLayout_5.addWidget(self.txtCopys) No newline at end of file |
|
100 | 105 | self.verticalLayout_2.addLayout(self.horizontalLayout_5) No newline at end of file |
|
101 | 106 | self.horizontalLayout_7 = QtGui.QHBoxLayout() No newline at end of file |
|
102 | 107 | self.horizontalLayout_7.setObjectName("horizontalLayout_7") No newline at end of file |
|
103 | 108 | self.lblStartDay = QtGui.QLabel(self.tabParameters) No newline at end of file |
|
104 | 109 | self.lblStartDay.setObjectName("lblStartDay") No newline at end of file |
|
105 | 110 | self.horizontalLayout_7.addWidget(self.lblStartDay) No newline at end of file |
|
106 | 111 | self.lblStopDay = QtGui.QLabel(self.tabParameters) No newline at end of file |
|
107 | 112 | self.lblStopDay.setObjectName("lblStopDay") No newline at end of file |
|
108 | 113 | self.horizontalLayout_7.addWidget(self.lblStopDay) No newline at end of file |
|
109 | 114 | self.verticalLayout_2.addLayout(self.horizontalLayout_7) No newline at end of file |
|
110 | 115 | self.horizontalLayout_8 = QtGui.QHBoxLayout() No newline at end of file |
|
111 | 116 | self.horizontalLayout_8.setObjectName("horizontalLayout_8") No newline at end of file |
|
112 | 117 | self.lstStartDay = QtGui.QComboBox(self.tabParameters) No newline at end of file |
|
113 | 118 | self.lstStartDay.setObjectName("lstStartDay") No newline at end of file |
|
114 | 119 | self.horizontalLayout_8.addWidget(self.lstStartDay) No newline at end of file |
|
115 | 120 | self.lstStopDay = QtGui.QComboBox(self.tabParameters) No newline at end of file |
|
116 | 121 | self.lstStopDay.setObjectName("lstStopDay") No newline at end of file |
|
117 | 122 | self.horizontalLayout_8.addWidget(self.lstStopDay) No newline at end of file |
|
118 | 123 | self.verticalLayout_2.addLayout(self.horizontalLayout_8) No newline at end of file |
|
119 | 124 | self.tabWidget.addTab(self.tabParameters, "") No newline at end of file |
|
120 | 125 | self.tabDconfig = QtGui.QWidget() No newline at end of file |
|
121 | 126 | self.tabDconfig.setEnabled(True) No newline at end of file |
|
122 | 127 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum) No newline at end of file |
|
123 | 128 | sizePolicy.setHorizontalStretch(0) No newline at end of file |
|
124 | 129 | sizePolicy.setVerticalStretch(0) No newline at end of file |
|
125 | 130 | sizePolicy.setHeightForWidth(self.tabDconfig.sizePolicy().hasHeightForWidth()) No newline at end of file |
|
126 | 131 | self.tabDconfig.setSizePolicy(sizePolicy) No newline at end of file |
|
127 | 132 | self.tabDconfig.setObjectName("tabDconfig") No newline at end of file |
|
128 | 133 | self.verticalLayout_3 = QtGui.QVBoxLayout(self.tabDconfig) No newline at end of file |
|
129 | 134 | self.verticalLayout_3.setObjectName("verticalLayout_3") No newline at end of file |
|
130 | 135 | self.gridLayout = QtGui.QGridLayout() No newline at end of file |
|
131 | 136 | self.gridLayout.setObjectName("gridLayout") No newline at end of file |
|
132 | 137 | self.verticalLayout_15 = QtGui.QVBoxLayout() No newline at end of file |
|
133 | 138 | self.verticalLayout_15.setObjectName("verticalLayout_15") No newline at end of file |
|
134 | 139 | self.chkDevA = QtGui.QCheckBox(self.tabDconfig) No newline at end of file |
|
135 | 140 | self.chkDevA.setChecked(True) No newline at end of file |
|
136 | 141 | self.chkDevA.setObjectName("chkDevA") No newline at end of file |
|
137 | 142 | self.verticalLayout_15.addWidget(self.chkDevA) No newline at end of file |
|
138 | 143 | self.grpDevA = QtGui.QWidget(self.tabDconfig) No newline at end of file |
|
139 | 144 | self.grpDevA.setObjectName("grpDevA") No newline at end of file |
|
140 | 145 | self.verticalLayout_11 = QtGui.QVBoxLayout(self.grpDevA) No newline at end of file |
|
141 | 146 | self.verticalLayout_11.setObjectName("verticalLayout_11") No newline at end of file |
|
142 | 147 | self.txtDeviceA = QtGui.QLineEdit(self.grpDevA) No newline at end of file |
|
143 | 148 | self.txtDeviceA.setObjectName("txtDeviceA") No newline at end of file |
|
144 | 149 | self.verticalLayout_11.addWidget(self.txtDeviceA) No newline at end of file |
|
145 | 150 | self.txtBspeedA = QtGui.QLineEdit(self.grpDevA) No newline at end of file |
|
146 | 151 | self.txtBspeedA.setObjectName("txtBspeedA") No newline at end of file |
|
147 | 152 | self.verticalLayout_11.addWidget(self.txtBspeedA) No newline at end of file |
|
148 | 153 | self.txtBmodeA = QtGui.QLineEdit(self.grpDevA) No newline at end of file |
|
149 | 154 | self.txtBmodeA.setObjectName("txtBmodeA") No newline at end of file |
|
150 | 155 | self.verticalLayout_11.addWidget(self.txtBmodeA) No newline at end of file |
|
151 | 156 | self.btnTdevA = QtGui.QPushButton(self.grpDevA) No newline at end of file |
|
152 | 157 | self.btnTdevA.setObjectName("btnTdevA") No newline at end of file |
|
153 | 158 | self.verticalLayout_11.addWidget(self.btnTdevA) No newline at end of file |
|
154 | 159 | self.verticalLayout_15.addWidget(self.grpDevA) No newline at end of file |
|
155 | 160 | self.gridLayout.addLayout(self.verticalLayout_15, 0, 0, 1, 1) No newline at end of file |
|
156 | 161 | self.verticalLayout_16 = QtGui.QVBoxLayout() No newline at end of file |
|
157 | 162 | self.verticalLayout_16.setObjectName("verticalLayout_16") No newline at end of file |
|
158 | 163 | self.chkDevB = QtGui.QCheckBox(self.tabDconfig) No newline at end of file |
|
159 | 164 | self.chkDevB.setChecked(True) No newline at end of file |
|
160 | 165 | self.chkDevB.setObjectName("chkDevB") No newline at end of file |
|
161 | 166 | self.verticalLayout_16.addWidget(self.chkDevB) No newline at end of file |
|
162 | 167 | self.grpDevB = QtGui.QWidget(self.tabDconfig) No newline at end of file |
|
163 | 168 | self.grpDevB.setObjectName("grpDevB") No newline at end of file |
|
164 | 169 | self.verticalLayout_12 = QtGui.QVBoxLayout(self.grpDevB) No newline at end of file |
|
165 | 170 | self.verticalLayout_12.setObjectName("verticalLayout_12") No newline at end of file |
|
166 | 171 | self.txtDeviceB = QtGui.QLineEdit(self.grpDevB) No newline at end of file |
|
167 | 172 | self.txtDeviceB.setObjectName("txtDeviceB") No newline at end of file |
|
168 | 173 | self.verticalLayout_12.addWidget(self.txtDeviceB) No newline at end of file |
|
169 | 174 | self.txtBspeedB = QtGui.QLineEdit(self.grpDevB) No newline at end of file |
|
170 | 175 | self.txtBspeedB.setObjectName("txtBspeedB") No newline at end of file |
|
171 | 176 | self.verticalLayout_12.addWidget(self.txtBspeedB) No newline at end of file |
|
172 | 177 | self.txtBmodeB = QtGui.QLineEdit(self.grpDevB) No newline at end of file |
|
173 | 178 | self.txtBmodeB.setObjectName("txtBmodeB") No newline at end of file |
|
174 | 179 | self.verticalLayout_12.addWidget(self.txtBmodeB) No newline at end of file |
|
175 | 180 | self.btnTdevB = QtGui.QPushButton(self.grpDevB) No newline at end of file |
|
176 | 181 | self.btnTdevB.setObjectName("btnTdevB") No newline at end of file |
|
177 | 182 | self.verticalLayout_12.addWidget(self.btnTdevB) No newline at end of file |
|
178 | 183 | self.verticalLayout_16.addWidget(self.grpDevB) No newline at end of file |
|
179 | 184 | self.gridLayout.addLayout(self.verticalLayout_16, 0, 1, 1, 1) No newline at end of file |
|
180 | 185 | self.verticalLayout_17 = QtGui.QVBoxLayout() No newline at end of file |
|
181 | 186 | self.verticalLayout_17.setObjectName("verticalLayout_17") No newline at end of file |
|
182 | 187 | self.chkDevC = QtGui.QCheckBox(self.tabDconfig) No newline at end of file |
|
183 | 188 | self.chkDevC.setChecked(True) No newline at end of file |
|
184 | 189 | self.chkDevC.setObjectName("chkDevC") No newline at end of file |
|
185 | 190 | self.verticalLayout_17.addWidget(self.chkDevC) No newline at end of file |
|
186 | 191 | self.grpDevC = QtGui.QWidget(self.tabDconfig) No newline at end of file |
|
187 | 192 | self.grpDevC.setObjectName("grpDevC") No newline at end of file |
|
188 | 193 | self.verticalLayout_13 = QtGui.QVBoxLayout(self.grpDevC) No newline at end of file |
|
189 | 194 | self.verticalLayout_13.setObjectName("verticalLayout_13") No newline at end of file |
|
190 | 195 | self.txtDeviceC = QtGui.QLineEdit(self.grpDevC) No newline at end of file |
|
191 | 196 | self.txtDeviceC.setObjectName("txtDeviceC") No newline at end of file |
|
192 | 197 | self.verticalLayout_13.addWidget(self.txtDeviceC) No newline at end of file |
|
193 | 198 | self.txtBspeedC = QtGui.QLineEdit(self.grpDevC) No newline at end of file |
|
194 | 199 | self.txtBspeedC.setObjectName("txtBspeedC") No newline at end of file |
|
195 | 200 | self.verticalLayout_13.addWidget(self.txtBspeedC) No newline at end of file |
|
196 | 201 | self.txtBmodeC = QtGui.QLineEdit(self.grpDevC) No newline at end of file |
|
197 | 202 | self.txtBmodeC.setObjectName("txtBmodeC") No newline at end of file |
|
198 | 203 | self.verticalLayout_13.addWidget(self.txtBmodeC) No newline at end of file |
|
199 | 204 | self.btnTdevC = QtGui.QPushButton(self.grpDevC) No newline at end of file |
|
200 | 205 | self.btnTdevC.setObjectName("btnTdevC") No newline at end of file |
|
201 | 206 | self.verticalLayout_13.addWidget(self.btnTdevC) No newline at end of file |
|
202 | 207 | self.verticalLayout_17.addWidget(self.grpDevC) No newline at end of file |
|
203 | 208 | self.gridLayout.addLayout(self.verticalLayout_17, 0, 2, 1, 1) No newline at end of file |
|
204 | 209 | self.verticalLayout_18 = QtGui.QVBoxLayout() No newline at end of file |
|
205 | 210 | self.verticalLayout_18.setObjectName("verticalLayout_18") No newline at end of file |
|
206 | 211 | self.chkDevD = QtGui.QCheckBox(self.tabDconfig) No newline at end of file |
|
207 | 212 | self.chkDevD.setChecked(True) No newline at end of file |
|
208 | 213 | self.chkDevD.setObjectName("chkDevD") No newline at end of file |
|
209 | 214 | self.verticalLayout_18.addWidget(self.chkDevD) No newline at end of file |
|
210 | 215 | self.grpDevD = QtGui.QWidget(self.tabDconfig) No newline at end of file |
|
211 | 216 | self.grpDevD.setObjectName("grpDevD") No newline at end of file |
|
212 | 217 | self.verticalLayout_14 = QtGui.QVBoxLayout(self.grpDevD) No newline at end of file |
|
213 | 218 | self.verticalLayout_14.setObjectName("verticalLayout_14") No newline at end of file |
|
214 | 219 | self.txtDeviceD = QtGui.QLineEdit(self.grpDevD) No newline at end of file |
|
215 | 220 | self.txtDeviceD.setObjectName("txtDeviceD") No newline at end of file |
|
216 | 221 | self.verticalLayout_14.addWidget(self.txtDeviceD) No newline at end of file |
|
217 | 222 | self.txtBspeedD = QtGui.QLineEdit(self.grpDevD) No newline at end of file |
|
218 | 223 | self.txtBspeedD.setObjectName("txtBspeedD") No newline at end of file |
|
219 | 224 | self.verticalLayout_14.addWidget(self.txtBspeedD) No newline at end of file |
|
220 | 225 | self.txtBmodeD = QtGui.QLineEdit(self.grpDevD) No newline at end of file |
|
221 | 226 | self.txtBmodeD.setObjectName("txtBmodeD") No newline at end of file |
|
222 | 227 | self.verticalLayout_14.addWidget(self.txtBmodeD) No newline at end of file |
|
223 | 228 | self.btnTdevD = QtGui.QPushButton(self.grpDevD) No newline at end of file |
|
224 | 229 | self.btnTdevD.setObjectName("btnTdevD") No newline at end of file |
|
225 | 230 | self.verticalLayout_14.addWidget(self.btnTdevD) No newline at end of file |
|
226 | 231 | self.verticalLayout_18.addWidget(self.grpDevD) No newline at end of file |
|
227 | 232 | self.gridLayout.addLayout(self.verticalLayout_18, 0, 3, 1, 1) No newline at end of file |
|
228 | 233 | self.verticalLayout_19 = QtGui.QVBoxLayout() No newline at end of file |
|
229 | 234 | self.verticalLayout_19.setObjectName("verticalLayout_19") No newline at end of file |
|
230 | 235 | self.label_2 = QtGui.QLabel(self.tabDconfig) No newline at end of file |
|
231 | 236 | self.label_2.setText("") No newline at end of file |
|
232 | 237 | self.label_2.setObjectName("label_2") No newline at end of file |
|
233 | 238 | self.verticalLayout_19.addWidget(self.label_2) No newline at end of file |
|
234 | 239 | self.lblDevice = QtGui.QLabel(self.tabDconfig) No newline at end of file |
|
235 | 240 | self.lblDevice.setObjectName("lblDevice") No newline at end of file |
|
236 | 241 | self.verticalLayout_19.addWidget(self.lblDevice) No newline at end of file |
|
237 | 242 | self.lblBspeed = QtGui.QLabel(self.tabDconfig) No newline at end of file |
|
238 | 243 | self.lblBspeed.setObjectName("lblBspeed") No newline at end of file |
|
239 | 244 | self.verticalLayout_19.addWidget(self.lblBspeed) No newline at end of file |
|
240 | 245 | self.lblBmode = QtGui.QLabel(self.tabDconfig) No newline at end of file |
|
241 | 246 | self.lblBmode.setObjectName("lblBmode") No newline at end of file |
|
242 | 247 | self.verticalLayout_19.addWidget(self.lblBmode) No newline at end of file |
|
243 | 248 | self.label = QtGui.QLabel(self.tabDconfig) No newline at end of file |
|
244 | 249 | self.label.setText("") No newline at end of file |
|
245 | 250 | self.label.setObjectName("label") No newline at end of file |
|
246 | 251 | self.verticalLayout_19.addWidget(self.label) No newline at end of file |
|
247 | 252 | self.gridLayout.addLayout(self.verticalLayout_19, 0, 4, 1, 1) No newline at end of file |
|
248 | 253 | self.verticalLayout_3.addLayout(self.gridLayout) No newline at end of file |
|
249 | 254 | self.horizontalLayout_9 = QtGui.QHBoxLayout() No newline at end of file |
|
250 | 255 | self.horizontalLayout_9.setSizeConstraint(QtGui.QLayout.SetFixedSize) No newline at end of file |
|
251 | 256 | self.horizontalLayout_9.setObjectName("horizontalLayout_9") No newline at end of file |
|
252 | 257 | self.lblBprocess = QtGui.QLabel(self.tabDconfig) No newline at end of file |
|
253 | 258 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) No newline at end of file |
|
254 | 259 | sizePolicy.setHorizontalStretch(0) No newline at end of file |
|
255 | 260 | sizePolicy.setVerticalStretch(0) No newline at end of file |
|
256 | 261 | sizePolicy.setHeightForWidth(self.lblBprocess.sizePolicy().hasHeightForWidth()) No newline at end of file |
|
257 | 262 | self.lblBprocess.setSizePolicy(sizePolicy) No newline at end of file |
|
258 | 263 | self.lblBprocess.setObjectName("lblBprocess") No newline at end of file |
|
259 | 264 | self.horizontalLayout_9.addWidget(self.lblBprocess) No newline at end of file |
|
260 | 265 | self.chkSimultaneously = QtGui.QCheckBox(self.tabDconfig) No newline at end of file |
|
261 | 266 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) No newline at end of file |
|
262 | 267 | sizePolicy.setHorizontalStretch(0) No newline at end of file |
|
263 | 268 | sizePolicy.setVerticalStretch(0) No newline at end of file |
|
264 | 269 | sizePolicy.setHeightForWidth(self.chkSimultaneously.sizePolicy().hasHeightForWidth()) No newline at end of file |
|
265 | 270 | self.chkSimultaneously.setSizePolicy(sizePolicy) No newline at end of file |
|
266 | 271 | self.chkSimultaneously.setObjectName("chkSimultaneously") No newline at end of file |
|
267 | 272 | self.horizontalLayout_9.addWidget(self.chkSimultaneously) No newline at end of file |
|
268 | 273 | self.chkSequentially = QtGui.QCheckBox(self.tabDconfig) No newline at end of file |
|
269 | 274 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) No newline at end of file |
|
270 | 275 | sizePolicy.setHorizontalStretch(0) No newline at end of file |
|
271 | 276 | sizePolicy.setVerticalStretch(0) No newline at end of file |
|
272 | 277 | sizePolicy.setHeightForWidth(self.chkSequentially.sizePolicy().hasHeightForWidth()) No newline at end of file |
|
273 | 278 | self.chkSequentially.setSizePolicy(sizePolicy) No newline at end of file |
|
274 | 279 | self.chkSequentially.setChecked(True) No newline at end of file |
|
275 | 280 | self.chkSequentially.setObjectName("chkSequentially") No newline at end of file |
|
276 | 281 | self.horizontalLayout_9.addWidget(self.chkSequentially) No newline at end of file |
|
277 | 282 | self.verticalLayout_3.addLayout(self.horizontalLayout_9) No newline at end of file |
|
278 | 283 | self.horizontalLayout_11 = QtGui.QHBoxLayout() No newline at end of file |
|
279 | 284 | self.horizontalLayout_11.setSpacing(6) No newline at end of file |
|
280 | 285 | self.horizontalLayout_11.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint) No newline at end of file |
|
281 | 286 | self.horizontalLayout_11.setObjectName("horizontalLayout_11") No newline at end of file |
|
282 | 287 | self.lblDcapacity = QtGui.QLabel(self.tabDconfig) No newline at end of file |
|
283 | 288 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) No newline at end of file |
|
284 | 289 | sizePolicy.setHorizontalStretch(0) No newline at end of file |
|
285 | 290 | sizePolicy.setVerticalStretch(0) No newline at end of file |
|
286 | 291 | sizePolicy.setHeightForWidth(self.lblDcapacity.sizePolicy().hasHeightForWidth()) No newline at end of file |
|
287 | 292 | self.lblDcapacity.setSizePolicy(sizePolicy) No newline at end of file |
|
288 | 293 | self.lblDcapacity.setObjectName("lblDcapacity") No newline at end of file |
|
289 | 294 | self.horizontalLayout_11.addWidget(self.lblDcapacity) No newline at end of file |
|
290 | 295 | self.chkSalert = QtGui.QCheckBox(self.tabDconfig) No newline at end of file |
|
291 | 296 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) No newline at end of file |
|
292 | 297 | sizePolicy.setHorizontalStretch(0) No newline at end of file |
|
293 | 298 | sizePolicy.setVerticalStretch(0) No newline at end of file |
|
294 | 299 | sizePolicy.setHeightForWidth(self.chkSalert.sizePolicy().hasHeightForWidth()) No newline at end of file |
|
295 | 300 | self.chkSalert.setSizePolicy(sizePolicy) No newline at end of file |
|
296 | 301 | self.chkSalert.setObjectName("chkSalert") No newline at end of file |
|
297 | 302 | self.horizontalLayout_11.addWidget(self.chkSalert) No newline at end of file |
|
298 | 303 | self.verticalLayout_3.addLayout(self.horizontalLayout_11) No newline at end of file |
|
299 | 304 | self.horizontalLayout_10 = QtGui.QHBoxLayout() No newline at end of file |
|
300 | 305 | self.horizontalLayout_10.setSizeConstraint(QtGui.QLayout.SetFixedSize) No newline at end of file |
|
301 | 306 | self.horizontalLayout_10.setObjectName("horizontalLayout_10") No newline at end of file |
|
302 | 307 | self.lstDcapacity = QtGui.QComboBox(self.tabDconfig) No newline at end of file |
|
303 | 308 | self.lstDcapacity.setObjectName("lstDcapacity") No newline at end of file |
|
304 | 309 | self.lstDcapacity.addItem("") No newline at end of file |
|
305 | 310 | self.lstDcapacity.addItem("") No newline at end of file |
|
306 | 311 | self.lstDcapacity.addItem("") No newline at end of file |
|
307 | 312 | self.lstDcapacity.addItem("") No newline at end of file |
|
308 | 313 | self.lstDcapacity.addItem("") No newline at end of file |
|
309 | 314 | self.horizontalLayout_10.addWidget(self.lstDcapacity) No newline at end of file |
|
310 | 315 | self.txtDcapacity = QtGui.QLineEdit(self.tabDconfig) No newline at end of file |
|
311 | 316 | self.txtDcapacity.setReadOnly(True) No newline at end of file |
|
312 | 317 | self.txtDcapacity.setObjectName("txtDcapacity") No newline at end of file |
|
313 | 318 | self.horizontalLayout_10.addWidget(self.txtDcapacity) No newline at end of file |
|
314 | 319 | self.chkPSgraphic = QtGui.QCheckBox(self.tabDconfig) No newline at end of file |
|
315 | 320 | self.chkPSgraphic.setObjectName("chkPSgraphic") No newline at end of file |
|
316 | 321 | self.horizontalLayout_10.addWidget(self.chkPSgraphic) No newline at end of file |
|
317 | 322 | self.lineEdit_17 = QtGui.QLineEdit(self.tabDconfig) No newline at end of file |
|
318 | 323 | self.lineEdit_17.setObjectName("lineEdit_17") No newline at end of file |
|
319 | 324 | self.horizontalLayout_10.addWidget(self.lineEdit_17) No newline at end of file |
|
320 | 325 | self.verticalLayout_3.addLayout(self.horizontalLayout_10) No newline at end of file |
|
321 | 326 | self.tabWidget.addTab(self.tabDconfig, "") No newline at end of file |
|
322 | 327 | self.tabSburn = QtGui.QWidget() No newline at end of file |
|
323 | 328 | self.tabSburn.setObjectName("tabSburn") No newline at end of file |
|
324 | 329 | self.verticalLayout_4 = QtGui.QVBoxLayout(self.tabSburn) No newline at end of file |
|
325 | 330 | self.verticalLayout_4.setObjectName("verticalLayout_4") No newline at end of file |
|
326 | 331 | self.widget_2 = QtGui.QWidget(self.tabSburn) No newline at end of file |
|
327 | 332 | sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum) No newline at end of file |
|
328 | 333 | sizePolicy.setHorizontalStretch(0) No newline at end of file |
|
329 | 334 | sizePolicy.setVerticalStretch(0) No newline at end of file |
|
330 | 335 | sizePolicy.setHeightForWidth(self.widget_2.sizePolicy().hasHeightForWidth()) No newline at end of file |
|
331 | 336 | self.widget_2.setSizePolicy(sizePolicy) No newline at end of file |
|
332 | 337 | self.widget_2.setMaximumSize(QtCore.QSize(500, 16777215)) No newline at end of file |
|
333 | 338 | self.widget_2.setObjectName("widget_2") No newline at end of file |
|
334 | 339 | self.gridLayout_2 = QtGui.QGridLayout(self.widget_2) No newline at end of file |
|
335 | 340 | self.gridLayout_2.setObjectName("gridLayout_2") No newline at end of file |
|
336 | 341 | self.txtSTATUSb = QtGui.QLineEdit(self.widget_2) No newline at end of file |
|
337 | 342 | self.txtSTATUSb.setObjectName("txtSTATUSb") No newline at end of file |
|
338 | 343 | self.gridLayout_2.addWidget(self.txtSTATUSb, 3, 2, 1, 1) No newline at end of file |
|
339 | 344 | self.txtINFOa = QtGui.QLineEdit(self.widget_2) No newline at end of file |
|
340 | 345 | self.txtINFOa.setObjectName("txtINFOa") No newline at end of file |
|
341 | 346 | self.gridLayout_2.addWidget(self.txtINFOa, 5, 1, 1, 1) No newline at end of file |
|
342 | 347 | self.txtSTATUSa = QtGui.QLineEdit(self.widget_2) No newline at end of file |
|
343 | 348 | self.txtSTATUSa.setObjectName("txtSTATUSa") No newline at end of file |
|
344 | 349 | self.gridLayout_2.addWidget(self.txtSTATUSa, 3, 1, 1, 1) No newline at end of file |
|
345 | 350 | self.txtINFOb = QtGui.QLineEdit(self.widget_2) No newline at end of file |
|
346 | 351 | self.txtINFOb.setObjectName("txtINFOb") No newline at end of file |
|
347 | 352 | self.gridLayout_2.addWidget(self.txtINFOb, 5, 2, 1, 1) No newline at end of file |
|
348 | 353 | self.txtSTATUSc = QtGui.QLineEdit(self.widget_2) No newline at end of file |
|
349 | 354 | self.txtSTATUSc.setObjectName("txtSTATUSc") No newline at end of file |
|
350 | 355 | self.gridLayout_2.addWidget(self.txtSTATUSc, 3, 3, 1, 1) No newline at end of file |
|
351 | 356 | self.txtSTATUSd = QtGui.QLineEdit(self.widget_2) No newline at end of file |
|
352 | 357 | self.txtSTATUSd.setObjectName("txtSTATUSd") No newline at end of file |
|
353 | 358 | self.gridLayout_2.addWidget(self.txtSTATUSd, 3, 4, 1, 1) No newline at end of file |
|
354 | 359 | self.txtINFOd = QtGui.QLineEdit(self.widget_2) No newline at end of file |
|
355 | 360 | self.txtINFOd.setObjectName("txtINFOd") No newline at end of file |
|
356 | 361 | self.gridLayout_2.addWidget(self.txtINFOd, 5, 4, 1, 1) No newline at end of file |
|
357 | 362 | self.txtSETa = QtGui.QLineEdit(self.widget_2) No newline at end of file |
|
358 | 363 | self.txtSETa.setObjectName("txtSETa") No newline at end of file |
|
359 | 364 | self.gridLayout_2.addWidget(self.txtSETa, 6, 1, 1, 1) No newline at end of file |
|
360 | 365 | self.txtSETb = QtGui.QLineEdit(self.widget_2) No newline at end of file |
|
361 | 366 | self.txtSETb.setObjectName("txtSETb") No newline at end of file |
|
362 | 367 | self.gridLayout_2.addWidget(self.txtSETb, 6, 2, 1, 1) No newline at end of file |
|
363 | 368 | self.txtSETc = QtGui.QLineEdit(self.widget_2) No newline at end of file |
|
364 | 369 | self.txtSETc.setObjectName("txtSETc") No newline at end of file |
|
365 | 370 | self.gridLayout_2.addWidget(self.txtSETc, 6, 3, 1, 1) No newline at end of file |
|
366 | 371 | self.txtSETd = QtGui.QLineEdit(self.widget_2) No newline at end of file |
|
367 | 372 | self.txtSETd.setObjectName("txtSETd") No newline at end of file |
|
368 | 373 | self.gridLayout_2.addWidget(self.txtSETd, 6, 4, 1, 1) No newline at end of file |
|
369 | 374 | self.lblSTATUS = QtGui.QLabel(self.widget_2) No newline at end of file |
|
370 | 375 | self.lblSTATUS.setObjectName("lblSTATUS") No newline at end of file |
|
371 | 376 | self.gridLayout_2.addWidget(self.lblSTATUS, 3, 0, 1, 1) No newline at end of file |
|
372 | 377 | self.lblINFO = QtGui.QLabel(self.widget_2) No newline at end of file |
|
373 | 378 | self.lblINFO.setObjectName("lblINFO") No newline at end of file |
|
374 | 379 | self.gridLayout_2.addWidget(self.lblINFO, 5, 0, 1, 1) No newline at end of file |
|
375 | 380 | self.lblSET = QtGui.QLabel(self.widget_2) No newline at end of file |
|
376 | 381 | self.lblSET.setObjectName("lblSET") No newline at end of file |
|
377 | 382 | self.gridLayout_2.addWidget(self.lblSET, 6, 0, 1, 1) No newline at end of file |
|
378 | 383 | self.lblDevA = QtGui.QLabel(self.widget_2) No newline at end of file |
|
379 | 384 | self.lblDevA.setAlignment(QtCore.Qt.AlignCenter) No newline at end of file |
|
380 | 385 | self.lblDevA.setObjectName("lblDevA") No newline at end of file |
|
381 | 386 | self.gridLayout_2.addWidget(self.lblDevA, 0, 1, 1, 1) No newline at end of file |
|
382 | 387 | self.lblDevB = QtGui.QLabel(self.widget_2) No newline at end of file |
|
383 | 388 | self.lblDevB.setAlignment(QtCore.Qt.AlignCenter) No newline at end of file |
|
384 | 389 | self.lblDevB.setObjectName("lblDevB") No newline at end of file |
|
385 | 390 | self.gridLayout_2.addWidget(self.lblDevB, 0, 2, 1, 1) No newline at end of file |
|
386 | 391 | self.lblDevC = QtGui.QLabel(self.widget_2) No newline at end of file |
|
387 | 392 | self.lblDevC.setAlignment(QtCore.Qt.AlignCenter) No newline at end of file |
|
388 | 393 | self.lblDevC.setObjectName("lblDevC") No newline at end of file |
|
389 | 394 | self.gridLayout_2.addWidget(self.lblDevC, 0, 3, 1, 1) No newline at end of file |
|
390 | 395 | self.lblDevD = QtGui.QLabel(self.widget_2) No newline at end of file |
|
391 | 396 | self.lblDevD.setAlignment(QtCore.Qt.AlignCenter) No newline at end of file |
|
392 | 397 | self.lblDevD.setObjectName("lblDevD") No newline at end of file |
|
393 | 398 | self.gridLayout_2.addWidget(self.lblDevD, 0, 4, 1, 1) No newline at end of file |
|
394 | 399 | self.txtINFOc = QtGui.QLineEdit(self.widget_2) No newline at end of file |
|
395 | 400 | self.txtINFOc.setObjectName("txtINFOc") No newline at end of file |
|
396 | 401 | self.gridLayout_2.addWidget(self.txtINFOc, 5, 3, 1, 1) No newline at end of file |
|
397 | 402 | self.verticalLayout_4.addWidget(self.widget_2) No newline at end of file |
|
398 | 403 | self.txtSburn = QtGui.QTextEdit(self.tabSburn) No newline at end of file |
|
399 | 404 | self.txtSburn.setObjectName("txtSburn") No newline at end of file |
|
400 | 405 | self.verticalLayout_4.addWidget(self.txtSburn) No newline at end of file |
|
401 | 406 | self.tabWidget.addTab(self.tabSburn, "") No newline at end of file |
|
402 | 407 | self.verticalLayout.addWidget(self.tabWidget) No newline at end of file |
|
403 | 408 | self.txtInfo = QtGui.QTextEdit(self.centralwidget) No newline at end of file |
|
404 | 409 | self.txtInfo.setReadOnly(True) No newline at end of file |
|
405 | 410 | self.txtInfo.setObjectName("txtInfo") No newline at end of file |
|
406 | 411 | self.verticalLayout.addWidget(self.txtInfo) No newline at end of file |
|
407 | 412 | self.horizontalLayout_2 = QtGui.QHBoxLayout() No newline at end of file |
|
408 | 413 | self.horizontalLayout_2.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint) No newline at end of file |
|
409 | 414 | self.horizontalLayout_2.setObjectName("horizontalLayout_2") No newline at end of file |
|
410 | 415 | self.btnGbkp = QtGui.QPushButton(self.centralwidget) No newline at end of file |
|
411 | 416 | self.btnGbkp.setEnabled(False) No newline at end of file |
|
412 | 417 | self.btnGbkp.setObjectName("btnGbkp") No newline at end of file |
|
413 | 418 | self.horizontalLayout_2.addWidget(self.btnGbkp) No newline at end of file |
|
414 | 419 | self.btnRestart = QtGui.QPushButton(self.centralwidget) No newline at end of file |
|
415 | 420 | self.btnRestart.setEnabled(False) No newline at end of file |
|
416 | 421 | self.btnRestart.setObjectName("btnRestart") No newline at end of file |
|
417 | 422 | self.horizontalLayout_2.addWidget(self.btnRestart) No newline at end of file |
|
418 | 423 | self.btnStartburn = QtGui.QPushButton(self.centralwidget) No newline at end of file |
|
419 | 424 | self.btnStartburn.setEnabled(False) No newline at end of file |
|
420 | 425 | self.btnStartburn.setObjectName("btnStartburn") No newline at end of file |
|
421 | 426 | self.horizontalLayout_2.addWidget(self.btnStartburn) No newline at end of file |
|
422 | 427 | self.btnStopburn = QtGui.QPushButton(self.centralwidget) No newline at end of file |
|
423 | 428 | self.btnStopburn.setEnabled(False) No newline at end of file |
|
424 | 429 | self.btnStopburn.setObjectName("btnStopburn") No newline at end of file |
|
425 | 430 | self.horizontalLayout_2.addWidget(self.btnStopburn) No newline at end of file |
|
426 | 431 | self.verticalLayout.addLayout(self.horizontalLayout_2) No newline at end of file |
|
427 | 432 | MainWindow.setCentralWidget(self.centralwidget) No newline at end of file |
|
428 | 433 | self.menubar = QtGui.QMenuBar(MainWindow) |
|
434 | No newline at end of file | |
|
429 | self.menubar.setGeometry(QtCore.QRect(0, 0, 809, 21)) No newline at end of file | |
|
430 | 435 | self.menubar.setObjectName("menubar") No newline at end of file |
|
431 | 436 | self.menuFile = QtGui.QMenu(self.menubar) No newline at end of file |
|
432 | 437 | self.menuFile.setObjectName("menuFile") No newline at end of file |
|
433 | 438 | self.menuParameters = QtGui.QMenu(self.menubar) No newline at end of file |
|
434 | 439 | self.menuParameters.setObjectName("menuParameters") No newline at end of file |
|
435 | 440 | self.menuHelp = QtGui.QMenu(self.menubar) No newline at end of file |
|
436 | 441 | self.menuHelp.setObjectName("menuHelp") No newline at end of file |
|
437 | 442 | MainWindow.setMenuBar(self.menubar) No newline at end of file |
|
438 | 443 | self.statusbar = QtGui.QStatusBar(MainWindow) No newline at end of file |
|
439 | 444 | self.statusbar.setObjectName("statusbar") No newline at end of file |
|
440 | 445 | MainWindow.setStatusBar(self.statusbar) No newline at end of file |
|
441 | 446 | self.actionChange_Parameters = QtGui.QAction(MainWindow) No newline at end of file |
|
442 | 447 | self.actionChange_Parameters.setObjectName("actionChange_Parameters") No newline at end of file |
|
443 | 448 | self.actionSave_Config = QtGui.QAction(MainWindow) No newline at end of file |
|
444 | 449 | self.actionSave_Config.setObjectName("actionSave_Config") No newline at end of file |
|
445 | 450 | self.actionQuit = QtGui.QAction(MainWindow) No newline at end of file |
|
446 | 451 | self.actionQuit.setObjectName("actionQuit") No newline at end of file |
|
447 | 452 | self.actionAbout = QtGui.QAction(MainWindow) No newline at end of file |
|
448 | 453 | self.actionAbout.setObjectName("actionAbout") No newline at end of file |
|
449 | 454 | self.menuFile.addAction(self.actionSave_Config) No newline at end of file |
|
450 | 455 | self.menuFile.addAction(self.actionQuit) No newline at end of file |
|
451 | 456 | self.menuParameters.addAction(self.actionChange_Parameters) No newline at end of file |
|
452 | 457 | self.menuHelp.addAction(self.actionAbout) No newline at end of file |
|
453 | 458 | self.menubar.addAction(self.menuFile.menuAction()) No newline at end of file |
|
454 | 459 | self.menubar.addAction(self.menuParameters.menuAction()) No newline at end of file |
|
455 | 460 | self.menubar.addAction(self.menuHelp.menuAction()) No newline at end of file |
|
456 | 461 | No newline at end of file |
|
457 | 462 | self.retranslateUi(MainWindow) No newline at end of file |
|
458 | 463 | self.tabWidget.setCurrentIndex(0) No newline at end of file |
|
459 | 464 | self.lstDcapacity.setCurrentIndex(2) No newline at end of file |
|
460 | 465 | QtCore.QObject.connect(self.chkSequentially, QtCore.SIGNAL("clicked()"), self.chkSimultaneously.toggle) No newline at end of file |
|
461 | 466 | QtCore.QObject.connect(self.chkSimultaneously, QtCore.SIGNAL("clicked()"), self.chkSequentially.toggle) No newline at end of file |
|
462 | 467 | QtCore.QObject.connect(self.chkDevA, QtCore.SIGNAL("toggled(bool)"), self.grpDevA.setEnabled) No newline at end of file |
|
463 | 468 | QtCore.QObject.connect(self.chkDevB, QtCore.SIGNAL("toggled(bool)"), self.grpDevB.setEnabled) No newline at end of file |
|
464 | 469 | QtCore.QObject.connect(self.chkDevC, QtCore.SIGNAL("toggled(bool)"), self.grpDevC.setEnabled) No newline at end of file |
|
465 | 470 | QtCore.QObject.connect(self.chkDevD, QtCore.SIGNAL("toggled(bool)"), self.grpDevD.setEnabled) No newline at end of file |
|
466 | 471 | QtCore.QMetaObject.connectSlotsByName(MainWindow) No newline at end of file |
|
467 | 472 | MainWindow.setTabOrder(self.txtDpath, self.btnDpath) No newline at end of file |
|
468 | 473 | MainWindow.setTabOrder(self.btnDpath, self.txtRpath) No newline at end of file |
|
469 | 474 | MainWindow.setTabOrder(self.txtRpath, self.btnRpath) No newline at end of file |
|
470 | 475 | MainWindow.setTabOrder(self.btnRpath, self.lstDtype) No newline at end of file |
|
471 | 476 | MainWindow.setTabOrder(self.lstDtype, self.txtDtype) No newline at end of file |
|
472 | 477 | MainWindow.setTabOrder(self.txtDtype, self.chkMST) No newline at end of file |
|
473 | 478 | MainWindow.setTabOrder(self.chkMST, self.txtElabel) |
|
479 | No newline at end of file | |
|
474 | MainWindow.setTabOrder(self.txtElabel, self.txtCopys) | |
|
No newline at end of file | ||
|
475 | MainWindow.setTabOrder(self.txtCopys, self.lstStartDay) No newline at end of file | |
|
476 | 480 | MainWindow.setTabOrder(self.lstStartDay, self.lstStopDay) No newline at end of file |
|
477 | 481 | MainWindow.setTabOrder(self.lstStopDay, self.chkSimultaneously) No newline at end of file |
|
478 | 482 | MainWindow.setTabOrder(self.chkSimultaneously, self.chkSequentially) No newline at end of file |
|
479 | 483 | MainWindow.setTabOrder(self.chkSequentially, self.chkSalert) No newline at end of file |
|
480 | 484 | MainWindow.setTabOrder(self.chkSalert, self.lstDcapacity) No newline at end of file |
|
481 | 485 | MainWindow.setTabOrder(self.lstDcapacity, self.txtDcapacity) No newline at end of file |
|
482 | 486 | MainWindow.setTabOrder(self.txtDcapacity, self.chkPSgraphic) No newline at end of file |
|
483 | 487 | MainWindow.setTabOrder(self.chkPSgraphic, self.lineEdit_17) No newline at end of file |
|
484 | 488 | MainWindow.setTabOrder(self.lineEdit_17, self.txtSTATUSa) No newline at end of file |
|
485 | 489 | MainWindow.setTabOrder(self.txtSTATUSa, self.txtSTATUSb) No newline at end of file |
|
486 | 490 | MainWindow.setTabOrder(self.txtSTATUSb, self.txtSTATUSc) No newline at end of file |
|
487 | 491 | MainWindow.setTabOrder(self.txtSTATUSc, self.txtSTATUSd) No newline at end of file |
|
488 | 492 | MainWindow.setTabOrder(self.txtSTATUSd, self.txtINFOa) No newline at end of file |
|
489 | 493 | MainWindow.setTabOrder(self.txtINFOa, self.txtINFOb) No newline at end of file |
|
490 | 494 | MainWindow.setTabOrder(self.txtINFOb, self.txtINFOc) No newline at end of file |
|
491 | 495 | MainWindow.setTabOrder(self.txtINFOc, self.txtINFOd) No newline at end of file |
|
492 | 496 | MainWindow.setTabOrder(self.txtINFOd, self.txtSETa) No newline at end of file |
|
493 | 497 | MainWindow.setTabOrder(self.txtSETa, self.txtSETb) No newline at end of file |
|
494 | 498 | MainWindow.setTabOrder(self.txtSETb, self.txtSETc) No newline at end of file |
|
495 | 499 | MainWindow.setTabOrder(self.txtSETc, self.txtSETd) No newline at end of file |
|
496 | 500 | MainWindow.setTabOrder(self.txtSETd, self.tabWidget) No newline at end of file |
|
497 | 501 | MainWindow.setTabOrder(self.tabWidget, self.txtSburn) No newline at end of file |
|
498 | 502 | MainWindow.setTabOrder(self.txtSburn, self.btnGbkp) No newline at end of file |
|
499 | 503 | MainWindow.setTabOrder(self.btnGbkp, self.btnRestart) No newline at end of file |
|
500 | 504 | MainWindow.setTabOrder(self.btnRestart, self.btnStartburn) No newline at end of file |
|
501 | 505 | MainWindow.setTabOrder(self.btnStartburn, self.btnStopburn) No newline at end of file |
|
502 | 506 | No newline at end of file |
|
503 | 507 | def retranslateUi(self, MainWindow): No newline at end of file |
|
504 | 508 | MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "JRO BACKUP MANAGER", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
505 | 509 | self.btnDpath.setText(QtGui.QApplication.translate("MainWindow", "Data Path", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
506 | 510 | self.btnRpath.setText(QtGui.QApplication.translate("MainWindow", "Resource Path", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
507 | 511 | self.lblDtype.setText(QtGui.QApplication.translate("MainWindow", "Data Type", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
508 | 512 | self.lstDtype.setItemText(0, QtGui.QApplication.translate("MainWindow", "Raw Data", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
509 | 513 | self.lstDtype.setItemText(1, QtGui.QApplication.translate("MainWindow", "Process Data", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
510 | 514 | self.lstDtype.setItemText(2, QtGui.QApplication.translate("MainWindow", "BLTR Data", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
511 | 515 | self.lstDtype.setItemText(3, QtGui.QApplication.translate("MainWindow", "Other", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
512 | 516 | self.txtDtype.setText(QtGui.QApplication.translate("MainWindow", "r", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
513 | 517 | self.chkMST.setText(QtGui.QApplication.translate("MainWindow", "MST-ISR Data", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
514 | 518 | self.lblElabel.setText(QtGui.QApplication.translate("MainWindow", "Exp. Label at device", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
515 | 519 | self.lblCopys.setText(QtGui.QApplication.translate("MainWindow", "Copys", None, QtGui.QApplication.UnicodeUTF8)) |
|
No newline at end of file | ||
|
516 | self.txtCopys.setText(QtGui.QApplication.translate("MainWindow", "0", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file | |
|
517 | 520 | self.lblStartDay.setText(QtGui.QApplication.translate("MainWindow", "Start Day:", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
518 | 521 | self.lblStopDay.setText(QtGui.QApplication.translate("MainWindow", "Stop Day:", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
519 | 522 | self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabParameters), QtGui.QApplication.translate("MainWindow", "Parameters", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
520 | 523 | self.chkDevA.setText(QtGui.QApplication.translate("MainWindow", "Dev A", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
521 | 524 | self.txtBspeedA.setText(QtGui.QApplication.translate("MainWindow", "16", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
522 | 525 | self.txtBmodeA.setText(QtGui.QApplication.translate("MainWindow", "-sao", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
523 | 526 | self.btnTdevA.setText(QtGui.QApplication.translate("MainWindow", "Test DevA", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
524 | 527 | self.chkDevB.setText(QtGui.QApplication.translate("MainWindow", "Dev B", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
525 | 528 | self.txtBspeedB.setText(QtGui.QApplication.translate("MainWindow", "16", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
526 | 529 | self.txtBmodeB.setText(QtGui.QApplication.translate("MainWindow", "-sao", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
527 | 530 | self.btnTdevB.setText(QtGui.QApplication.translate("MainWindow", "Test DevB", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
528 | 531 | self.chkDevC.setText(QtGui.QApplication.translate("MainWindow", "Dev C", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
529 | 532 | self.txtBspeedC.setText(QtGui.QApplication.translate("MainWindow", "16", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
530 | 533 | self.txtBmodeC.setText(QtGui.QApplication.translate("MainWindow", "-sao", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
531 | 534 | self.btnTdevC.setText(QtGui.QApplication.translate("MainWindow", "Test DevC", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
532 | 535 | self.chkDevD.setText(QtGui.QApplication.translate("MainWindow", "Dev D", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
533 | 536 | self.txtBspeedD.setText(QtGui.QApplication.translate("MainWindow", "16", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
534 | 537 | self.txtBmodeD.setText(QtGui.QApplication.translate("MainWindow", "-sao", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
535 | 538 | self.btnTdevD.setText(QtGui.QApplication.translate("MainWindow", "Test DevD", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
536 | 539 | self.lblDevice.setText(QtGui.QApplication.translate("MainWindow", "Device", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
537 | 540 | self.lblBspeed.setText(QtGui.QApplication.translate("MainWindow", "Burn Speed", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
538 | 541 | self.lblBmode.setText(QtGui.QApplication.translate("MainWindow", "Burn Mode", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
539 | 542 | self.lblBprocess.setText(QtGui.QApplication.translate("MainWindow", "Burning process", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
540 | 543 | self.chkSimultaneously.setText(QtGui.QApplication.translate("MainWindow", "Simultaneously", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
541 | 544 | self.chkSequentially.setText(QtGui.QApplication.translate("MainWindow", "Sequentially", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
542 | 545 | self.lblDcapacity.setText(QtGui.QApplication.translate("MainWindow", "Device Capacity", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
543 | 546 | self.chkSalert.setText(QtGui.QApplication.translate("MainWindow", "Sound Alert", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
544 | 547 | self.lstDcapacity.setItemText(0, QtGui.QApplication.translate("MainWindow", "BluRay [25.0 GB]", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
545 | 548 | self.lstDcapacity.setItemText(1, QtGui.QApplication.translate("MainWindow", "DVD2 [8.5 GB]", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
546 | 549 | self.lstDcapacity.setItemText(2, QtGui.QApplication.translate("MainWindow", "DVD1 [4.7 GB]", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
547 | 550 | self.lstDcapacity.setItemText(3, QtGui.QApplication.translate("MainWindow", "CD [0.7 GB]", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
548 | 551 | self.lstDcapacity.setItemText(4, QtGui.QApplication.translate("MainWindow", "Other [? GB]", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
549 | 552 | self.txtDcapacity.setText(QtGui.QApplication.translate("MainWindow", "4482.26928711", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
550 | 553 | self.chkPSgraphic.setText(QtGui.QApplication.translate("MainWindow", "PS Graphic", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
551 | 554 | self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabDconfig), QtGui.QApplication.translate("MainWindow", "Device Config.", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
552 | 555 | self.lblSTATUS.setText(QtGui.QApplication.translate("MainWindow", "STATUS", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
553 | 556 | self.lblINFO.setText(QtGui.QApplication.translate("MainWindow", "INFO", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
554 | 557 | self.lblSET.setText(QtGui.QApplication.translate("MainWindow", "SET", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
555 | 558 | self.lblDevA.setText(QtGui.QApplication.translate("MainWindow", "DEV A", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
556 | 559 | self.lblDevB.setText(QtGui.QApplication.translate("MainWindow", "DEV B", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
557 | 560 | self.lblDevC.setText(QtGui.QApplication.translate("MainWindow", "DEV C", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
558 | 561 | self.lblDevD.setText(QtGui.QApplication.translate("MainWindow", "DEV D", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
559 | 562 | self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabSburn), QtGui.QApplication.translate("MainWindow", "Status Burn", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
560 | 563 | self.btnGbkp.setText(QtGui.QApplication.translate("MainWindow", "Generate Bkp", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
561 | 564 | self.btnRestart.setText(QtGui.QApplication.translate("MainWindow", "Restart", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
562 | 565 | self.btnStartburn.setText(QtGui.QApplication.translate("MainWindow", "Start Burn", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
563 | 566 | self.btnStopburn.setText(QtGui.QApplication.translate("MainWindow", "Stop Burn", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
564 | 567 | self.menuFile.setTitle(QtGui.QApplication.translate("MainWindow", "File", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
565 | 568 | self.menuParameters.setTitle(QtGui.QApplication.translate("MainWindow", "Parameters", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
566 | 569 | self.menuHelp.setTitle(QtGui.QApplication.translate("MainWindow", "Help", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
567 | 570 | self.actionChange_Parameters.setText(QtGui.QApplication.translate("MainWindow", "Change Parameters", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
568 | 571 | self.actionSave_Config.setText(QtGui.QApplication.translate("MainWindow", "Save Config", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
569 | 572 | self.actionQuit.setText(QtGui.QApplication.translate("MainWindow", "Quit", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
570 | 573 | self.actionAbout.setText(QtGui.QApplication.translate("MainWindow", "About", None, QtGui.QApplication.UnicodeUTF8)) No newline at end of file |
|
571 | 574 | No newline at end of file |
|
572 | 575 | No newline at end of file |
|
573 | 576 | if __name__ == "__main__": No newline at end of file |
|
574 | 577 | import sys No newline at end of file |
|
575 | 578 | app = QtGui.QApplication(sys.argv) No newline at end of file |
|
576 | 579 | MainWindow = QtGui.QMainWindow() No newline at end of file |
|
577 | 580 | ui = Ui_MainWindow() No newline at end of file |
|
578 | 581 | ui.setupUi(MainWindow) No newline at end of file |
|
579 | 582 | MainWindow.show() No newline at end of file |
|
580 | 583 | sys.exit(app.exec_()) No newline at end of file |
|
581 | 584 | No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now