diff options
author | Anjali Jaiswal | 2019-06-26 03:17:05 +0530 |
---|---|---|
committer | GitHub | 2019-06-26 03:17:05 +0530 |
commit | aacc02fd7b0117912ce15a650dbae6bf56238dfb (patch) | |
tree | 001c7992654a16ac222530fcec2c6a9261f9a8da /src/subcircuit/Subcircuit.py | |
parent | 6260c64ef988e306f6c35ae0a5fe7e0ca37fd745 (diff) | |
download | eSim-aacc02fd7b0117912ce15a650dbae6bf56238dfb.tar.gz eSim-aacc02fd7b0117912ce15a650dbae6bf56238dfb.tar.bz2 eSim-aacc02fd7b0117912ce15a650dbae6bf56238dfb.zip |
Update Subcircuit.py
Diffstat (limited to 'src/subcircuit/Subcircuit.py')
-rw-r--r-- | src/subcircuit/Subcircuit.py | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/subcircuit/Subcircuit.py b/src/subcircuit/Subcircuit.py index 9f161b97..a79bfc37 100644 --- a/src/subcircuit/Subcircuit.py +++ b/src/subcircuit/Subcircuit.py @@ -4,7 +4,6 @@ from projManagement.Validation import Validation from subcircuit.newSub import NewSub from subcircuit.openSub import openSub from subcircuit.convertSub import convertSub -from subcircuit.uploadSub import UploadSub # This class creates Subcircuit GUI. @@ -42,17 +41,11 @@ class Subcircuit(QtGui.QWidget): '<b>To convert Subcircuit Kicad Netlist to Ngspice Netlist</b>') self.convertbtn.setFixedSize(200, 40) self.convertbtn.clicked.connect(self.convertsch) - self.uploadbtn = QtGui.QPushButton('Upload a Subcircuit') - self.uploadbtn.setToolTip( - '<b>To Upload a subcircuit</b>') - self.uploadbtn.setFixedSize(180, 38) - self.uploadbtn.clicked.connect(self.uploadSub) - + self.hbox = QtGui.QHBoxLayout() self.hbox.addWidget(self.newbtn) self.hbox.addWidget(self.editbtn) self.hbox.addWidget(self.convertbtn) - self.hbox.addWidget(self.uploadbtn) self.hbox.addStretch(1) self.vbox = QtGui.QVBoxLayout() @@ -80,7 +73,3 @@ class Subcircuit(QtGui.QWidget): def convertsch(self): self.obj_convertsubcircuit = convertSub(self.obj_dockarea) self.obj_convertsubcircuit.createSub() - - def uploadSub(self): - self.obj_uploadsubcircuit = UploadSub() - self.obj_uploadsubcircuit.upload() |