diff options
author | AnkushECE | 2022-10-12 00:56:23 +0530 |
---|---|---|
committer | GitHub | 2022-10-12 00:56:23 +0530 |
commit | fbf6e82dab9c42afcbd722117bcf7ec53333bba2 (patch) | |
tree | 3ce1b1194ec1625d848a59b0524870ca49a37f74 /src/kicadtoNgspice/DeviceModel.py | |
parent | ec998692f698ceef68d8ccdb97c2132bd5bd1021 (diff) | |
parent | 7c1f5eacbc233bd365d1fc42c11aa3163f7947e1 (diff) | |
download | eSim-fbf6e82dab9c42afcbd722117bcf7ec53333bba2.tar.gz eSim-fbf6e82dab9c42afcbd722117bcf7ec53333bba2.tar.bz2 eSim-fbf6e82dab9c42afcbd722117bcf7ec53333bba2.zip |
Merge branch 'FOSSEE:master' into master
Diffstat (limited to 'src/kicadtoNgspice/DeviceModel.py')
-rw-r--r-- | src/kicadtoNgspice/DeviceModel.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kicadtoNgspice/DeviceModel.py b/src/kicadtoNgspice/DeviceModel.py index 5fd4d829..c52ea2d0 100644 --- a/src/kicadtoNgspice/DeviceModel.py +++ b/src/kicadtoNgspice/DeviceModel.py @@ -82,6 +82,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: @@ -146,6 +147,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: @@ -209,6 +211,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: @@ -273,6 +276,7 @@ class DeviceModel(QtWidgets.QWidget): words[5]) 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) |