Source code for pyleecan.GUI.Dialog.DMachineSetup.SWSlot.PWSlot11.Gen_PWSlot11
# -*- coding: utf-8 -*-
"""File generated according to PWSlot11/gen_list.json
WARNING! All changes made in this file will be lost!
"""
from pyleecan.GUI.Dialog.DMachineSetup.SWSlot.PWSlot11.Ui_PWSlot11 import Ui_PWSlot11
[docs]class Gen_PWSlot11(Ui_PWSlot11):
[docs] def setupUi(self, PWSlot11):
"""Abstract class to update the widget according to the csv doc"""
Ui_PWSlot11.setupUi(self, PWSlot11)
# Setup of in_W0
txt = self.tr(u"""Slot isthmus width.""")
self.in_W0.setWhatsThis(txt)
self.in_W0.setToolTip(txt)
# Setup of lf_W0
self.lf_W0.validator().setBottom(0)
txt = self.tr(u"""Slot isthmus width.""")
self.lf_W0.setWhatsThis(txt)
self.lf_W0.setToolTip(txt)
# Setup of in_W1
txt = self.tr(u"""Slot top width.""")
self.in_W1.setWhatsThis(txt)
self.in_W1.setToolTip(txt)
# Setup of lf_W1
self.lf_W1.validator().setBottom(0)
txt = self.tr(u"""Slot top width.""")
self.lf_W1.setWhatsThis(txt)
self.lf_W1.setToolTip(txt)
# Setup of in_W2
txt = self.tr(u"""Slot bottom width.""")
self.in_W2.setWhatsThis(txt)
self.in_W2.setToolTip(txt)
# Setup of lf_W2
self.lf_W2.validator().setBottom(0)
txt = self.tr(u"""Slot bottom width.""")
self.lf_W2.setWhatsThis(txt)
self.lf_W2.setToolTip(txt)
# Setup of in_H0
txt = self.tr(u"""Slot isthmus height.""")
self.in_H0.setWhatsThis(txt)
self.in_H0.setToolTip(txt)
# Setup of lf_H0
self.lf_H0.validator().setBottom(0)
txt = self.tr(u"""Slot isthmus height.""")
self.lf_H0.setWhatsThis(txt)
self.lf_H0.setToolTip(txt)
# Setup of in_H1
txt = self.tr(u"""height or angle (See Schematics)""")
self.in_H1.setWhatsThis(txt)
self.in_H1.setToolTip(txt)
# Setup of lf_H1
self.lf_H1.validator().setBottom(0)
txt = self.tr(u"""height or angle (See Schematics)""")
self.lf_H1.setWhatsThis(txt)
self.lf_H1.setToolTip(txt)
# Setup of in_H2
txt = self.tr(u"""Slot height below wedge """)
self.in_H2.setWhatsThis(txt)
self.in_H2.setToolTip(txt)
# Setup of lf_H2
self.lf_H2.validator().setBottom(0)
txt = self.tr(u"""Slot height below wedge """)
self.lf_H2.setWhatsThis(txt)
self.lf_H2.setToolTip(txt)
# Setup of in_R1
txt = self.tr(u"""Slot bottom radius""")
self.in_R1.setWhatsThis(txt)
self.in_R1.setToolTip(txt)
# Setup of lf_R1
self.lf_R1.validator().setBottom(0)
txt = self.tr(u"""Slot bottom radius""")
self.lf_R1.setWhatsThis(txt)
self.lf_R1.setToolTip(txt)