WVent module

class WVent(lam, index)[source]

Bases: pyleecan.GUI.Dialog.DMachineSetup.SLamParam.DAVDuct.WVent.Ui_WVent.Ui_WVent, PySide2.QtWidgets.QWidget

Widget to setup a Ventilation in the list

saveNeeded
set_vent_type(c_index)[source]

Initialize self.obj with the vent corresponding to index

Parameters
  • self (WVent) – A WVent object

  • c_index (index) – Index of the selected vent type in the combobox

check()[source]

Check that the current machine have all the needed field set

Parameters

self (WVent) – A WVent object

Returns

error – Error message (return None if no error)

Return type

str

staticMetaObject = <PySide2.QtCore.QMetaObject object>