From c01c6f43daa1ac8844e1042cb120721a2fbb694d Mon Sep 17 00:00:00 2001 From: athulappadan Date: Thu, 28 Apr 2016 11:31:23 +0530 Subject: Tool tips added for model editor and subcircuit builder --- src/modelEditor/ModelEditor.py | 4 ++++ src/subcircuit/Subcircuit.py | 3 +++ 2 files changed, 7 insertions(+) diff --git a/src/modelEditor/ModelEditor.py b/src/modelEditor/ModelEditor.py index 76c3e10f..9ad7c662 100644 --- a/src/modelEditor/ModelEditor.py +++ b/src/modelEditor/ModelEditor.py @@ -19,10 +19,13 @@ class ModelEditorclass(QtGui.QWidget): self.modeltable = QtGui.QTableWidget() self.newbtn = QtGui.QPushButton('New') + self.newbtn.setToolTip('Creating new Model Library') self.newbtn.clicked.connect(self.opennew) self.editbtn = QtGui.QPushButton('Edit') + self.editbtn.setToolTip('Editing current Model Library') self.editbtn.clicked.connect(self.openedit) self.savebtn = QtGui.QPushButton('Save') + self.savebtn.setToolTip('Saves the Model Library') self.savebtn.setDisabled(True) self.savebtn.clicked.connect(self.savemodelfile) self.removebtn = QtGui.QPushButton('Remove') @@ -32,6 +35,7 @@ class ModelEditorclass(QtGui.QWidget): self.addbtn.setHidden(True) self.addbtn.clicked.connect(self.addparameters) self.uploadbtn = QtGui.QPushButton('Upload') + self.uploadbtn.setToolTip('Uploading external .lib file to eSim') self.uploadbtn.clicked.connect(self.converttoxml) self.grid.addWidget(self.newbtn, 1,2) self.grid.addWidget(self.editbtn, 1,3) diff --git a/src/subcircuit/Subcircuit.py b/src/subcircuit/Subcircuit.py index 76587f26..f53acc6a 100644 --- a/src/subcircuit/Subcircuit.py +++ b/src/subcircuit/Subcircuit.py @@ -20,12 +20,15 @@ class Subcircuit(QtGui.QWidget): self.splitter.setOrientation(QtCore.Qt.Vertical) self.newbtn = QtGui.QPushButton('New Subcircuit Schematic') + self.newbtn.setToolTip('To create new Subcircuit Schematic') self.newbtn.setFixedSize(200,40) self.newbtn.clicked.connect(self.newsch) self.editbtn = QtGui.QPushButton('Edit Subcircuit Schematic') + self.editbtn.setToolTip('To edit existing Subcircuit Schematic') self.editbtn.setFixedSize(200,40) self.editbtn.clicked.connect(self.editsch) self.convertbtn = QtGui.QPushButton('Convert Kicad to Ngspice') + self.convertbtn.setToolTip('To convert Subcircuit Kicad Netlist to Ngspice Netlist') self.convertbtn.setFixedSize(200,40) self.convertbtn.clicked.connect(self.convertsch) -- cgit