summaryrefslogtreecommitdiff
path: root/src/kicadtoNgspice/DeviceModel.py
diff options
context:
space:
mode:
authorSumanto Kar2023-05-04 13:59:44 +0530
committerGitHub2023-05-04 13:59:44 +0530
commit3d3bef144fc47ac3149a09a4f6f0f04879c7d46d (patch)
treee6c8b69d1a58d031e48258cc1cc0c5311a7daf48 /src/kicadtoNgspice/DeviceModel.py
parenta58c718d43d3d3611bba5b6a67fc811450514a6c (diff)
parentadd82494ea6cdcc8a37609cd54aa0c5e772b2668 (diff)
downloadeSim-3d3bef144fc47ac3149a09a4f6f0f04879c7d46d.tar.gz
eSim-3d3bef144fc47ac3149a09a4f6f0f04879c7d46d.tar.bz2
eSim-3d3bef144fc47ac3149a09a4f6f0f04879c7d46d.zip
Merge branch 'master' into master
Diffstat (limited to 'src/kicadtoNgspice/DeviceModel.py')
-rw-r--r--src/kicadtoNgspice/DeviceModel.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kicadtoNgspice/DeviceModel.py b/src/kicadtoNgspice/DeviceModel.py
index 31406929..d2cd0e73 100644
--- a/src/kicadtoNgspice/DeviceModel.py
+++ b/src/kicadtoNgspice/DeviceModel.py
@@ -84,6 +84,7 @@ class DeviceModel(QtWidgets.QWidget):
words[4])
self.entry_var[self.count] = QtWidgets.QLineEdit()
self.entry_var[self.count].setText("")
+ self.entry_var[self.count].setReadOnly(True)
global path_name
try:
@@ -148,6 +149,7 @@ class DeviceModel(QtWidgets.QWidget):
words[3])
self.entry_var[self.count] = QtWidgets.QLineEdit()
self.entry_var[self.count].setText("")
+ self.entry_var[self.count].setReadOnly(True)
# global path_name
try:
for child in root:
@@ -211,6 +213,7 @@ class DeviceModel(QtWidgets.QWidget):
words[4])
self.entry_var[self.count] = QtWidgets.QLineEdit()
self.entry_var[self.count].setText("")
+ self.entry_var[self.count].setReadOnly(True)
# global path_name
try:
for child in root:
@@ -401,6 +404,7 @@ class DeviceModel(QtWidgets.QWidget):
words[4])
self.entry_var[self.count] = QtWidgets.QLineEdit()
self.entry_var[self.count].setText("")
+ self.entry_var[self.count].setReadOnly(True)
mosfetgrid.addWidget(self.entry_var[self.count], self.row, 1)
self.addbtn = QtWidgets.QPushButton("Add")
self.addbtn.setObjectName("%d" % self.count)