From 05de80920118454a0e08b6a41e6ee5eb81d09a8e Mon Sep 17 00:00:00 2001 From: fahim Date: Mon, 2 Mar 2015 15:38:40 +0530 Subject: Subject: Changes name from ecSim to eSim Description: Changes name from ecSim to eSim --- src/projManagement/Kicad.py | 2 +- src/projManagement/Kicad.pyc | Bin 3148 -> 3142 bytes src/projManagement/Validation.py | 4 +--- src/projManagement/Validation.pyc | Bin 1619 -> 1613 bytes src/projManagement/Worker.py | 2 +- src/projManagement/Worker.pyc | Bin 1263 -> 1257 bytes src/projManagement/newProject.py | 16 +++++++++++++--- src/projManagement/newProject.pyc | Bin 3622 -> 3836 bytes src/projManagement/openProject.py | 2 +- src/projManagement/openProject.pyc | Bin 1735 -> 1731 bytes 10 files changed, 17 insertions(+), 9 deletions(-) (limited to 'src/projManagement') diff --git a/src/projManagement/Kicad.py b/src/projManagement/Kicad.py index bbd7664b..71e66064 100644 --- a/src/projManagement/Kicad.py +++ b/src/projManagement/Kicad.py @@ -11,7 +11,7 @@ # BUGS: --- # NOTES: --- # AUTHOR: Fahim Khan, fahim.elex@gmail.com -# ORGANIZATION: ecSim team at FOSSEE, IIT Bombay. +# ORGANIZATION: eSim team at FOSSEE, IIT Bombay. # CREATED: Tuesday 17 Feb 2015 # REVISION: --- #=============================================================================== diff --git a/src/projManagement/Kicad.pyc b/src/projManagement/Kicad.pyc index 89aabd2d..273ea5d7 100644 Binary files a/src/projManagement/Kicad.pyc and b/src/projManagement/Kicad.pyc differ diff --git a/src/projManagement/Validation.py b/src/projManagement/Validation.py index a9da3101..323b509c 100644 --- a/src/projManagement/Validation.py +++ b/src/projManagement/Validation.py @@ -12,7 +12,7 @@ # BUGS: --- # NOTES: --- # AUTHOR: Fahim Khan, fahim.elex@gmail.com -# ORGANIZATION: ecSim team at FOSSEE, IIT Bombay. +# ORGANIZATION: eSim team at FOSSEE, IIT Bombay. # CREATED: Wednesday 12 February 2015 # REVISION: --- #=============================================================================== @@ -45,9 +45,7 @@ class Validation: if os.path.exists(projDir): return "CHECKEXIST" #Project with name already exist else: - #Check Proper name for project. It should not have space - if re.search(r"\s",projDir ): return "CHECKNAME" else: diff --git a/src/projManagement/Validation.pyc b/src/projManagement/Validation.pyc index 42291553..690e016e 100644 Binary files a/src/projManagement/Validation.pyc and b/src/projManagement/Validation.pyc differ diff --git a/src/projManagement/Worker.py b/src/projManagement/Worker.py index be7f323e..00cad6a4 100644 --- a/src/projManagement/Worker.py +++ b/src/projManagement/Worker.py @@ -11,7 +11,7 @@ # BUGS: --- # NOTES: --- # AUTHOR: Fahim Khan, fahim.elex@gmail.com -# ORGANIZATION: ecSim team at FOSSEE, IIT Bombay. +# ORGANIZATION: eSim team at FOSSEE, IIT Bombay. # CREATED: Tuesday 24 Feb 2015 # REVISION: --- #=============================================================================== diff --git a/src/projManagement/Worker.pyc b/src/projManagement/Worker.pyc index 3751f2cc..c8e30b8f 100644 Binary files a/src/projManagement/Worker.pyc and b/src/projManagement/Worker.pyc differ diff --git a/src/projManagement/newProject.py b/src/projManagement/newProject.py index f496b490..c76acdc1 100644 --- a/src/projManagement/newProject.py +++ b/src/projManagement/newProject.py @@ -12,7 +12,7 @@ # BUGS: --- # NOTES: --- # AUTHOR: Fahim Khan, fahim.elex@gmail.com -# ORGANIZATION: ecSim team at FOSSEE, IIT Bombay. +# ORGANIZATION: eSim team at FOSSEE, IIT Bombay. # CREATED: Wednesday 12 February 2015 # REVISION: --- #=============================================================================== @@ -67,10 +67,14 @@ class NewProjectInfo(QtGui.QWidget): self.projDir = os.path.join(self.workspace,str(self.projName)) - + print "Project Name:",self.projName #Validation for newProject - self.reply = self.obj_validation.validateNewproj(str(self.projDir)) + if self.projName == "": + self.reply = "NONE" + else: + self.reply = self.obj_validation.validateNewproj(str(self.projDir)) + #Checking Validations Response if self.reply == "VALID": print "Validated : Creating project directory" #create project directory @@ -103,6 +107,12 @@ class NewProjectInfo(QtGui.QWidget): self.msg.showMessage('The project name should not contain space between them') self.msg.setWindowTitle("Error Message") + elif self.reply == "NONE": + print "Empyt Project Name" + self.msg = QtGui.QErrorMessage(self) + self.msg.showMessage('The project name cannot be empty') + self.msg.setWindowTitle("Error Message") + def cancelProject(self): self.close() diff --git a/src/projManagement/newProject.pyc b/src/projManagement/newProject.pyc index 16e13e75..16e965d3 100644 Binary files a/src/projManagement/newProject.pyc and b/src/projManagement/newProject.pyc differ diff --git a/src/projManagement/openProject.py b/src/projManagement/openProject.py index 2949da45..a5342901 100644 --- a/src/projManagement/openProject.py +++ b/src/projManagement/openProject.py @@ -12,7 +12,7 @@ # BUGS: --- # NOTES: --- # AUTHOR: Fahim Khan, fahim.elex@gmail.com -# ORGANIZATION: ecSim team at FOSSEE, IIT Bombay. +# ORGANIZATION: eSim team at FOSSEE, IIT Bombay. # CREATED: Wednesday 12 February 2015 # REVISION: --- #=============================================================================== diff --git a/src/projManagement/openProject.pyc b/src/projManagement/openProject.pyc index c97b7919..d9c56fee 100644 Binary files a/src/projManagement/openProject.pyc and b/src/projManagement/openProject.pyc differ -- cgit