diff options
author | fahim | 2015-02-19 17:55:15 +0530 |
---|---|---|
committer | fahim | 2015-02-19 17:55:15 +0530 |
commit | 22254c4024c72f71de4d4fc0b71bbb22fac8a747 (patch) | |
tree | 5e0904bdfcbd1b27e0e74cd89285740c4c8a48e1 /src/frontEnd | |
parent | d7553c754ceb107042d75345e3c77115fdd735ab (diff) | |
download | eSim-22254c4024c72f71de4d4fc0b71bbb22fac8a747.tar.gz eSim-22254c4024c72f71de4d4fc0b71bbb22fac8a747.tar.bz2 eSim-22254c4024c72f71de4d4fc0b71bbb22fac8a747.zip |
Subject: Modiefied newProject.py and added few icons
Description: Moddiefied newProject.py with few validation check and
icons for newProject ,CloseProject and openProject
Diffstat (limited to 'src/frontEnd')
-rwxr-xr-x | src/frontEnd/Application.py | 6 | ||||
-rw-r--r-- | src/frontEnd/Workspace.py | 1 | ||||
-rw-r--r-- | src/frontEnd/Workspace.pyc | bin | 3466 -> 3466 bytes |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py index 0ef5b8b4..c454f6cc 100755 --- a/src/frontEnd/Application.py +++ b/src/frontEnd/Application.py @@ -58,15 +58,15 @@ class Application(QtGui.QMainWindow): def initActions(self): - self.newproj = QtGui.QAction(QtGui.QIcon('../images/default.png'),'<b>New Project</b>',self) + self.newproj = QtGui.QAction(QtGui.QIcon('../images/newProject.svg'),'<b>New Project</b>',self) self.newproj.setShortcut('Ctrl+N') self.newproj.triggered.connect(self.new_project) - self.openproj = QtGui.QAction(QtGui.QIcon('../images/default.png'),'<b>Open Project</b>',self) + self.openproj = QtGui.QAction(QtGui.QIcon('../images/openProject.svg'),'<b>Open Project</b>',self) self.openproj.setShortcut('Ctrl+O') self.openproj.triggered.connect(self.open_project) - self.exitproj = QtGui.QAction(QtGui.QIcon('../images/default.png'),'<b>Exit</b>',self) + self.exitproj = QtGui.QAction(QtGui.QIcon('../images/closeProject.svg'),'<b>Exit</b>',self) self.exitproj.setShortcut('Ctrl+X') self.exitproj.triggered.connect(self.exit_project) diff --git a/src/frontEnd/Workspace.py b/src/frontEnd/Workspace.py index 921e0a56..e52801e7 100644 --- a/src/frontEnd/Workspace.py +++ b/src/frontEnd/Workspace.py @@ -96,7 +96,6 @@ class Workspace(QtGui.QWidget): self.create_workspace = str(self.worspace_loc.text()) if os.path.isdir(self.create_workspace): - pass print "Already present" self.obj.default_workspace["workspace"] = self.create_workspace diff --git a/src/frontEnd/Workspace.pyc b/src/frontEnd/Workspace.pyc Binary files differindex d2010c9f..a1d59398 100644 --- a/src/frontEnd/Workspace.pyc +++ b/src/frontEnd/Workspace.pyc |