# sec_interp.gui.main_dialog_status module

UI status management module for SecInterp main dialog.

This module handles updating button states, preview checkboxes, and required field indicators.

class sec_interp.gui.main_dialog_status.DialogStatusManager(dialog: sec_interp.gui.main_dialog.SecInterpDialog)

  Bases: `object`

  Manage the status bar and indicators for the main dialog.

  Initialize status manager with reference to parent dialog.

  Parameters:

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

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

    Initialize status manager with reference to parent dialog.

    Parameters:

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

  update_all() → None

    Update all UI status components.

  update_preview_checkbox_states() → None

    Enable or disable preview checkboxes based on input validity.

  update_button_state() → None

    Enable or disable buttons based on input validity.

  setup_indicators() → None

    Set up required field indicators with warning icons.

  update_raster_status() → None

    Update raster layer status icon based on selection.

  update_section_status() → None

    Update section line status icon based on selection.