summaryrefslogtreecommitdiff
path: root/src/configuration
diff options
context:
space:
mode:
authorfahim2015-02-17 15:13:02 +0530
committerfahim2015-02-17 15:13:02 +0530
commit756ad7fcfe3e9cb7f1c90e0c773cfb46243a2496 (patch)
tree915c62da4d5df5d06f307c73e81defa976e02b46 /src/configuration
parent74d560add00621421d366759bcc80900d8e14d8a (diff)
downloadeSim-756ad7fcfe3e9cb7f1c90e0c773cfb46243a2496.tar.gz
eSim-756ad7fcfe3e9cb7f1c90e0c773cfb46243a2496.tar.bz2
eSim-756ad7fcfe3e9cb7f1c90e0c773cfb46243a2496.zip
Subject: openProject and Validation
Description: Included openProject and Validation module
Diffstat (limited to 'src/configuration')
-rw-r--r--src/configuration/Appconfig.py29
-rw-r--r--src/configuration/Appconfig.pycbin1236 -> 1288 bytes
2 files changed, 19 insertions, 10 deletions
diff --git a/src/configuration/Appconfig.py b/src/configuration/Appconfig.py
index b9b619b1..811029ca 100644
--- a/src/configuration/Appconfig.py
+++ b/src/configuration/Appconfig.py
@@ -26,6 +26,14 @@ class Appconfig(QtGui.QWidget):
"""
All configuration goes here
"""
+ #Home directory
+ home = os.path.expanduser("~")+"/ecSim-Workspace"
+ default_workspace = {"workspace":home}
+ #Current Project detail
+ current_project = {"ProjectName":"None"}
+ #Workspace detail
+ workspace_text = '''ecSim stores your project in a folder called a workspace. You can choose a different workspace folder to use for this session.'''
+
def __init__(self):
super(Appconfig, self).__init__()
#Application Details
@@ -33,17 +41,18 @@ class Appconfig(QtGui.QWidget):
self._VERSION = 'v1.1'
self._AUTHOR = 'Fahim'
- #Application setting
- self.app_xpos = 100
- self.app_ypos = 100
- self.app_width = 600
- self.app_heigth = 400
+ #Application geometry setting
+ self._app_xpos = 100
+ self._app_ypos = 100
+ self._app_width = 600
+ self._app_heigth = 400
+
+
+
+
+
- #Workspace detail
- self.workspace_text = '''ecSim stores your project in a folder called a workspace. You can choose a different workspace folder to use for this session.'''
- #Home directory
- self.home = os.path.expanduser("~")+"/ecSim-Workspace"
- self.default_workspace = {"workspace":self.home}
+
diff --git a/src/configuration/Appconfig.pyc b/src/configuration/Appconfig.pyc
index e44a1c38..7d8c70a6 100644
--- a/src/configuration/Appconfig.pyc
+++ b/src/configuration/Appconfig.pyc
Binary files differ