Пример #1
0
 def dependencyCheck(self):
     self.signals.status.emit("Checking dependencies...")
     msg = CfdTools.checkCfdDependencies()
     if not msg:
         self.signals.status.emit("No missing dependencies detected")
     else:
         self.signals.status.emit(msg)
Пример #2
0
 def runDependencyChecker(self):
     # Temporarily apply the foam dir selection
     CfdTools.setFoamDir(self.foam_dir)
     QApplication.setOverrideCursor(Qt.WaitCursor)
     self.consoleMessage("Checking dependencies...")
     msg = CfdTools.checkCfdDependencies()
     if not msg:
         self.consoleMessage("No missing dependencies detected")
     else:
         self.consoleMessage(msg)
     CfdTools.setFoamDir(self.initial_foam_dir)
     QApplication.restoreOverrideCursor()