summaryrefslogtreecommitdiff
path: root/src/configuration/Appconfig.py
diff options
context:
space:
mode:
authorfahim2015-06-08 14:21:19 +0530
committerfahim2015-06-08 14:21:19 +0530
commita783d14e674082a49ab5d5b7943ec5fc1f4c98f2 (patch)
tree3c89bbf40981d76b108d052967656f6c27652a4f /src/configuration/Appconfig.py
parent2a87f0eae40b90cc0657e46cbb8532d99f9373ab (diff)
downloadeSim-a783d14e674082a49ab5d5b7943ec5fc1f4c98f2.tar.gz
eSim-a783d14e674082a49ab5d5b7943ec5fc1f4c98f2.tar.bz2
eSim-a783d14e674082a49ab5d5b7943ec5fc1f4c98f2.zip
Subject: Added Note Area changes
Description: Added Note Area Changes
Diffstat (limited to 'src/configuration/Appconfig.py')
-rw-r--r--src/configuration/Appconfig.py13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/configuration/Appconfig.py b/src/configuration/Appconfig.py
index 957634c2..bcc0fd95 100644
--- a/src/configuration/Appconfig.py
+++ b/src/configuration/Appconfig.py
@@ -37,6 +37,7 @@ class Appconfig(QtGui.QWidget):
workspace_text = '''eSim stores your project in a folder called a eSim-Workspace. You can choose a different workspace folder to use for this session.'''
procThread_list = []
dictPath = os.path.join(os.path.expanduser("~"), ".projectExplorer.txt")
+ noteArea = {}
try:
project_explorer = json.load(open(dictPath))
except:
@@ -56,11 +57,19 @@ class Appconfig(QtGui.QWidget):
self._app_heigth = 400
-
+ def print_info(self, str):
+
+ self.noteArea['Note'].append('[INFO]: ' + str)
+
+ def print_warning(self, str):
+
+ self.noteArea['Note'].append('[WARNING]: ' + str)
-
+ def print_error(self, str):
+
+ self.noteArea['Note'].append('[ERROR]: ' + str)