From 193d284f377ccf963bbd762bdb03f3daae2fa1af Mon Sep 17 00:00:00 2001 From: komalsheth236 Date: Tue, 22 Sep 2015 14:31:02 +0530 Subject: Nghdl Processes Terminated --- src/ngspiceSimulation/NgspiceWidget.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ngspiceSimulation') diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py index f2ad973f..4a8c2aba 100644 --- a/src/ngspiceSimulation/NgspiceWidget.py +++ b/src/ngspiceSimulation/NgspiceWidget.py @@ -15,11 +15,13 @@ class NgspiceWidget(QtGui.QWidget): self.layout = QtGui.QVBoxLayout(self) self.layout.addWidget(self.terminal) print"command-------->", command + if platform.system() == 'Linux': self.command = "cd "+projPath+";ngspice "+command #Creating argument for process self.args = ['-into', str(self.terminal.winId()),'-hold','-e', self.command] self.process.start('xterm', self.args) + self.obj_appconfig.process_obj.append(self.process) elif platform.system() == 'Windows': tempdir= os.getcwd() -- cgit From 146e5bb8a3770d02ed10f15a635ed6b68a9ca56e Mon Sep 17 00:00:00 2001 From: komalsheth236 Date: Mon, 11 Jan 2016 14:32:53 +0530 Subject: Modified package in PythonPlotting.py --- src/ngspiceSimulation/pythonPlotting.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ngspiceSimulation') diff --git a/src/ngspiceSimulation/pythonPlotting.py b/src/ngspiceSimulation/pythonPlotting.py index 7d37623d..d93ba235 100644 --- a/src/ngspiceSimulation/pythonPlotting.py +++ b/src/ngspiceSimulation/pythonPlotting.py @@ -3,7 +3,7 @@ import os from PyQt4 import QtGui, QtCore from decimal import Decimal from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas -from matplotlib.backends.backend_qt4agg import NavigationToolbar2QTAgg as NavigationToolbar +from matplotlib.backends.backend_qt4agg import NavigationToolbar2QT as NavigationToolbar from matplotlib.figure import Figure from configuration.Appconfig import Appconfig @@ -687,4 +687,4 @@ class DataExtraction: - \ No newline at end of file + -- cgit From 8a6f29decb7793e678aa8492f4f8d899087f2f68 Mon Sep 17 00:00:00 2001 From: Fahim Date: Wed, 17 Feb 2016 16:52:17 +0530 Subject: Subject: Modified NgspiceSimulation window Description: Modified NgspiceSimulation window outside Dock area --- src/ngspiceSimulation/NgspiceWidget.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ngspiceSimulation') diff --git a/src/ngspiceSimulation/NgspiceWidget.py b/src/ngspiceSimulation/NgspiceWidget.py index 4a8c2aba..402c20e3 100644 --- a/src/ngspiceSimulation/NgspiceWidget.py +++ b/src/ngspiceSimulation/NgspiceWidget.py @@ -19,7 +19,8 @@ class NgspiceWidget(QtGui.QWidget): if platform.system() == 'Linux': self.command = "cd "+projPath+";ngspice "+command #Creating argument for process - self.args = ['-into', str(self.terminal.winId()),'-hold','-e', self.command] + #self.args = ['-into', str(self.terminal.winId()),'-hold','-e', self.command] + self.args = ['-hold','-e', self.command] self.process.start('xterm', self.args) self.obj_appconfig.process_obj.append(self.process) -- cgit