diff options
author | fahim | 2015-04-13 14:57:07 +0530 |
---|---|---|
committer | fahim | 2015-04-13 14:57:07 +0530 |
commit | 3e626db04e3d2fadebb649cd55e1035e7eeca395 (patch) | |
tree | 07ae3eb0f02977e7a1bf5599b9c37cff4bdd076e /src/frontEnd | |
parent | dfbf63e972cf9da81ab1cd254007d1c274df5e8b (diff) | |
download | eSim-3e626db04e3d2fadebb649cd55e1035e7eeca395.tar.gz eSim-3e626db04e3d2fadebb649cd55e1035e7eeca395.tar.bz2 eSim-3e626db04e3d2fadebb649cd55e1035e7eeca395.zip |
Subject: Added summer.xml for testing purpose. Corrected code for
closing all application if Application window closed.
Description: Addes summer.xml for testing purpose.Corrected code for
closing application
Diffstat (limited to 'src/frontEnd')
-rwxr-xr-x | src/frontEnd/Application.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py index 2863ed6c..4c876474 100755 --- a/src/frontEnd/Application.py +++ b/src/frontEnd/Application.py @@ -58,20 +58,21 @@ class Application(QtGui.QMainWindow): def initActions(self): - - self.newproj = QtGui.QAction(QtGui.QIcon('../images/newProject.svg'),'<b>New Project</b>',self) + + self.newproj = QtGui.QAction(QtGui.QIcon('../images/newProject.png'),'<b>New Project</b>',self) self.newproj.setShortcut('Ctrl+N') self.newproj.triggered.connect(self.new_project) - self.openproj = QtGui.QAction(QtGui.QIcon('../images/openProject.svg'),'<b>Open Project</b>',self) + + self.openproj = QtGui.QAction(QtGui.QIcon('../images/openProject.png'),'<b>Open Project</b>',self) self.openproj.setShortcut('Ctrl+O') self.openproj.triggered.connect(self.open_project) - self.exitproj = QtGui.QAction(QtGui.QIcon('../images/closeProject.svg'),'<b>Exit</b>',self) + self.exitproj = QtGui.QAction(QtGui.QIcon('../images/closeProject.png'),'<b>Exit</b>',self) self.exitproj.setShortcut('Ctrl+X') self.exitproj.triggered.connect(self.exit_project) - self.helpfile = QtGui.QAction(QtGui.QIcon('../images/default.png'),'<b>Help</b>',self) + self.helpfile = QtGui.QAction(QtGui.QIcon('../images/helpProject.png'),'<b>Help</b>',self) self.helpfile.setShortcut('Ctrl+H') self.helpfile.triggered.connect(self.help_project) @@ -131,7 +132,7 @@ def main(args): It is main function of the module.It starts the application """ print "Hello Main" - app = QtGui.QApplication(sys.argv) + app = QtGui.QApplication(args) """ splash_pix = QtGui.QPixmap('../images/FreeEDAlogo.jpg') |