From 1e8f53e81fd6d2186331c33ca89eaae742a94ae7 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 30 Dec 2012 05:07:44 +0000 Subject: [PATCH] Carla: Show warning dialog explainin incomplete status --- src/carla.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/carla.py b/src/carla.py index d61d241..ad404b0 100755 --- a/src/carla.py +++ b/src/carla.py @@ -1166,6 +1166,8 @@ class CarlaMainW(QMainWindow, ui_carla.Ui_CarlaMainW): else: QTimer.singleShot(0, self, SLOT("slot_engine_start()")) + QTimer.singleShot(0, self, SLOT("slot_showInitialWarning()")) + def loadProjectLater(self): QTimer.singleShot(0, self.load_project) @@ -1264,6 +1266,15 @@ class CarlaMainW(QMainWindow, ui_carla.Ui_CarlaMainW): #self.m_curEdit = widget + @pyqtSlot() + def slot_showInitialWarning(self): + QMessageBox.warning(self, self.tr("Carla is incomplete"), self.tr("" + "The version of Carla you're currently running is incomplete.\n" + "Although most things work fine, Carla is not yet in a stable state.\n" + "\n" + "It will be fully functional for the next Cadence beta release." + "")) + @pyqtSlot() def slot_engine_start(self): self.startEngine()