##// END OF EJS Templates
***
ralonso -
r29:30
parent child
Show More
@@ -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"
@@ -7,7 +7,7
7 <x>0</x> No newline at end of file
7 <x>0</x>
8 <y>0</y> No newline at end of file
8 <y>0</y>
9 <width>745</width>
9 <width>745</width>
No newline at end of file
10 <height>766</height> No newline at end of file
10 <height>787</height> No newline at end of file
11 </rect> No newline at end of file
11 </rect>
12 </property> No newline at end of file
12 </property>
13 <property name="windowTitle"> No newline at end of file
13 <property name="windowTitle">
@@ -2,7 +2,7
2 No newline at end of file
2
3 # Form implementation generated from reading ui file '/home/ricardoar/principal/JRO_SVN/eric4/jro_backup_manager/ui/MainWindow.ui' No newline at end of file
3 # Form implementation generated from reading ui file '/home/ricardoar/principal/JRO_SVN/eric4/jro_backup_manager/ui/MainWindow.ui'
4 #
4 #
No newline at end of file
5 # Created: Tue May 4 12:02:35 2010 No newline at end of file
5 # Created: Thu Apr 29 14:19:34 2010 No newline at end of file
6 # by: PyQt4 UI code generator 4.7.3 No newline at end of file
6 # by: PyQt4 UI code generator 4.7.3
7 # No newline at end of file
7 #
8 # WARNING! All changes made in this file will be lost! No newline at end of file
8 # WARNING! All changes made in this file will be lost!
General Comments 0
You need to be logged in to leave comments. Login now