pyleecan.GUI.Dialog.DMachineSetup.SWSlot.PWSlot10.PWSlot10 module¶
- translate(context: bytes, key: bytes, disambiguation: Union[bytes, NoneType] = None, n: int = - 1) str ¶
- class PWSlot10(lamination=None, material_dict=None)[source]¶
Bases:
Gen_PWSlot10
,QWidget
Page to set the Slot Type 10
- saveNeeded¶
- slot_name = 'Slot Type 10'¶
- set_W0()[source]¶
Signal to update the value of W0 according to the line edit
- Parameters:
self (PWSlot10) – A PWSlot10 object
- set_W1()[source]¶
Signal to update the value of W1 according to the line edit
- Parameters:
self (PWSlot10) – A PWSlot10 object
- set_W2()[source]¶
Signal to update the value of W2 according to the line edit
- Parameters:
self (PWSlot10) – A PWSlot10 object
- set_H0()[source]¶
Signal to update the value of H0 according to the line edit
- Parameters:
self (PWSlot10) – A PWSlot10 object
- set_H1()[source]¶
Signal to update the value of H0 according to the line edit
- Parameters:
self (PWSlot10) – A PWSlot10 object
- set_H1_unit(value)[source]¶
Signal to update the value of H1_unit according to the combobox
- Parameters:
self (PWSlot10) – A PWSlot10 object
value (int) – Current index of the combobox
- set_H2()[source]¶
Signal to update the value of H2 according to the line edit
- Parameters:
self (PWSlot10) – A PWSlot10 object
- static check(lam)[source]¶
Check that the current machine have all the needed field set
- Parameters:
lam (LamSlotWind) – Lamination to check
- Returns:
error – Error message (return None if no error)
- Return type:
str
- staticMetaObject = <PySide2.QtCore.QMetaObject object>¶