summaryrefslogtreecommitdiff
path: root/src/kicadtoNgspice/DeviceModel.py
diff options
context:
space:
mode:
authorfahim2015-07-29 16:05:35 +0530
committerfahim2015-07-29 16:05:35 +0530
commit81543e3a4c4e3a845507ee38308f52a8198204c3 (patch)
treef0d1ed00cceeb02f010f4c49163e7a9ae97df0a9 /src/kicadtoNgspice/DeviceModel.py
parent7cdabba6ca27643fc290c6fada8c8fa333e7f8fb (diff)
downloadeSim-81543e3a4c4e3a845507ee38308f52a8198204c3.tar.gz
eSim-81543e3a4c4e3a845507ee38308f52a8198204c3.tar.bz2
eSim-81543e3a4c4e3a845507ee38308f52a8198204c3.zip
Subject: Set Welcome and Note area ReadOnly
Description: Set Welcome and Note area ReadOnly
Diffstat (limited to 'src/kicadtoNgspice/DeviceModel.py')
-rw-r--r--src/kicadtoNgspice/DeviceModel.py7
1 files changed, 3 insertions, 4 deletions
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