summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorathulappadan2016-04-28 11:00:57 +0530
committerathulappadan2016-04-28 11:00:57 +0530
commitb97483b0d192862bac953e47e0f3bbc20c20d5d7 (patch)
tree143ee013a51fa4923a28ae464d73a4e31a62acb7 /src
parent6b0082543137b215a752cb7ab46cd59a012309c0 (diff)
downloadeSim-b97483b0d192862bac953e47e0f3bbc20c20d5d7.tar.gz
eSim-b97483b0d192862bac953e47e0f3bbc20c20d5d7.tar.bz2
eSim-b97483b0d192862bac953e47e0f3bbc20c20d5d7.zip
Tool tips added to subcircuit builder and model editor
Diffstat (limited to 'src')
-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)