From d7553c754ceb107042d75345e3c77115fdd735ab Mon Sep 17 00:00:00 2001 From: fahim Date: Thu, 19 Feb 2015 13:01:30 +0530 Subject: Subject: Modified newProject.py Description: Created GUI for newProject Block. Also added new module for openKicad functionality (Implementation is remaining) --- src/frontEnd/Application.py | 3 +++ src/frontEnd/Workspace.py | 1 + src/frontEnd/Workspace.pyc | Bin 3466 -> 3466 bytes 3 files changed, 4 insertions(+) (limited to 'src/frontEnd') diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py index e3e04b97..0ef5b8b4 100755 --- a/src/frontEnd/Application.py +++ b/src/frontEnd/Application.py @@ -21,6 +21,7 @@ from PyQt4 import QtGui, QtCore from configuration.Appconfig import Appconfig from projManagement.openProject import ProjectInfo +from projManagement.newProject import NewProjectInfo import os import ViewManagement import Workspace @@ -89,6 +90,8 @@ class Application(QtGui.QMainWindow): def new_project(self): print "New Project called" + self.project = NewProjectInfo() + self.project.body() def open_project(self): diff --git a/src/frontEnd/Workspace.py b/src/frontEnd/Workspace.py index fc41501d..921e0a56 100644 --- a/src/frontEnd/Workspace.py +++ b/src/frontEnd/Workspace.py @@ -54,6 +54,7 @@ class Workspace(QtGui.QWidget): self.cancelbtn.clicked.connect(self.defaultWorkspace) #Set Geometry + #Need to set Geometry properly self.note.setGeometry(QtCore.QRect(0, 0, 400, 100)) self.workspace_label.setGeometry(QtCore.QRect(10, 130, 81, 17)) self.worspace_loc.setGeometry(QtCore.QRect(100, 150, 200, 100)) diff --git a/src/frontEnd/Workspace.pyc b/src/frontEnd/Workspace.pyc index 99d373d5..d2010c9f 100644 Binary files a/src/frontEnd/Workspace.pyc and b/src/frontEnd/Workspace.pyc differ -- cgit