summaryrefslogtreecommitdiff
path: root/src/projManagement/Kicad.py
diff options
context:
space:
mode:
authornilshah982019-05-28 12:47:00 +0530
committernilshah982019-06-13 12:15:09 +0530
commit7c47d9e2e0458d084ffea649c788a4c2b41520ef (patch)
treec3aeadda1eaa628ca38229241f76eb962ac281b7 /src/projManagement/Kicad.py
parent25c6eddcea3c8a62d9750a78435454544d8c7b14 (diff)
downloadeSim-7c47d9e2e0458d084ffea649c788a4c2b41520ef.tar.gz
eSim-7c47d9e2e0458d084ffea649c788a4c2b41520ef.tar.bz2
eSim-7c47d9e2e0458d084ffea649c788a4c2b41520ef.zip
projectManagement documentation added
Diffstat (limited to 'src/projManagement/Kicad.py')
-rw-r--r--src/projManagement/Kicad.py33
1 files changed, 28 insertions, 5 deletions
diff --git a/src/projManagement/Kicad.py b/src/projManagement/Kicad.py
index 2eaef643..d8c413c3 100644
--- a/src/projManagement/Kicad.py
+++ b/src/projManagement/Kicad.py
@@ -22,11 +22,22 @@ from configuration.Appconfig import Appconfig
from . import Worker
from PyQt4 import QtGui
+"""
+This class called the Kicad Schematic,KicadtoNgspice Converter,Layout
+editor and Footprint Editor
+"""
+
class Kicad:
+
"""
- This class called the Kicad Schematic,KicadtoNgspice Converter,Layout
- editor and Footprint Editor
+ Initialise validation, appconfig and dockarea
+
+ @params
+ :dockarea => passed from DockArea in frontEnd folder, consists
+ of all functions for dockarea
+
+ @return
"""
def __init__(self, dockarea):
@@ -34,10 +45,15 @@ class Kicad:
self.obj_appconfig = Appconfig()
self.obj_dockarea = dockarea
+ """
+ This function create command to open Kicad schematic after
+ appropriate validation checks
+
+ @params
+
+ @return
+ """
def openSchematic(self):
- """
- This function create command to open Kicad schematic
- """
print("Function : Open Kicad Schematic")
self.projDir = self.obj_appconfig.current_project["ProjectName"]
try:
@@ -134,7 +150,14 @@ class Kicad:
self.msg.setWindowTitle("Error Message")
'''
+ """
+ This function create command to validate and then call
+ KicadToNgSPice converter from DockArea file
+
+ @params
+ @return
+ """
def openKicadToNgspice(self):
"""
This function create command to call kicad to Ngspice converter.