From 034bc2734d017f3bdc94a309102b3141cb623ce9 Mon Sep 17 00:00:00 2001 From: xoher Date: Tue, 28 Jul 2015 02:36:59 +0530 Subject: Kicad to NgSpice conversion opens in dock area --- src/frontEnd/Application.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/frontEnd/Application.py') diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py index a139a7bd..06be27ff 100755 --- a/src/frontEnd/Application.py +++ b/src/frontEnd/Application.py @@ -46,8 +46,8 @@ class Application(QtGui.QMainWindow): #Creating require Object self.obj_workspace = Workspace.Workspace() - self.obj_kicad = Kicad() self.obj_Mainview = MainView() + self.obj_kicad = Kicad(self.obj_Mainview.obj_dockarea) self.obj_appconfig = Appconfig() #Initialize all widget @@ -228,6 +228,13 @@ class Application(QtGui.QMainWindow): print "model editor is called" self.obj_appconfig.print_info('model editor is called') self.obj_Mainview.obj_dockarea.modelEditor() + """ + def open_kicadToNgspice(self): + print "kicadToNgspice is called" + self.obj_appconfig.print_info('kicadToNgspice is called') + self.obj_Mainview.obj_dockarea.kicadToNgspiceEditor()""" + + def testing(self): print "Success hit kicad button" -- cgit From d9482c3c0bcb33162aeef55a3a2b79e606c02aa3 Mon Sep 17 00:00:00 2001 From: xoher Date: Tue, 28 Jul 2015 02:49:57 +0530 Subject: Kicad to NgSpice conversion opens in dock area --- src/frontEnd/Application.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/frontEnd/Application.py') diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py index 06be27ff..7ee98aa8 100755 --- a/src/frontEnd/Application.py +++ b/src/frontEnd/Application.py @@ -99,6 +99,7 @@ class Application(QtGui.QMainWindow): self.logopic = QtGui.QPixmap(os.path.join(os.path.abspath('../..'),'images','fosseeLogo.png')) self.logopic = self.logopic.scaled(QSize(150,150),QtCore.Qt.KeepAspectRatio) self.logo.setPixmap(self.logopic) + self.logo.setStyleSheet("padding:0 15px 0 0;") self.topToolbar.addWidget(self.logo) #Left Tool bar Action Widget -- cgit