summaryrefslogtreecommitdiff
path: root/src/frontEnd/Application.py
diff options
context:
space:
mode:
authorfahim2015-04-22 17:52:04 +0530
committerfahim2015-04-22 17:52:04 +0530
commit342730ed59f75ebe1b5df0f886ae9e6bcd787ee6 (patch)
tree759bb8348608c67057aa58b4c654d9cb2339f62d /src/frontEnd/Application.py
parentaf98d04dd0a438b7dd63ff72c71f0ceb695fe704 (diff)
downloadeSim-342730ed59f75ebe1b5df0f886ae9e6bcd787ee6.tar.gz
eSim-342730ed59f75ebe1b5df0f886ae9e6bcd787ee6.tar.bz2
eSim-342730ed59f75ebe1b5df0f886ae9e6bcd787ee6.zip
Subject: Added Device Libarary Tab.Few Changes in Workspace class.
Description: Completed the Device Library auto creation of Widget. Added the information to schematicInfo.Hence to the final ".cir.out" file. Added sample device library. Deleted/Comment unwanted print statement. Added details of function in the comment.
Diffstat (limited to 'src/frontEnd/Application.py')
-rwxr-xr-xsrc/frontEnd/Application.py17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py
index e09e4113..b1c9252b 100755
--- a/src/frontEnd/Application.py
+++ b/src/frontEnd/Application.py
@@ -82,25 +82,30 @@ class Application(QtGui.QMainWindow):
self.mainToolbar.addAction(self.exitproj)
self.mainToolbar.addAction(self.helpfile)
- #self.test = self.addToolBar("Temp")
-
+
def initView(self):
"""
- Create gui from the class Views and initialize it
+ Create GUI from the class Views and initialize it
"""
self.view = ViewManagement.ViewManagement()
self.setCentralWidget(self.view)
def new_project(self):
+ """
+ This function call New Project Info class.
+ """
print "New Project called"
self.project = NewProjectInfo()
self.project.body()
def open_project(self):
+ """
+ This project call Open Project Info class
+ """
print "Open Project called"
self.project = OpenProjectInfo()
self.project.body()
@@ -127,7 +132,7 @@ class Application(QtGui.QMainWindow):
def testing(self):
- print "Sucess hit kicad button"
+ print "Success hit kicad button"
@@ -136,7 +141,7 @@ def main(args):
"""
It is main function of the module.It starts the application
"""
- print "Hello Main"
+ print "Starting eSim......"
app = QtGui.QApplication(args)
"""
@@ -150,7 +155,7 @@ def main(args):
progressBar.setValue(i)
t = time.time()
while time.time() < t + 0.1:
- app.processEvents()
+ app.processEvents()
time.sleep(2)