|
@@
-23,40
+23,58
|
|
23
|
QMainWindow.__init__(self, parent)
No newline at end of file
|
|
23
|
QMainWindow.__init__(self, parent)
|
|
24
|
self.setupUi(self)
No newline at end of file
|
|
24
|
self.setupUi(self)
|
|
25
|
self.setupUi2()
No newline at end of file
|
|
25
|
self.setupUi2()
|
|
|
|
|
26
|
|
|
|
|
|
|
No newline at end of file
|
|
|
|
|
27
|
#redirige salida estandar
No newline at end of file
|
|
26
|
sys.stdout = self
No newline at end of file
|
|
28
|
sys.stdout = self
|
|
27
|
No newline at end of file
|
|
29
|
|
|
28
|
No newline at end of file
|
|
30
|
|
|
29
|
def setupUi2(self):
No newline at end of file
|
|
31
|
def setupUi2(self):
|
|
|
|
|
32
|
"""
|
|
|
|
|
|
No newline at end of file
|
|
|
|
|
33
|
Se usa para inicializar ciertos parametros para pruebas
|
|
|
|
|
|
No newline at end of file
|
|
|
|
|
34
|
"""
No newline at end of file
|
|
30
|
self.txtDpath.setText('/home/ricardoar/optional/STORAGE/EW_DRIFTS')
No newline at end of file
|
|
35
|
self.txtDpath.setText('/home/ricardoar/optional/STORAGE/EW_DRIFTS')
|
|
31
|
self.txtRpath.setText('/home/ricardoar/optional/STORAGE/prueba1_jro_backup_manager')
No newline at end of file
|
|
36
|
self.txtRpath.setText('/home/ricardoar/optional/STORAGE/prueba1_jro_backup_manager')
|
|
32
|
self.txtElabel.setText('EW_DRIFTS')
No newline at end of file
|
|
37
|
self.txtElabel.setText('EW_DRIFTS')
|
|
|
|
|
38
|
self.statusDpath = False
|
|
|
|
|
|
No newline at end of file
|
|
|
|
|
39
|
self.statusRpath = False
No newline at end of file
|
|
33
|
No newline at end of file
|
|
40
|
|
|
34
|
def write(self, txt):
No newline at end of file
|
|
41
|
def write(self, txt):
|
|
|
|
|
42
|
"""
|
|
|
|
|
|
No newline at end of file
|
|
|
|
|
43
|
Escribe la salida estandar eb txtInfo
|
|
|
|
|
|
No newline at end of file
|
|
|
|
|
44
|
"""
No newline at end of file
|
|
35
|
self.txtInfo.append(str(txt))
No newline at end of file
|
|
45
|
self.txtInfo.append(str(txt))
|
|
36
|
No newline at end of file
|
|
46
|
|
|
37
|
No newline at end of file
|
|
47
|
|
|
38
|
@pyqtSignature("")
No newline at end of file
|
|
48
|
@pyqtSignature("")
|
|
39
|
def on_btnDpath_clicked(self):
No newline at end of file
|
|
49
|
def on_btnDpath_clicked(self):
|
|
40
|
"""
|
|
50
|
"""
|
|
|
No newline at end of file
|
|
51
|
Permite seleccionar graficamente el direcorio de los datos a grabar
No newline at end of file
|
|
41
|
Slot documentation goes here.
No newline at end of file
|
|
|
|
|
42
|
"""
No newline at end of file
|
|
52
|
"""
|
|
43
|
var_Dpath= QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly)
No newline at end of file
|
|
53
|
var_Dpath= QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly)
|
|
44
|
self.txtDpath.setText(var_Dpath)
No newline at end of file
|
|
54
|
self.txtDpath.setText(var_Dpath)
|
|
|
|
|
55
|
|
|
|
|
|
|
No newline at end of file
|
|
|
|
|
56
|
#llamada a funcion
No newline at end of file
|
|
45
|
self.on_txtDpath_editingFinished()
No newline at end of file
|
|
57
|
self.on_txtDpath_editingFinished()
|
|
46
|
No newline at end of file
|
|
58
|
|
|
47
|
No newline at end of file
|
|
59
|
|
|
48
|
@pyqtSignature("")
No newline at end of file
|
|
60
|
@pyqtSignature("")
|
|
49
|
def on_btnRpath_clicked(self):
No newline at end of file
|
|
61
|
def on_btnRpath_clicked(self):
|
|
50
|
"""
|
|
62
|
"""
|
|
|
No newline at end of file
|
|
63
|
Permite seleccionar graficamente el direcorio del proyecto
No newline at end of file
|
|
51
|
Slot documentation goes here.
No newline at end of file
|
|
|
|
|
52
|
"""
No newline at end of file
|
|
64
|
"""
|
|
53
|
var_Rpath = QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly)
No newline at end of file
|
|
65
|
var_Rpath = QtGui.QFileDialog.getExistingDirectory(self, 'Open Directory', './', QtGui.QFileDialog.ShowDirsOnly)
|
|
54
|
self.txtRpath.setText(var_Rpath)
No newline at end of file
|
|
66
|
self.txtRpath.setText(var_Rpath)
|
|
|
|
|
67
|
|
|
|
|
|
|
No newline at end of file
|
|
|
|
|
68
|
#llamada a funcion
No newline at end of file
|
|
55
|
self.on_txtRpath_editingFinished()
No newline at end of file
|
|
69
|
self.on_txtRpath_editingFinished()
|
|
56
|
No newline at end of file
|
|
70
|
|
|
57
|
No newline at end of file
|
|
71
|
|
|
58
|
@pyqtSignature("")
No newline at end of file
|
|
72
|
@pyqtSignature("")
|
|
59
|
def on_txtDpath_editingFinished(self):
No newline at end of file
|
|
73
|
def on_txtDpath_editingFinished(self):
|
|
|
|
|
74
|
"""
|
|
|
|
|
|
No newline at end of file
|
|
|
|
|
75
|
Permite buscar los archivos de extension seleccionada en la ruta de de datos
|
|
|
|
|
|
No newline at end of file
|
|
|
|
|
76
|
y cargar los valores para el rango de tiempo a ser grabado
|
|
|
|
|
|
No newline at end of file
|
|
|
|
|
77
|
"""
No newline at end of file
|
|
60
|
No newline at end of file
|
|
78
|
|
|
61
|
#Usando el modulo "subprocess", eric4 pide seleccion del tipo de subproceso (padre o hijo)
No newline at end of file
|
|
79
|
#Usando el modulo "subprocess", eric4 pide seleccion del tipo de subproceso (padre o hijo)
|
|
62
|
#por ello se prefiere usar el modulo "commands"
No newline at end of file
|
|
80
|
#por ello se prefiere usar el modulo "commands"
|