summaryrefslogtreecommitdiff
path: root/src/projManagement/openProject.py
diff options
context:
space:
mode:
authorfahim2015-02-25 12:28:36 +0530
committerfahim2015-02-25 12:28:36 +0530
commitb8a87cdb785471005e96234782287528e3edc39c (patch)
treea4fb514bd17255b67514c3546ced9dce9e769197 /src/projManagement/openProject.py
parent22254c4024c72f71de4d4fc0b71bbb22fac8a747 (diff)
downloadeSim-b8a87cdb785471005e96234782287528e3edc39c.tar.gz
eSim-b8a87cdb785471005e96234782287528e3edc39c.tar.bz2
eSim-b8a87cdb785471005e96234782287528e3edc39c.zip
Subject: Kicad Module modified along with some other minor changes
Description: Added openschematic,openlayout,openpcb in the kicad module.
Diffstat (limited to 'src/projManagement/openProject.py')
-rw-r--r--src/projManagement/openProject.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/projManagement/openProject.py b/src/projManagement/openProject.py
index 3bbdfc37..2949da45 100644
--- a/src/projManagement/openProject.py
+++ b/src/projManagement/openProject.py
@@ -23,22 +23,22 @@ from configuration.Appconfig import Appconfig
-class ProjectInfo(QtGui.QWidget):
+class OpenProjectInfo(QtGui.QWidget):
"""
Class ProjectInfo accept model information from user
"""
def __init__(self):
- super(ProjectInfo, self).__init__()
+ super(OpenProjectInfo, self).__init__()
self.obj_validation = Validation()
def body(self):
- self.proj_directory = QtGui.QFileDialog.getExistingDirectory()
+ self.projDir = QtGui.QFileDialog.getExistingDirectory()
- if self.obj_validation.validateOpenproj(self.proj_directory) == True:
+ if self.obj_validation.validateOpenproj(self.projDir) == True:
print "Pass open project test"
self.obj_Appconfig = Appconfig()
- self.obj_Appconfig.current_project['ProjectName'] = self.proj_directory
+ self.obj_Appconfig.current_project['ProjectName'] = str(self.projDir)
else: