diff options
author | nilshah98 | 2019-06-25 12:55:20 +0530 |
---|---|---|
committer | nilshah98 | 2019-06-25 12:55:20 +0530 |
commit | c263636b86d204c9500ed2fe58e4f9db74c28bee (patch) | |
tree | fc23c9c31d0821fa0deec33aa452f70df602217d /src/frontEnd/Application.py | |
parent | 73399832febef4407eb8d8a9e57d535f18b18654 (diff) | |
download | eSim-c263636b86d204c9500ed2fe58e4f9db74c28bee.tar.gz eSim-c263636b86d204c9500ed2fe58e4f9db74c28bee.tar.bz2 eSim-c263636b86d204c9500ed2fe58e4f9db74c28bee.zip |
Resolves #100
Diffstat (limited to 'src/frontEnd/Application.py')
-rwxr-xr-x | src/frontEnd/Application.py | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py index 97f895ad..c0dddf51 100755 --- a/src/frontEnd/Application.py +++ b/src/frontEnd/Application.py @@ -71,9 +71,11 @@ class Application(QtGui.QMainWindow): In this function we are setting icons, short-cuts,and defining functonality for: - - Top-tool-bar (New project, Open project, Close project, Help option ) - - Left-tool-bar (Open Schematic, Convert KiCad to NgSpice, Simuation, - Model Editor, Subcircuit, NGHDL, Modelica Converter, OM Optimisation ) + - Top-tool-bar (New project, Open project, Close project,\ + Help option ) + - Left-tool-bar (Open Schematic, Convert KiCad to NgSpice,\ + Simuation, Model Editor, Subcircuit, NGHDL, Modelica\ + Converter, OM Optimisation ) """ # Top Tool bar self.newproj = QtGui.QAction( @@ -199,11 +201,12 @@ class Application(QtGui.QMainWindow): exit message and buttons 'Yes', 'No'. 1. If 'Yes' is pressed: - - it checks that program(process) in procThread_list (list made in - Appconfig.py): + - it checks that program(process) in procThread_list\ + (list made in Appconfig.py): - if available it terminates that program - - if the program(process) is not available, it checks for it + - if the program(process) is not available,\ + it checks for it in process_obj (list made in Appconfig.py) if found it closes the program. @@ -341,7 +344,8 @@ class Application(QtGui.QMainWindow): # Fail Safe ===> count += 1 if count >= 100: - raise Exception("ngspice taking too long, check netlist file") + raise Exception( + "ngspice taking too long, check netlist file") # Calling Python Plotting try: |