pyleecan.GUI.Dialog.DMachineSetup.DNotchTab.WNotch.WNotch module¶
- class WNotch(parent, index)[source]¶
Bases:
Ui_WNotch
,QWidget
Widget to Setup a single notch in a list
- saveNeeded¶
- set_notch_type(c_index)[source]¶
Initialize self.obj with the notch corresponding to index
- Parameters:
self (WNotch) – A WNotch object
c_index (int) – Index of the selected notch type in the combobox
- check()[source]¶
Check that the current machine have all the needed field set
- Parameters:
self (WnotchMag) – A WnotchMag widget
- Returns:
error – Error message (return None if no error)
- Return type:
str
- staticMetaObject = <PySide2.QtCore.QMetaObject object>¶