From 756ad7fcfe3e9cb7f1c90e0c773cfb46243a2496 Mon Sep 17 00:00:00 2001 From: fahim Date: Tue, 17 Feb 2015 15:13:02 +0530 Subject: Subject: openProject and Validation Description: Included openProject and Validation module --- src/configuration/Appconfig.py | 29 +++++++++++++++++++---------- src/configuration/Appconfig.pyc | Bin 1236 -> 1288 bytes 2 files changed, 19 insertions(+), 10 deletions(-) (limited to 'src/configuration') 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 Binary files a/src/configuration/Appconfig.pyc and b/src/configuration/Appconfig.pyc differ -- cgit