iblrig.gui.validation.SystemValidationDialog

Inheritance diagram of SystemValidationDialog

class iblrig.gui.validation.SystemValidationDialog[source]
__init__(*args, hardware_settings, rig_settings, **kwargs)[source]

Dialog for system validation.

Parameters:
  • *args – Arguments to pass to the QDialog constructor.

  • hardware_settings (HardwareSettings) – Pydantic model with data parsed from hardware_settings.yaml

  • rig_settings (RigSettings) – Pydantic model with data parsed from iblrig_settings.yaml

  • **kwargs – Keyword arguments to pass to the QDialog constructor.

Parameters:
Return type:

None

on_item_finished(idx, status)[source]
Parameters:
on_item_result(idx, result)[source]
Parameters:
on_item_started(idx)[source]
Parameters:

idx (int)

run()[source]

Prepare GUI and start worker thread for running validators.

run_subprocess()[source]

Run all validators in a subprocess.

item_finished

str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

Type:

pyqtSignal(*types, name

item_result

str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

Type:

pyqtSignal(*types, name

item_started

str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

Type:

pyqtSignal(*types, name

status_items: list[StatusItem] = []
validator_items: list[ValidatorItem] = []