Source code for pyleecan.GUI.Dialog.DMachineSetup.SMSlot.WSlotCirc.Gen_WSlotCirc

# -*- coding: utf-8 -*-
"""File generated according to WSlotCirc/gen_list.json
WARNING! All changes made in this file will be lost!
"""
from pyleecan.GUI.Dialog.DMachineSetup.SMSlot.WSlotCirc.Ui_WSlotCirc import Ui_WSlotCirc


[docs]class Gen_WSlotCirc(Ui_WSlotCirc):
[docs] def setupUi(self, WSlotCirc): """Abstract class to update the widget according to the csv doc""" Ui_WSlotCirc.setupUi(self, WSlotCirc) # Setup of in_W0 txt = self.tr(u"""<qt><nobr>Slot isthmus width.</nobr></qt>""") self.in_W0.setWhatsThis(txt) self.in_W0.setToolTip(txt) # Setup of lf_W0 self.lf_W0.validator().setBottom(0) txt = self.tr(u"""<qt><nobr>Slot isthmus width.</nobr></qt>""") self.lf_W0.setWhatsThis(txt) self.lf_W0.setToolTip(txt) # Setup of in_H0 txt = self.tr(u"""<qt><nobr>Slot height</nobr></qt>""") self.in_H0.setWhatsThis(txt) self.in_H0.setToolTip(txt) # Setup of lf_H0 self.lf_H0.validator().setBottom(0) txt = self.tr(u"""<qt><nobr>Slot height</nobr></qt>""") self.lf_H0.setWhatsThis(txt) self.lf_H0.setToolTip(txt)