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)
def _startup(self): if not NodeManager.start(): QMessageBox.critical(self, "Fatal error", "Failed to start an instance of node_manager.") self.reject()