Source code for pyleecan.GUI.Dialog.DMachineSetup.DAVDuct.WVent.Gen_WVent

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


[docs]class Gen_WVent(Ui_WVent):
[docs] def setupUi(self, WVent): """Abstract class to update the widget according to the csv doc""" Ui_WVent.setupUi(self, WVent) # Setup of in_Alpha0 txt = self.tr( u"""<qt><nobr>Shift angle of the holes around circumference</nobr></qt>""" ) self.in_Alpha0.setWhatsThis(txt) self.in_Alpha0.setToolTip(txt) # Setup of lf_Alpha0 self.lf_Alpha0.validator().setBottom(0) self.lf_Alpha0.validator().setTop(6.29) txt = self.tr( u"""<qt><nobr>Shift angle of the holes around circumference</nobr></qt>""" ) self.lf_Alpha0.setWhatsThis(txt) self.lf_Alpha0.setToolTip(txt)