summaryrefslogtreecommitdiff
path: root/src/projManagement/openProject.py
diff options
context:
space:
mode:
authorfahim2015-02-19 17:55:15 +0530
committerfahim2015-02-19 17:55:15 +0530
commit22254c4024c72f71de4d4fc0b71bbb22fac8a747 (patch)
tree5e0904bdfcbd1b27e0e74cd89285740c4c8a48e1 /src/projManagement/openProject.py
parentd7553c754ceb107042d75345e3c77115fdd735ab (diff)
downloadeSim-22254c4024c72f71de4d4fc0b71bbb22fac8a747.tar.gz
eSim-22254c4024c72f71de4d4fc0b71bbb22fac8a747.tar.bz2
eSim-22254c4024c72f71de4d4fc0b71bbb22fac8a747.zip
Subject: Modiefied newProject.py and added few icons
Description: Moddiefied newProject.py with few validation check and icons for newProject ,CloseProject and openProject
Diffstat (limited to 'src/projManagement/openProject.py')
-rw-r--r--src/projManagement/openProject.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/projManagement/openProject.py b/src/projManagement/openProject.py
index 6972b1ed..3bbdfc37 100644
--- a/src/projManagement/openProject.py
+++ b/src/projManagement/openProject.py
@@ -23,19 +23,18 @@ from configuration.Appconfig import Appconfig
-class ProjectInfo:
+class ProjectInfo(QtGui.QWidget):
"""
Class ProjectInfo accept model information from user
"""
def __init__(self):
- pass
+ super(ProjectInfo, self).__init__()
+ self.obj_validation = Validation()
def body(self):
self.proj_directory = QtGui.QFileDialog.getExistingDirectory()
- self.obj_validation = Validation()
-
-
+
if self.obj_validation.validateOpenproj(self.proj_directory) == True:
print "Pass open project test"
self.obj_Appconfig = Appconfig()