rayoptics.qtgui.idealimagerdialog module

Qt5 dialog box for ideal imager ui

value_to_text(value, fmt_str='{:> #.5f}')[source]
class IdealImagerDialog(conjugate_type, specsheets, cmd_fct=None, **kwargs)[source]

Bases: QWidget

createButtonBox(cmd_fct)[source]
createConjugateBox(itype='infinite')[source]
change_conjugate(conj_type)[source]
update_conjugate(conj_type)[source]
update_values()[source]

callback routine for any dialog value change

update_checkboxes()[source]

callback routine for any dialog checkbox change

staticMetaObject = PySide6.QtCore.QMetaObject("IdealImagerDialog" inherits "QWidget": )
class ImagerSpecGroupBox(parent, specsheet, keys=None, labels=None, **kwargs)[source]

Bases: QGroupBox

value_change(imager_key)[source]
chkbox_change(state, imager_key)[source]
update_values()[source]
update_checkboxes()[source]
staticMetaObject = PySide6.QtCore.QMetaObject("ImagerSpecGroupBox" inherits "QGroupBox": )
class EtendueGroupBox(parent, itype, specsheet, **kwargs)[source]

Bases: QGroupBox

value_change(fld_ape, obj_img, key)[source]

callback routine for item value widget

chkbox_change(state, fld_ape, obj_img, key)[source]

callback routine for item checkbox

update_values()[source]
update_checkboxes()[source]

update the enabled and checked state for the etendue groupbox

staticMetaObject = PySide6.QtCore.QMetaObject("EtendueGroupBox" inherits "QGroupBox": )
class SpaceGroupBox(parent, title, fld_ape, obj_img, keys, labels=None, **kwargs)[source]

Bases: QGroupBox

update_values(inputs, values)[source]

update the display for the etendue cell being updated

update_checkboxes(inputs, values, partition_defined=False)[source]

update the display for the etendue cell being updated

A partition is an aperture or field pair of object/image inputs.

If it is defined, this means that all attrs can be supplied. In this case, the inputs will have editable values and (checked) checkboxes; the remaining attrs will have uneditable values and (unchecked) checkboxes.

If the partition is not defined, all values and checkboxes will be editable, the input attrs, if any, will be checked.

staticMetaObject = PySide6.QtCore.QMetaObject("SpaceGroupBox" inherits "QGroupBox": )