summaryrefslogtreecommitdiff
path: root/src/ngspiceSimulation/NgspiceWidget.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/ngspiceSimulation/NgspiceWidget.py')
-rw-r--r--src/ngspiceSimulation/NgspiceWidget.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py
index def1d4e9..ba56df2a 100644
--- a/src/ngspiceSimulation/NgspiceWidget.py
+++ b/src/ngspiceSimulation/NgspiceWidget.py
@@ -6,12 +6,13 @@ import os
# This Class creates NgSpice Window
class NgspiceWidget(QtGui.QWidget):
- """
- Includes functions that checks whether OS is linux or windows
- and creates NgSpice window accordingly.
- """
-
+
def __init__(self, command, projPath):
+ """
+ 1)Creates constructor for NgspiceWidget class.
+ 2)Checks whether OS is linux or windows
+ and creates NgSpice window accordingly.
+ """
QtGui.QWidget.__init__(self)
self.obj_appconfig = Appconfig()
self.process = QtCore.QProcess(self)