From 5122bdf3700de9479fb18b95e30eecb98e4caf77 Mon Sep 17 00:00:00 2001 From: Fahim Date: Fri, 16 Oct 2015 17:39:40 +0530 Subject: Subject: Modification for Pspice to Kicad converter Description: Modification for Pspice to Kicad converter. --- src/frontEnd/Application.py | 12 ++++++------ src/frontEnd/Workspace.py | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/frontEnd') diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py index b1f8ca30..9106cd0a 100755 --- a/src/frontEnd/Application.py +++ b/src/frontEnd/Application.py @@ -83,11 +83,7 @@ class Application(QtGui.QMainWindow): self.openproj = QtGui.QAction(QtGui.QIcon('../../images/openProject.png'),'Open Project',self) self.openproj.setShortcut('Ctrl+O') self.openproj.triggered.connect(self.open_project) - - self.exitproj = QtGui.QAction(QtGui.QIcon('../../images/closeProject.png'),'Exit',self) - self.exitproj.setShortcut('Ctrl+X') - self.exitproj.triggered.connect(self.exit_project) - + self.importPspiceLib = QtGui.QAction(QtGui.QIcon('../../images/import_icon.png'),'Import PSPICE Library',self) self.importPspiceLib.setShortcut('Ctrl+X') self.importPspiceLib.triggered.connect(self.import_pspice_lib) @@ -96,6 +92,10 @@ class Application(QtGui.QMainWindow): self.convertPspiceKicad.setShortcut('Ctrl+X') self.convertPspiceKicad.triggered.connect(self.convert_pspice_kicad) + self.exitproj = QtGui.QAction(QtGui.QIcon('../../images/closeProject.png'),'Exit',self) + self.exitproj.setShortcut('Ctrl+X') + self.exitproj.triggered.connect(self.exit_project) + self.helpfile = QtGui.QAction(QtGui.QIcon('../../images/helpProject.png'),'Help',self) self.helpfile.setShortcut('Ctrl+H') self.helpfile.triggered.connect(self.help_project) @@ -103,9 +103,9 @@ class Application(QtGui.QMainWindow): self.topToolbar = self.addToolBar('Top Tool Bar') self.topToolbar.addAction(self.newproj) self.topToolbar.addAction(self.openproj) - self.topToolbar.addAction(self.exitproj) self.topToolbar.addAction(self.importPspiceLib) self.topToolbar.addAction(self.convertPspiceKicad) + self.topToolbar.addAction(self.exitproj) self.topToolbar.addAction(self.helpfile) self.spacer = QtGui.QWidget() diff --git a/src/frontEnd/Workspace.py b/src/frontEnd/Workspace.py index cd44dd71..3e3cf0de 100644 --- a/src/frontEnd/Workspace.py +++ b/src/frontEnd/Workspace.py @@ -90,7 +90,7 @@ class Workspace(QtGui.QWidget): self.window_open_close=1 self.close_var=1 #with var_cond: - # var_cond.notify() + # var_cond.notify() return QtGui.QWidget.close(self, *args, **kwargs) -- cgit