summaryrefslogtreecommitdiff
path: root/src/kicadtoNgspice/Analysis.py
diff options
context:
space:
mode:
authorfahim2015-03-27 17:46:55 +0530
committerfahim2015-03-27 17:46:55 +0530
commit34d01b75a71c270922772a2d12f493b7a46866fe (patch)
tree02cf42c0ce60f3c12ba558c9c8c6892918d1595d /src/kicadtoNgspice/Analysis.py
parentd25fa222ec4481e30b82d69e6905792aa5beb843 (diff)
downloadeSim-34d01b75a71c270922772a2d12f493b7a46866fe.tar.gz
eSim-34d01b75a71c270922772a2d12f493b7a46866fe.tar.bz2
eSim-34d01b75a71c270922772a2d12f493b7a46866fe.zip
Subject: Minor changes in variable name,remove comment
Description: Remove unwanted comments,added Model Widget and change variable name
Diffstat (limited to 'src/kicadtoNgspice/Analysis.py')
-rw-r--r--src/kicadtoNgspice/Analysis.py22
1 files changed, 4 insertions, 18 deletions
diff --git a/src/kicadtoNgspice/Analysis.py b/src/kicadtoNgspice/Analysis.py
index 4ab5291b..d16b5494 100644
--- a/src/kicadtoNgspice/Analysis.py
+++ b/src/kicadtoNgspice/Analysis.py
@@ -1,8 +1,6 @@
-from PyQt4 import QtGui,QtCore
-from numpy import partition
-from PyQt4.Qt import QRect
-#import GroupBox
+from PyQt4 import QtGui
+
class Analysis(QtGui.QWidget):
def __init__(self):
@@ -162,15 +160,7 @@ class Analysis(QtGui.QWidget):
self.dcbox = QtGui.QGroupBox()
self.dcbox.setTitle("DC Analysis")
self.dcgrid = QtGui.QGridLayout()
- #self.dcgrid.setGeometry(self, QRect)
- #self.partition= QtGui.QHBoxLayout()
- #self.dcgrid.addWidget(partition,0,0)
- #self.dcgrid.setHorizontalSpacing(60)
-
- #self.btn3 = QtGui.QRadioButton("Radio button 3")
- #self.simulation_button = QtGui.QPushButton("Add Simulation Data")
- #self.dcgrid.addWidget(self.btn3,0,0)
- #self.dcgrid.addWidget(self.btn4,0,1)
+
self.dcbox.setDisabled(True)
self.dcbox.setLayout(self.dcgrid)
@@ -247,11 +237,7 @@ class Analysis(QtGui.QWidget):
self.trbox = QtGui.QGroupBox()
self.trbox.setTitle("Transient Analysis")
self.trgrid = QtGui.QGridLayout()
-
- #self.btn5 = QtGui.QRadioButton("Radio button 5")
- #self.btn6 = QtGui.QRadioButton("Radio button 6")
- #self.trgrid.addWidget(self.btn5,0,0)
- #self.trgrid.addWidget(self.btn6,0,1)
+
self.trbox.setDisabled(True)
self.trbox.setLayout(self.trgrid)