summaryrefslogtreecommitdiff
path: root/src/kicadtoNgspice/KicadtoNgspice.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/KicadtoNgspice.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/KicadtoNgspice.py')
-rw-r--r--src/kicadtoNgspice/KicadtoNgspice.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/kicadtoNgspice/KicadtoNgspice.py b/src/kicadtoNgspice/KicadtoNgspice.py
index 4af345fc..ecf951cd 100644
--- a/src/kicadtoNgspice/KicadtoNgspice.py
+++ b/src/kicadtoNgspice/KicadtoNgspice.py
@@ -21,10 +21,12 @@ from PyQt4 import QtGui,QtCore
from Processing import PrcocessNetlist
import Analysis
import Source
+import Model
import Convert
import TrackWidget
+
class MainWindow(QtGui.QWidget):
def __init__(self):
QtGui.QWidget.__init__(self)
@@ -51,20 +53,19 @@ class MainWindow(QtGui.QWidget):
def createcreateConvertWidget(self):
self.convertWindow = QtGui.QWidget()
-
self.analysisTab = QtGui.QScrollArea()
self.analysisTab.setWidget(Analysis.Analysis())
- self.analysisTabLayout = QtGui.QVBoxLayout(self.analysisTab.widget())
+ #self.analysisTabLayout = QtGui.QVBoxLayout(self.analysisTab.widget())
self.analysisTab.setWidgetResizable(True)
self.sourceTab = QtGui.QScrollArea()
self.sourceTab.setWidget(Source.Source(sourcelist,sourcelisttrack))
- self.sourceTabLayout = QtGui.QVBoxLayout(self.sourceTab.widget())
+ #self.sourceTabLayout = QtGui.QVBoxLayout(self.sourceTab.widget())
self.sourceTab.setWidgetResizable(True)
self.modelTab = QtGui.QScrollArea()
- self.modelTab.setWidget(QtGui.QWidget())
- self.modelTabLayout = QtGui.QVBoxLayout(self.modelTab.widget())
+ self.modelTab.setWidget(Model.Model())
+ #self.modelTabLayout = QtGui.QVBoxLayout(self.modelTab.widget())
self.modelTab.setWidgetResizable(True)
self.tabWidget = QtGui.QTabWidget()
@@ -86,12 +87,13 @@ class MainWindow(QtGui.QWidget):
"""
global schematicInfo
self.obj_convert = Convert.Convert(self.obj_track.sourcelisttrack["ITEMS"],
- self.obj_track.entry_var["ITEMS"],
+ self.obj_track.source_entry_var["ITEMS"],
schematicInfo)
#Adding Source Value to Schematic Info
schematicInfo = self.obj_convert.addSourceParameter()
+