summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatelVatsalB212022-09-01 14:14:06 +0530
committerPatelVatsalB212022-09-01 14:14:06 +0530
commitb60d9dd4bb88e459b83c1074493430461a580dce (patch)
treeda19bb1378a108aeed8e3a4f81c5effaf138d888 /src
parent6af18ac0a1e4148f72854d872a72ab86bf24726e (diff)
downloadeSim-b60d9dd4bb88e459b83c1074493430461a580dce.tar.gz
eSim-b60d9dd4bb88e459b83c1074493430461a580dce.tar.bz2
eSim-b60d9dd4bb88e459b83c1074493430461a580dce.zip
File Path Disabled for KicadToNgspice Tabs
Diffstat (limited to 'src')
-rw-r--r--src/kicadtoNgspice/DeviceModel.py4
-rw-r--r--src/kicadtoNgspice/SubcircuitTab.py2
2 files changed, 5 insertions, 1 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)
diff --git a/src/kicadtoNgspice/SubcircuitTab.py b/src/kicadtoNgspice/SubcircuitTab.py
index 6b98167d..59bc3ffb 100644
--- a/src/kicadtoNgspice/SubcircuitTab.py
+++ b/src/kicadtoNgspice/SubcircuitTab.py
@@ -71,7 +71,7 @@ class SubcircuitTab(QtWidgets.QWidget):
subbox.setTitle("Add subcircuit for " + words[len(words) - 1])
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: