summaryrefslogtreecommitdiff
path: root/src/frontEnd/Application.py
diff options
context:
space:
mode:
authorfahim2015-02-25 12:28:36 +0530
committerfahim2015-02-25 12:28:36 +0530
commitb8a87cdb785471005e96234782287528e3edc39c (patch)
treea4fb514bd17255b67514c3546ced9dce9e769197 /src/frontEnd/Application.py
parent22254c4024c72f71de4d4fc0b71bbb22fac8a747 (diff)
downloadeSim-b8a87cdb785471005e96234782287528e3edc39c.tar.gz
eSim-b8a87cdb785471005e96234782287528e3edc39c.tar.bz2
eSim-b8a87cdb785471005e96234782287528e3edc39c.zip
Subject: Kicad Module modified along with some other minor changes
Description: Added openschematic,openlayout,openpcb in the kicad module.
Diffstat (limited to 'src/frontEnd/Application.py')
-rwxr-xr-xsrc/frontEnd/Application.py19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py
index c454f6cc..ff1ffb2a 100755
--- a/src/frontEnd/Application.py
+++ b/src/frontEnd/Application.py
@@ -20,7 +20,7 @@
from PyQt4 import QtGui, QtCore
from configuration.Appconfig import Appconfig
-from projManagement.openProject import ProjectInfo
+from projManagement.openProject import OpenProjectInfo
from projManagement.newProject import NewProjectInfo
import os
import ViewManagement
@@ -42,14 +42,14 @@ class Application(QtGui.QMainWindow):
#Creating Application configuration object
- self.confObj = Appconfig()
- self.setGeometry(self.confObj._app_xpos,
- self.confObj._app_ypos,
- self.confObj._app_width,
- self.confObj._app_heigth)
- self.setWindowTitle(self.confObj._APPLICATION)
+ self.obj_appconfig = Appconfig()
+ self.setGeometry(self.obj_appconfig._app_xpos,
+ self.obj_appconfig._app_ypos,
+ self.obj_appconfig._app_width,
+ self.obj_appconfig._app_heigth)
+ self.setWindowTitle(self.obj_appconfig._APPLICATION)
#Init Workspace
- self.work_space = Workspace.Workspace()
+ self.obj_workspace = Workspace.Workspace()
#Init necessary components in sequence
self.initActions()
@@ -96,7 +96,7 @@ class Application(QtGui.QMainWindow):
def open_project(self):
print "Open Project called"
- self.project = ProjectInfo()
+ self.project = OpenProjectInfo()
self.project.body()
def exit_project(self):
@@ -105,6 +105,7 @@ class Application(QtGui.QMainWindow):
def help_project(self):
print "Help is called"
+ print "Current Project : ",self.obj_appconfig.current_project
def testing(self):
print "Sucess hit kicad button"