sec_interp.gui.dialog_facade_mixin module
Delegation/proxy mixin for the SecInterp main dialog.
- class sec_interp.gui.dialog_facade_mixin.DialogFacadeMixin
Bases:
objectThin proxies that delegate to the dialog’s specialized managers.
- accept_handler() None
Handle the accept button click event.
- clear_cache_handler() None
Clear cached data and notify user.
- export_preview() None
Export the current preview to a file using ExportManager.
- getThemeIcon(name: str) Any
Get a theme icon via DialogEntityManager.
- get_layer_names_by_geometry(geometry_type) list[str]
Get layer names by geometry.
- get_layer_names_by_type(layer_type) list[str]
Get layer names by type.
- get_preview_options() dict[str, Any]
Return the state of preview layer checkboxes.
- Returns:
Keys ‘show_topo’, ‘show_geol’, ‘show_struct’ with boolean values.
- Return type:
dict
- get_selected_values() dict[str, Any]
Get the selected values from the dialog.
- Returns:
Dictionary with all dialog values in legacy flat format
- property interpretations: list[InterpretationPolygon]
Proxy to interpretations in the manager for backward compatibility.
- on_interpretation_finished(interpretation: InterpretationPolygon) None
Handle finalized interpretation polygon.
- preview_profile_handler() None
Generate a quick preview and auto-save settings on success.
- reject_handler() None
Handle the reject button click event.
- reset_defaults_handler() None
Reset all dialog inputs via state_manager.
- toggle_interpretation_tool(checked: bool) None
Toggle interpretation tool via tool_manager.
- toggle_measure_tool(checked: bool) None
Toggle measurement tool via tool_manager.
- update_button_state() None
Enable or disable buttons via state_manager.
- update_measurement_display(metrics: dict[str, Any]) None
Display measurement results from multi-point tool via tool_manager.
- update_preview_checkbox_states() None
Enable or disable preview checkboxes via state_manager.
- update_preview_from_checkboxes() None
Update preview when checkboxes change via PreviewManager.