From 053f70ac84399f7234df9e9fcecb3ef42b478370 Mon Sep 17 00:00:00 2001 From: anjalijaiswal08 Date: Wed, 26 Jun 2019 03:29:06 +0530 Subject: Removed unwanted code --- src/subcircuit/Subcircuit.py | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/subcircuit') diff --git a/src/subcircuit/Subcircuit.py b/src/subcircuit/Subcircuit.py index 9f161b97..409f7210 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,11 +41,6 @@ class Subcircuit(QtGui.QWidget): 'To convert Subcircuit Kicad Netlist to Ngspice Netlist') self.convertbtn.setFixedSize(200, 40) self.convertbtn.clicked.connect(self.convertsch) - self.uploadbtn = QtGui.QPushButton('Upload a Subcircuit') - self.uploadbtn.setToolTip( - 'To Upload a subcircuit') - self.uploadbtn.setFixedSize(180, 38) - self.uploadbtn.clicked.connect(self.uploadSub) self.hbox = QtGui.QHBoxLayout() self.hbox.addWidget(self.newbtn) @@ -80,7 +74,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() -- cgit