summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/frontEnd/Application.py1
-rw-r--r--src/frontEnd/DockArea.py4
-rw-r--r--src/kicadtoNgspice/DeviceModel.py7
3 files changed, 7 insertions, 5 deletions
diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py
index 7ee98aa8..7f105cfe 100755
--- a/src/frontEnd/Application.py
+++ b/src/frontEnd/Application.py
@@ -261,6 +261,7 @@ class MainView(QtGui.QWidget):
#Area to be included in MainView
self.noteArea = QtGui.QTextEdit()
+ self.noteArea.setReadOnly(True)
self.obj_appconfig.noteArea['Note'] = self.noteArea
self.obj_appconfig.noteArea['Note'].append(' eSim Started......')
self.obj_appconfig.noteArea['Note'].append('Project Selected : None')
diff --git a/src/frontEnd/DockArea.py b/src/frontEnd/DockArea.py
index f1452497..c1a0b34d 100644
--- a/src/frontEnd/DockArea.py
+++ b/src/frontEnd/DockArea.py
@@ -20,7 +20,9 @@ class DockArea(QtGui.QMainWindow):
for dockName in dockList:
dock[dockName] = QtGui.QDockWidget(dockName)
- dock[dockName].setWidget(QtGui.QTextEdit())
+ self.welcome = QtGui.QTextEdit()
+ self.welcome.setReadOnly(True)
+ dock[dockName].setWidget(self.welcome)
#CSS
dock[dockName].setStyleSheet(" \
QWidget { border-radius: 15px; border: 1px solid gray; padding: 5px; width: 200px; height: 150px; } \
diff --git a/src/kicadtoNgspice/DeviceModel.py b/src/kicadtoNgspice/DeviceModel.py
index ee8b7d25..2d23550a 100644
--- a/src/kicadtoNgspice/DeviceModel.py
+++ b/src/kicadtoNgspice/DeviceModel.py
@@ -14,7 +14,6 @@ class DeviceModel(QtGui.QWidget):
def __init__(self,schematicInfo,clarg1):
-
self.clarg1=clarg1
kicadFile = self.clarg1
(projpath,filename)=os.path.split(kicadFile)
@@ -66,7 +65,7 @@ class DeviceModel(QtGui.QWidget):
transbox.setTitle("Add library for Transistor "+words[0]+" : "+words[4])
self.entry_var[self.count] = QtGui.QLineEdit()
self.entry_var[self.count].setText("")
- global path_name
+ #global path_name
try:
for child in root:
if child.tag[0]==eachline[0] and child.tag[1]==eachline[1]:
@@ -266,7 +265,7 @@ class DeviceModel(QtGui.QWidget):
self.devicemodel_dict_end[words[0]]=self.count
self.count = self.count+1
mosfetbox.setLayout(mosfetgrid)
- global path_name
+ #global path_name
try:
for child in root:
if child.tag[0]==eachline[0] and child.tag[1]==eachline[1]:
@@ -333,7 +332,7 @@ class DeviceModel(QtGui.QWidget):
This function is use to keep track of all Device Model widget
"""
print "Calling Track Library funtion"
- #print "Object Called is ",sending_btn.objectName()
+ #print "Object Called is ",sending_btn.objectName()
self.widgetObjCount = iter_value
print "self.widgetObjCount-----",self.widgetObjCount
self.libfile = path_value