summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFahim2016-01-22 15:02:10 +0530
committerFahim2016-01-22 15:02:10 +0530
commit4366a4d375e0a942c8bc37aeeb0dabbc8849b86a (patch)
tree6c5568a8ce9ef97d07f5ed98762302551118db06 /src
parent146e5bb8a3770d02ed10f15a635ed6b68a9ca56e (diff)
downloadeSim-4366a4d375e0a942c8bc37aeeb0dabbc8849b86a.tar.gz
eSim-4366a4d375e0a942c8bc37aeeb0dabbc8849b86a.tar.bz2
eSim-4366a4d375e0a942c8bc37aeeb0dabbc8849b86a.zip
Commented PCB and Footprint editor related code as it will open directly from eeschema
Modified install-linux.sh to add PPA for Kicad-4
Diffstat (limited to 'src')
-rwxr-xr-xsrc/frontEnd/Application.py5
-rw-r--r--src/projManagement/Kicad.py7
2 files changed, 10 insertions, 2 deletions
diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py
index 6bfbf97e..55c36fb6 100755
--- a/src/frontEnd/Application.py
+++ b/src/frontEnd/Application.py
@@ -128,11 +128,14 @@ class Application(QtGui.QMainWindow):
self.ngspice = QtGui.QAction(QtGui.QIcon('../../images/ngspice.png'), '<b>Simulation</b>', self)
self.ngspice.triggered.connect(self.open_ngspice)
+ """
+ #Removing PCB and Footprint Editor as it will start from eeschema
self.footprint = QtGui.QAction(QtGui.QIcon('../../images/footprint.png'),'<b>Footprint Editor</b>',self)
self.footprint.triggered.connect(self.obj_kicad.openFootprint)
self.pcb = QtGui.QAction(QtGui.QIcon('../../images/pcb.png'),'<b>PCB Layout</b>',self)
self.pcb.triggered.connect(self.obj_kicad.openLayout)
+ """
self.model = QtGui.QAction(QtGui.QIcon('../../images/model.png'),'<b>Model Editor</b>',self)
self.model.triggered.connect(self.open_modelEditor)
@@ -155,8 +158,10 @@ class Application(QtGui.QMainWindow):
self.lefttoolbar.addAction(self.kicad)
self.lefttoolbar.addAction(self.conversion)
self.lefttoolbar.addAction(self.ngspice)
+ """
self.lefttoolbar.addAction(self.footprint)
self.lefttoolbar.addAction(self.pcb)
+ """
self.lefttoolbar.addAction(self.model)
self.lefttoolbar.addAction(self.subcircuit)
self.lefttoolbar.addAction(self.nghdl)
diff --git a/src/projManagement/Kicad.py b/src/projManagement/Kicad.py
index c2a0c948..41fb8d79 100644
--- a/src/projManagement/Kicad.py
+++ b/src/projManagement/Kicad.py
@@ -29,7 +29,7 @@ class Kicad:
def __init__(self,dockarea):
self.obj_validation = Validation.Validation()
self.obj_appconfig = Appconfig()
- self.obj_dockarea=dockarea
+ self.obj_dockarea= dockarea
def openSchematic(self):
"""
@@ -60,7 +60,8 @@ class Kicad:
self.msg.setWindowTitle("Error Message")
-
+ '''
+ #Commenting as it is no longer needed as PBC and Layout will open from eeschema
def openFootprint(self):
"""
This function create command to open Footprint editor
@@ -115,6 +116,8 @@ class Kicad:
self.msg.showMessage('Please select the project first. You can either create new project or open existing project')
self.obj_appconfig.print_warning('Please select the project first. You can either create new project or open existing project')
self.msg.setWindowTitle("Error Message")
+
+ '''
def openKicadToNgspice(self):
"""