pyleecan.GUI.Dialog.DMachineSetup.DAVDuct.WVent.WVent module

class WVent(lam, index)[source]

Bases: Gen_WVent, 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

set_Alpha0()[source]

Signal to update the value of Alpha0 according to the line edit

Parameters:

self (WVent) – A WVent object

set_Alpha0_unit()[source]

Change current unit of Alpha0

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>