Source code for pyleecan.GUI.Dialog.DMachineSetup.SMSlot.PMSlot18.Gen_PMSlot18
# -*- coding: utf-8 -*-
"""File generated according to PMSlot18/gen_list.json
WARNING! All changes made in this file will be lost!
"""
from pyleecan.GUI.Dialog.DMachineSetup.SMSlot.PMSlot18.Ui_PMSlot18 import Ui_PMSlot18
[docs]class Gen_PMSlot18(Ui_PMSlot18):
[docs] def setupUi(self, PMSlot18):
"""Abstract class to update the widget according to the csv doc"""
Ui_PMSlot18.setupUi(self, PMSlot18)
# Setup of in_Hmag
txt = self.tr(u"""Magnet Height""")
self.in_Hmag.setWhatsThis(txt)
self.in_Hmag.setToolTip(txt)
# Setup of lf_Hmag
self.lf_Hmag.validator().setBottom(0)
txt = self.tr(u"""Magnet Height""")
self.lf_Hmag.setWhatsThis(txt)
self.lf_Hmag.setToolTip(txt)