diff options
Diffstat (limited to 'src/projManagement')
-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 |
10 files changed, 17 insertions, 9 deletions
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 |