Files
radar_system/python_app/gui/controllers/sections/preprocess_summary_section.py
T
2026-03-05 14:42:33 +03:00

20 lines
707 B
Python

"""Builder for preprocess set summary section."""
from __future__ import annotations
from PyQt6.QtWidgets import QFormLayout, QGroupBox, QLabel
def build_preprocess_summary_group(owner) -> QGroupBox:
"""Create selected calibration/reference summary section."""
group = QGroupBox("Selected Preprocess Sets")
form = QFormLayout(group)
form.setFieldGrowthPolicy(QFormLayout.FieldGrowthPolicy.AllNonFixedFieldsGrow)
owner._selected_calibration_label = QLabel("<not selected>")
owner._selected_reference_label = QLabel("<not selected>")
form.addRow("Calibration", owner._selected_calibration_label)
form.addRow("Reference", owner._selected_reference_label)
return group