summaryrefslogtreecommitdiff
path: root/src/frontEnd/TerminalUi.py
diff options
context:
space:
mode:
authorPranav P2023-06-01 12:52:31 +0530
committerPranav P2023-06-01 12:56:29 +0530
commit5cd19e9c29247276c5b48fed59f80631ce78ed86 (patch)
tree4e5f0c86fc6690883e2e0ef3017c13c87a1acdba /src/frontEnd/TerminalUi.py
parent9a01a2606665c521c1ee10fa94394127d5decbf3 (diff)
downloadeSim-5cd19e9c29247276c5b48fed59f80631ce78ed86.tar.gz
eSim-5cd19e9c29247276c5b48fed59f80631ce78ed86.tar.bz2
eSim-5cd19e9c29247276c5b48fed59f80631ce78ed86.zip
Added docstrings to the TerminalUi class
Diffstat (limited to 'src/frontEnd/TerminalUi.py')
-rw-r--r--src/frontEnd/TerminalUi.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/frontEnd/TerminalUi.py b/src/frontEnd/TerminalUi.py
index 21b5b557..24ee4596 100644
--- a/src/frontEnd/TerminalUi.py
+++ b/src/frontEnd/TerminalUi.py
@@ -3,7 +3,18 @@ import os
class TerminalUi(QtWidgets.QMainWindow):
+ """This is a class that represents the GUI required to provide
+ details regarding the ngspice simulation. This GUI consists of
+ a progress bar, a console window which displays the log of the
+ simulation and button required for re-simulation and cancellation
+ of the simulation"""
def __init__(self, qProcess, args):
+ """The constructor of the TerminalUi class
+ param: qProcess: a PyQt QProcess that runs ngspice
+ type: qProcess: :class:`QtCore.QProcess`
+ param: args: arguments to be passed on to the ngspice call
+ type: args: list
+ """
super(TerminalUi, self).__init__()
# Other variables