Beispiel #1
0
 def _configure(self):
     self.buttons.setEnabled(False)
     args = [(Atom("event_dispatcher"), self.dispatcherSpinBox.value()),
             (Atom("scheduler"), self.schedulerSpinBox.value()),
             (Atom("car"), self.carSpinBox.value()),
             (Atom("team"), self.teamSpinBox.value()),
             (Atom("weather"), self.weatherSpinBox.value())]
     NodeManager.configure(self._configureDone, args)
Beispiel #2
0
 def _startup(self):
     if not NodeManager.start():
         QMessageBox.critical(self, "Fatal error", "Failed to start an instance of node_manager.")
         self.reject()