Пример #1
0
 def update_timer_text(self):
     if self.mesh_obj.Proxy.mesh_process.state(
     ) == QtCore.QProcess.ProcessState.Running:
         self.form.l_time.setText('Time: ' +
                                  CfdTools.formatTimer(time.time() -
                                                       self.Start))
Пример #2
0
 def updateText(self):
     if self.solver_object.Proxy.solver_process.state(
     ) == QtCore.QProcess.ProcessState.Running:
         self.form.l_time.setText('Time: ' +
                                  CfdTools.formatTimer(time.time() -
                                                       self.Start))