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/configuration/Appconfig.py | 4 ++-- src/configuration/Appconfig.pyc | Bin 1308 -> 1304 bytes src/frontEnd/Application.py | 2 +- src/frontEnd/ViewManagement.py | 2 +- src/frontEnd/ViewManagement.pyc | Bin 3038 -> 3032 bytes src/frontEnd/Workspace.py | 2 +- src/frontEnd/Workspace.pyc | Bin 3476 -> 3469 bytes 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 17 files changed, 22 insertions(+), 14 deletions(-) diff --git a/src/configuration/Appconfig.py b/src/configuration/Appconfig.py index d1b82166..542c0b3f 100644 --- a/src/configuration/Appconfig.py +++ b/src/configuration/Appconfig.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: Wednesday 04 February 2015 # REVISION: --- #=============================================================================== @@ -37,7 +37,7 @@ class Appconfig(QtGui.QWidget): def __init__(self): super(Appconfig, self).__init__() #Application Details - self._APPLICATION = 'ecSim' + self._APPLICATION = 'eSim' self._VERSION = 'v1.1' self._AUTHOR = 'Fahim' diff --git a/src/configuration/Appconfig.pyc b/src/configuration/Appconfig.pyc index b4cbb31a..4c19546d 100644 Binary files a/src/configuration/Appconfig.pyc and b/src/configuration/Appconfig.pyc differ diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py index ff1ffb2a..2113ff9e 100755 --- a/src/frontEnd/Application.py +++ b/src/frontEnd/Application.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 21 January 2015 # REVISION: --- #=============================================================================== diff --git a/src/frontEnd/ViewManagement.py b/src/frontEnd/ViewManagement.py index e1d91d21..c1c5a4d5 100755 --- a/src/frontEnd/ViewManagement.py +++ b/src/frontEnd/ViewManagement.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 27 January 2015 # REVISION: --- #=============================================================================== diff --git a/src/frontEnd/ViewManagement.pyc b/src/frontEnd/ViewManagement.pyc index 7e3b4a15..45ea0277 100644 Binary files a/src/frontEnd/ViewManagement.pyc and b/src/frontEnd/ViewManagement.pyc differ diff --git a/src/frontEnd/Workspace.py b/src/frontEnd/Workspace.py index 3b3ef37d..47d26d9b 100644 --- a/src/frontEnd/Workspace.py +++ b/src/frontEnd/Workspace.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: Wednesday 05 February 2015 # REVISION: --- #=============================================================================== diff --git a/src/frontEnd/Workspace.pyc b/src/frontEnd/Workspace.pyc index 72024da5..a352cd29 100644 Binary files a/src/frontEnd/Workspace.pyc and b/src/frontEnd/Workspace.pyc differ 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