summaryrefslogtreecommitdiff
path: root/src/frontEnd/ViewManagement.py
diff options
context:
space:
mode:
authorfahim2015-04-09 14:58:02 +0530
committerfahim2015-04-09 14:58:02 +0530
commit09278fca52c3d9779b86c97005f762c5719b88d9 (patch)
tree102d66c4cecfcae783da25ae3c29689a15cea778 /src/frontEnd/ViewManagement.py
parente10b2de0bec4836b2dc134d56ed573ad1d633ce3 (diff)
downloadeSim-09278fca52c3d9779b86c97005f762c5719b88d9.tar.gz
eSim-09278fca52c3d9779b86c97005f762c5719b88d9.tar.bz2
eSim-09278fca52c3d9779b86c97005f762c5719b88d9.zip
Subject: Analysis inserter functionality
Description: Added by Komal
Diffstat (limited to 'src/frontEnd/ViewManagement.py')
-rwxr-xr-xsrc/frontEnd/ViewManagement.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/frontEnd/ViewManagement.py b/src/frontEnd/ViewManagement.py
index 8264c033..8299e295 100755
--- a/src/frontEnd/ViewManagement.py
+++ b/src/frontEnd/ViewManagement.py
@@ -46,6 +46,8 @@ class ViewManagement(QtGui.QSplitter):
self.addView(QtGui.QTextEdit, 'ProjectExplorer')
self.addView(QtGui.QTextEdit, 'ProjectToolbar')
self.addView(QtGui.QTextEdit, 'CurrentProject')
+ self.addView(QtGui.QTextEdit, 'Browser')
+
def setupView(self):
#setup views to define various areas, such as placement of individual views
@@ -93,6 +95,8 @@ class ViewManagement(QtGui.QSplitter):
self.pcb_btn.clicked.connect(self.obj_kicad.openLayout)
self.grid.addWidget(self.pcb_btn,1,1)
+ #self.temp = QtGui.QSplitter()
+ #self.temp.setOrientation(QtCore.Qt.Vertical)
# bind the top level views into the framework
self.views['ProjectExplorer'].setParent(self)
@@ -104,9 +108,12 @@ class ViewManagement(QtGui.QSplitter):
self.views['CurrentProject'].setParent(self.right)
self.views['CurrentProject'].setReadOnly(True)
+ #self.views['Browser'].setParent(self.right)
+ #self.views['Browser'].setReadOnly(True)
+
self.right.setParent(self)
self.right.setSizes([20, 5])
- self.setSizes([5, 20])
+ #self.setSizes([5, 20])
def addView(self, settype, name):