# sec_interp.gui.main_dialog_validation module

Validation module for SecInterp main dialog.

This module handles all validation logic for dialog inputs, separating concerns and making the code more testable and maintainable.

class sec_interp.gui.main_dialog_validation.DialogValidator(dialog: sec_interp.gui.main_dialog.SecInterpDialog)

  Bases: `object`

  Handles all validation logic for SecInterpDialog by collecting data and delegating to the core ProjectValidator.

  Initialize validator with reference to parent dialog.

  Parameters:

    dialog – The `sec_interp.gui.main_dialog.SecInterpDialog` instance to validate

  __init__(dialog: sec_interp.gui.main_dialog.SecInterpDialog)

    Initialize validator with reference to parent dialog.

    Parameters:

      dialog – The `sec_interp.gui.main_dialog.SecInterpDialog` instance to validate

  validate_inputs() → tuple[bool, str]

    Validate all dialog inputs by delegating to core.

  validate_preview_requirements() → tuple[bool, str]

    Validate minimum requirements for preview by delegating to core.