PWSlot22 module¶
-
translate
(context: bytes, key: bytes, disambiguation: typing.Union[bytes, NoneType] = None, n: int = -1) → str¶
-
class
PWSlot22
(lamination=None)[source]¶ Bases:
pyleecan.GUI.Dialog.DMachineSetup.SWSlot.PWSlot22.Gen_PWSlot22.Gen_PWSlot22
,PySide2.QtWidgets.QWidget
Page to set the Slot Type 22
-
saveNeeded
= <PySide2.QtCore.Signal object>¶
-
slot_name
= 'Slot Type 22'¶
-
slot_type
¶ alias of
pyleecan.Classes.SlotW22.SlotW22
-
set_W0
()[source]¶ Signal to update the value of W0 according to the line edit
- Parameters
self (PWSlot22) – A PWSlot22 object
-
set_W2
()[source]¶ Signal to update the value of W2 according to the line edit
- Parameters
self (PWSlot22) – A PWSlot22 object
-
set_H0
()[source]¶ Signal to update the value of H0 according to the line edit
- Parameters
self (PWSlot22) – A PWSlot22 object
-
set_H2
()[source]¶ Signal to update the value of H2 according to the line edit
- Parameters
self (PWSlot22) – A PWSlot22 object
-
set_W0_unit
(value)[source]¶ Signal to convert the value of W0 according to the combobox unit
- Parameters
self (PWSlot22) – A PWSlot22 object
value (int) – Current index of combobox
-
set_W2_unit
(value)[source]¶ Signal to convert the value of W2 according to the combobox unit
- Parameters
self (PWSlot22) – A PWSlot22 object
value (int) – Current index of combobox
-
static
check
(lam)[source]¶ Check that the current lamination 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>¶
-