summaryrefslogtreecommitdiff
path: root/src/frontEnd/ViewManagement.py
diff options
context:
space:
mode:
authorfahim2015-02-17 15:13:02 +0530
committerfahim2015-02-17 15:13:02 +0530
commit756ad7fcfe3e9cb7f1c90e0c773cfb46243a2496 (patch)
tree915c62da4d5df5d06f307c73e81defa976e02b46 /src/frontEnd/ViewManagement.py
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/frontEnd/ViewManagement.py')
-rwxr-xr-xsrc/frontEnd/ViewManagement.py22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/frontEnd/ViewManagement.py b/src/frontEnd/ViewManagement.py
index 27d9ecba..7d6ca9cd 100755
--- a/src/frontEnd/ViewManagement.py
+++ b/src/frontEnd/ViewManagement.py
@@ -38,9 +38,9 @@ class ViewManagement(QtGui.QSplitter):
def createView(self):
#Adding view into views dictionary
- self.addView(QtGui.QTextEdit, 'Project Explorer')
- self.addView(QtGui.QTextEdit, 'test2')
- self.addView(QtGui.QTextEdit, 'test3')
+ self.addView(QtGui.QTextEdit, 'ProjectExplorer')
+ self.addView(QtGui.QTextEdit, 'ProjectToolbar')
+ self.addView(QtGui.QTextEdit, 'CurrentProject')
def setupView(self):
#setup views to define various areas, such as placement of individual views
@@ -78,19 +78,17 @@ class ViewManagement(QtGui.QSplitter):
self.pcb_btn.setIcon(QtGui.QIcon('../images/default.png'))
self.pcb_btn.setIconSize(QtCore.QSize(50,50))
self.grid.addWidget(self.pcb_btn,1,1)
-
-
-
-
+
# bind the top level views into the framework
- self.views['Project Explorer'].setParent(self)
+ self.views['ProjectExplorer'].setParent(self)
- self.views['test2'].setParent(self.right)
- self.views['test2'].setLayout(self.grid)
- self.views['test2'].setReadOnly(True)
+ self.views['ProjectToolbar'].setParent(self.right)
+ self.views['ProjectToolbar'].setLayout(self.grid)
+ self.views['ProjectToolbar'].setReadOnly(True)
- self.views['test3'].setParent(self.right)
+ self.views['CurrentProject'].setParent(self.right)
+ self.views['CurrentProject'].setReadOnly(True)
self.right.setParent(self)
self.right.setSizes([20, 5])