diff options
-rw-r--r-- | src/configuration/Appconfig.py | 4 | ||||
-rw-r--r-- | src/configuration/Appconfig.pyc | bin | 1308 -> 1304 bytes | |||
-rwxr-xr-x | src/frontEnd/Application.py | 2 | ||||
-rwxr-xr-x | src/frontEnd/ViewManagement.py | 2 | ||||
-rw-r--r-- | src/frontEnd/ViewManagement.pyc | bin | 3038 -> 3032 bytes | |||
-rw-r--r-- | src/frontEnd/Workspace.py | 2 | ||||
-rw-r--r-- | src/frontEnd/Workspace.pyc | bin | 3476 -> 3469 bytes | |||
-rw-r--r-- | src/projManagement/Kicad.py | 2 | ||||
-rw-r--r-- | src/projManagement/Kicad.pyc | bin | 3148 -> 3142 bytes | |||
-rw-r--r-- | src/projManagement/Validation.py | 4 | ||||
-rw-r--r-- | src/projManagement/Validation.pyc | bin | 1619 -> 1613 bytes | |||
-rw-r--r-- | src/projManagement/Worker.py | 2 | ||||
-rw-r--r-- | src/projManagement/Worker.pyc | bin | 1263 -> 1257 bytes | |||
-rw-r--r-- | src/projManagement/newProject.py | 16 | ||||
-rw-r--r-- | src/projManagement/newProject.pyc | bin | 3622 -> 3836 bytes | |||
-rw-r--r-- | src/projManagement/openProject.py | 2 | ||||
-rw-r--r-- | 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 Binary files differindex b4cbb31a..4c19546d 100644 --- a/src/configuration/Appconfig.pyc +++ b/src/configuration/Appconfig.pyc 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 Binary files differindex 7e3b4a15..45ea0277 100644 --- a/src/frontEnd/ViewManagement.pyc +++ b/src/frontEnd/ViewManagement.pyc 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 Binary files differindex 72024da5..a352cd29 100644 --- a/src/frontEnd/Workspace.pyc +++ b/src/frontEnd/Workspace.pyc 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 Binary files differindex 89aabd2d..273ea5d7 100644 --- a/src/projManagement/Kicad.pyc +++ b/src/projManagement/Kicad.pyc 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 Binary files differindex 42291553..690e016e 100644 --- a/src/projManagement/Validation.pyc +++ b/src/projManagement/Validation.pyc 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 Binary files differindex 3751f2cc..c8e30b8f 100644 --- a/src/projManagement/Worker.pyc +++ b/src/projManagement/Worker.pyc 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 Binary files differindex 16e13e75..16e965d3 100644 --- a/src/projManagement/newProject.pyc +++ b/src/projManagement/newProject.pyc 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 Binary files differindex c97b7919..d9c56fee 100644 --- a/src/projManagement/openProject.pyc +++ b/src/projManagement/openProject.pyc |