sec_interp.gui.utils module

UI Utilities Module.

General purpose UI helpers and user messaging.

sec_interp.gui.utils.show_user_message(parent: Any, title: str, message: str, level: str = 'warning') Any

Show message box with consistent styling and automatic logging.

Parameters:
  • parent – Parent widget (usually dialog or main window)

  • title – Message box title

  • message – Message content

  • level – Message level - “warning”, “info”, “error”, “critical”, “question”

Returns:

QMessageBox.StandardButton for “question” level, None otherwise