sec_interp.gui.ui.pages.structure_page module

Structural configuration page.

class sec_interp.gui.ui.pages.structure_page.StructurePage(*args: Any, **kwargs: Any)

Bases: BasePage

Configuration page for Structural Measurements.

__init__(parent: Any = None) → None

Initialize the structure configuration page.

Parameters:

parent – Optional parent widget.

connect_signals() → None

Connect internal signals for the structure page.

Kept out of _setup_ui because SignalManager.connect_all calls disconnect_signals first and then re-invokes this method; wiring in _setup_ui would be lost after the first reconnection.

disconnect_signals() → None

Disconnect all signals to prevent memory leaks.

dump() → dict[str, Any]

Return the persistable structure state.

get_data() → dict[str, Any]

Get structural configuration.

is_complete() → bool

Check if required fields are filled if a layer is selected.

layer_keys = frozenset({'struct_layer'})
load(data: dict[str, Any]) → None

Apply persisted structure state.

reset() → None

Reset structure inputs to defaults.