pyleecan.GUI.Dialog.DMachineSetup.SMSlot.PMSlot17.PMSlot17 module¶
- translate(context: bytes, key: bytes, disambiguation: Union[bytes, NoneType] = None, n: int = - 1) str ¶
- class PMSlot17(lamination=None)[source]¶
Bases:
Gen_PMSlot17
,QWidget
Page to set the Slot Magnet Type 17
- saveNeeded¶
- slot_name = 'Cylindrical magnet (no lamination)'¶
- set_Lmag()[source]¶
Signal to update the value of Lmag according to the line edit
- Parameters:
self (PMSlot17) – A PMSlot17 object
- static check(lam)[source]¶
Check that the current machine have all the needed field set
- Parameters:
lam (LamSlotMag) – Lamination to check
- Returns:
error – Error message (return None if no error)
- Return type:
str
- staticMetaObject = <PySide2.QtCore.QMetaObject object>¶