sec_interp.gui.dialog_interpretation_manager module

Interpretation management module for SecInterp main dialog.

This module handles interpretation polygons, their persistence, and attribute inheritance, decoupling this logic from the main dialog class.

class sec_interp.gui.dialog_interpretation_manager.InterpretationManager(dialog: SecInterpDialog)

Bases: object

Manages interpretation polygons and their business logic.

__init__(dialog: SecInterpDialog) None

Initialize interpretation manager.

Parameters:

dialog – The main dialog instance.

apply_attribute_inheritance(interpretation: InterpretationPolygon, config: dict[str, Any]) None

Inherit attributes from nearest geology or drillhole data.

handle_interpretation_finished(interpretation: InterpretationPolygon) None

Process a finished interpretation polygon.

Parameters:

interpretation – The finished interpretation polygon.

load_interpretations() None

Load interpretations from the QGIS project.

save_interpretations() None

Save interpretations to the QGIS project.