summaryrefslogtreecommitdiff
path: root/src/modelEditor/ModelEditor.py
diff options
context:
space:
mode:
authorrahulp132020-02-14 15:16:35 +0530
committerrahulp132020-02-14 15:16:35 +0530
commitcb55e59de7ee4383c04edfae7c39ad9ae9552b36 (patch)
treede1b292a10e8196689bf1a208fe6fe32f4618846 /src/modelEditor/ModelEditor.py
parent08d4a0336550a0e610709970a0c5d366e109fe82 (diff)
downloadeSim-cb55e59de7ee4383c04edfae7c39ad9ae9552b36.tar.gz
eSim-cb55e59de7ee4383c04edfae7c39ad9ae9552b36.tar.bz2
eSim-cb55e59de7ee4383c04edfae7c39ad9ae9552b36.zip
common code for Win and Linux, merged py2 changes
Diffstat (limited to 'src/modelEditor/ModelEditor.py')
-rw-r--r--src/modelEditor/ModelEditor.py28
1 files changed, 13 insertions, 15 deletions
diff --git a/src/modelEditor/ModelEditor.py b/src/modelEditor/ModelEditor.py
index 634c1fe3..3f616808 100644
--- a/src/modelEditor/ModelEditor.py
+++ b/src/modelEditor/ModelEditor.py
@@ -12,20 +12,20 @@ class ModelEditorclass(QtGui.QWidget):
- Initalise directory to save new models,
savepathtest = '../deviceModelLibrary'
- Initialise buttons and options ====>
- - - Name Function Called
+ - Name Function Called
========================================
- - - New opennew
- - - Edit openedit
- - - Save savemodelfile
- - - Upload converttoxml
- - - Add addparameters
- - - Remove removeparameter
- - - Diode diode_click
- - - BJT bjt_click
- - - MOS mos_click
- - - JFET jfet_click
- - - IGBT igbt_click
- - - Magnetic Core magnetic_click
+ - New opennew
+ - Edit openedit
+ - Save savemodelfile
+ - Upload converttoxml
+ - Add addparameters
+ - Remove removeparameter
+ - Diode diode_click
+ - BJT bjt_click
+ - MOS mos_click
+ - JFET jfet_click
+ - IGBT igbt_click
+ - Magnetic Core magnetic_click
'''
def __init__(self):
@@ -301,8 +301,6 @@ class ModelEditorclass(QtGui.QWidget):
if filetype == 'Magnetic Core':
path = os.path.join(self.path, 'CORE.xml')
self.createtable(path)
- else:
- pass
def openedit(self):
'''