sec_interp.gui.dialog_input_manager module

Input management module for SecInterp main dialog.

Handles data aggregation and validation for the dialog UI.

class sec_interp.gui.dialog_input_manager.InputManager(dialog: SecInterpDialog)

Bases: object

Manages dialog inputs, including data collection and validation.

__init__(dialog: SecInterpDialog) None

Initialize input manager.

Parameters:

dialog – The main dialog instance.

can_export() bool

Check if export requirements are met.

can_preview() bool

Check if basic preview requirements are met.

get_all_values() dict[str, Any]

Get all UI values as a flat dictionary.

get_section_error(section: str) str

Get error message for a section.

get_validation_params() ValidationParams

Collect current UI state into ValidationParams.

is_section_valid(section: str) bool

Check if a section is valid.

validate_inputs() tuple[bool, str]

Validate all inputs via core ProjectValidator.

validate_preview_requirements() tuple[bool, str]

Validate minimum requirements for preview.