summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorathulappadan2016-04-28 11:31:23 +0530
committerathulappadan2016-04-28 11:31:23 +0530
commitc01c6f43daa1ac8844e1042cb120721a2fbb694d (patch)
tree4d12cb49b2321e4812889efb9eba4e14e7d25753
parenteb1d4bd53aaa467e88f24aac6f0099a54c74dce1 (diff)
downloadeSim-c01c6f43daa1ac8844e1042cb120721a2fbb694d.tar.gz
eSim-c01c6f43daa1ac8844e1042cb120721a2fbb694d.tar.bz2
eSim-c01c6f43daa1ac8844e1042cb120721a2fbb694d.zip
Tool tips added for model editor and subcircuit builder
-rw-r--r--src/modelEditor/ModelEditor.py4
-rw-r--r--src/subcircuit/Subcircuit.py3
2 files changed, 7 insertions, 0 deletions
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('<b>Creating new Model Library</b>')
self.newbtn.clicked.connect(self.opennew)
self.editbtn = QtGui.QPushButton('Edit')
+ self.editbtn.setToolTip('<b>Editing current Model Library</b>')
self.editbtn.clicked.connect(self.openedit)
self.savebtn = QtGui.QPushButton('Save')
+ self.savebtn.setToolTip('<b>Saves the Model Library</b>')
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('<b>Uploading external .lib file to eSim</b>')
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('<b>To create new Subcircuit Schematic</b>')
self.newbtn.setFixedSize(200,40)
self.newbtn.clicked.connect(self.newsch)
self.editbtn = QtGui.QPushButton('Edit Subcircuit Schematic')
+ self.editbtn.setToolTip('<b>To edit existing Subcircuit Schematic</b>')
self.editbtn.setFixedSize(200,40)
self.editbtn.clicked.connect(self.editsch)
self.convertbtn = QtGui.QPushButton('Convert Kicad to Ngspice')
+ self.convertbtn.setToolTip('<b>To convert Subcircuit Kicad Netlist to Ngspice Netlist</b>')
self.convertbtn.setFixedSize(200,40)
self.convertbtn.clicked.connect(self.convertsch)