summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkomalsheth2362015-04-10 11:42:03 +0530
committerkomalsheth2362015-04-10 11:42:03 +0530
commitc5e8a7dd12335b2bff7bee30b514e08ff5e200b7 (patch)
treefa7e5d85dc07c15351cec1cefd8b3386f93cdaf8 /src
parent09278fca52c3d9779b86c97005f762c5719b88d9 (diff)
downloadeSim-c5e8a7dd12335b2bff7bee30b514e08ff5e200b7.tar.gz
eSim-c5e8a7dd12335b2bff7bee30b514e08ff5e200b7.tar.bz2
eSim-c5e8a7dd12335b2bff7bee30b514e08ff5e200b7.zip
Defaults in Analysis
Diffstat (limited to 'src')
-rw-r--r--src/kicadtoNgspice/Analysis.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/kicadtoNgspice/Analysis.py b/src/kicadtoNgspice/Analysis.py
index 3684507c..1ad045dd 100644
--- a/src/kicadtoNgspice/Analysis.py
+++ b/src/kicadtoNgspice/Analysis.py
@@ -62,6 +62,7 @@ class Analysis(QtGui.QWidget):
self.checkgroupbtn.addButton(self.checkDC)
self.checkgroupbtn.addButton(self.checkTRAN)
self.checkgroupbtn.setExclusive(True)
+ self.checkAC.setChecked(True)
self.checkgroupbtn.buttonClicked.connect(self.enableBox)
self.checkgrid.addWidget(self.checkAC,0,0)
@@ -103,7 +104,8 @@ class Analysis(QtGui.QWidget):
self.acbox = QtGui.QGroupBox()
self.acbox.setTitle("AC Analysis")
self.acgrid = QtGui.QGridLayout()
-
+ self.acbox.setDisabled(False)
+ self.track_obj.set_CheckBox["ITEMS"]="AC"
self.radiobuttongroup= QtGui.QButtonGroup()
self.Lin = QtGui.QRadioButton("Lin")
self.Dec = QtGui.QRadioButton("Dec")
@@ -112,11 +114,13 @@ class Analysis(QtGui.QWidget):
self.radiobuttongroup.addButton(self.Dec)
self.radiobuttongroup.addButton(self.Oct)
self.radiobuttongroup.setExclusive(True)
+ self.Lin.setChecked(True)
+ self.track_obj.AC_type["ITEMS"]="lin"
self.radiobuttongroup.buttonClicked.connect(self.set_ac_type)
self.acgrid.addWidget(self.Lin,1,1)
self.acgrid.addWidget(self.Dec,1,2)
self.acgrid.addWidget(self.Oct,1,3)
- self.acbox.setDisabled(True)
+ #self.acbox.setDisabled(True)
self.acbox.setLayout(self.acgrid)
self.scale = QtGui.QLabel("Scale")