intellicrack.ui.dialogs

Dialog components for Intellicrack UI.

This package provides dialog widgets including the splash screen and other modal dialogs.

final class SplashScreen[source]

Bases: QSplashScreen

Custom splash screen with animated gradient, glow effects, and pipeline indicator.

Displays the Intellicrack splash image during application startup with real-time progress updates, animated visual effects, and a multi-phase pipeline loading indicator.

Variables:

progress_updated – Qt signal emitted on progress change with (value, message).

__init__(version='')[source]

Initialize the SplashScreen with the given version string.

Parameters:

version (str) – Application version string to display.

Return type:

None

static compute_dpi_scale()[source]

Compute DPI scale factor from the primary screen.

Returns:

DPI scale factor (defaults to 1.0 if unavailable).

Return type:

float

static load_splash_pixmap(width, height, dpi_scale)[source]

Load the splash screen image or create fallback.

Parameters:
  • width (int) – Target pixmap width.

  • height (int) – Target pixmap height.

  • dpi_scale (float) – DPI scale factor.

Returns:

QPixmap for the splash screen.

Return type:

QPixmap

static create_fallback_pixmap(width, height, dpi_scale)[source]

Create a fallback splash screen pixmap.

Parameters:
  • width (int) – Pixmap width.

  • height (int) – Pixmap height.

  • dpi_scale (float) – DPI scale factor for font sizing.

Returns:

QPixmap with generated splash screen.

Return type:

QPixmap

show_animated()[source]

Show the splash screen with a fade-in animation and start visual effects.

Return type:

None

finish_animated(window)[source]

Finish the splash screen with a fade-out animation.

Parameters:

window (QWidget) – Main window to show after fade-out completes.

Return type:

None

mark_stage_failed(stage_index)[source]

Mark a pipeline stage as failed.

Parameters:

stage_index (int) – Index of the stage to mark (0-7).

Return type:

None

set_progress(value, message='')[source]

Update the progress bar and status message.

Parameters:
  • value (int) – Progress value (0-100).

  • message (str) – Status message to display.

Return type:

None

paintEvent(a0)[source]

Render all splash screen visual layers.

Parameters:

a0 (QPaintEvent | None) – Paint event from Qt.

Return type:

None

resizeEvent(a0)[source]

Handle resize events to adjust the overlay geometry.

Parameters:

a0 (QResizeEvent | None) – Resize event from Qt.

Return type:

None

property progress: int

Current progress value.

Returns:

Current progress (0-100).

Return type:

int

property status: str

Current status message.

Returns:

Current status message.

Return type:

str

property status_label: QLabel

Hidden status label widget retained for backward compatibility.

The status text is painted by paintEvent(); this label keeps the same text for callers that read it and is never shown.

Returns:

The hidden status label widget (retained for backward compatibility).

Return type:

QLabel

property dpi_scale: float

DPI scale factor used for this splash screen.

Returns:

DPI scale factor used for this splash screen.

Return type:

float

property version: str

Version string displayed on the splash screen.

Returns:

Version string displayed on the splash screen.

Return type:

str

Submodules

splash_screen

Splash screen for Intellicrack application startup.