##// END OF EJS Templates
***
ralonso -
r52:53
parent child
Show More
@@ -20,7 +20,7
20 20 self.statusDpath = True No newline at end of file
21 21 self.statusRpath = True No newline at end of file
22 22 self.lstDcapacity.setCurrentIndex(4)
23 No newline at end of file
23 self.txtDcapacity.setValue(100.0) No newline at end of file
24 24 self.txtDcapacity.setReadOnly(False) No newline at end of file
25 25 No newline at end of file
26 26 No newline at end of file
@@ -65,17 +65,19
65 65 self.var_process = QtCore.QProcess() No newline at end of file
66 66 self.connect(self.var_process, QtCore.SIGNAL('readyReadStandardOutput()'), self.readOuput) No newline at end of file
67 67 self.connect(self.var_process, QtCore.SIGNAL('readyReadStandardError()'), self.readError) No newline at end of file
68 self.connect(self.var_process, QtCore.SIGNAL('finished(int,QProcess::ExitStatus)'), self.finished1) No newline at end of file
68 69 No newline at end of file
69 70 def readOuput(self):
71 No newline at end of file
70 self.txtSburn.append(QtCore.QString(self.var_process.readAllStandardOutput())) No newline at end of file
71 72 No newline at end of file
72 73 def readError(self):
74 No newline at end of file
73 self.txtSburn.append(QtCore.QString(self.var_process.readAllStandardError())) No newline at end of file
No newline at end of file
75
No newline at end of file
76 def finished1(self):
No newline at end of file
77 self.txtInfo.append("proceso terminado finished()")
No newline at end of file
78 print self.var_process.exitCode() No newline at end of file
74 79 No newline at end of file
75 80 def write(self, txt):
No newline at end of file
76 """
No newline at end of file
77 Escribe la salida estandar eb txtInfo
No newline at end of file
78 """ No newline at end of file
79 81 self.txtInfo.append(str(txt)) No newline at end of file
80 82 No newline at end of file
81 83 No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now