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:
QSplashScreenCustom 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:
- static load_splash_pixmap(width, height, dpi_scale)[source]
Load the splash screen image or create fallback.
- static create_fallback_pixmap(width, height, dpi_scale)[source]
Create a fallback splash screen pixmap.
- 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.
- 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 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:
Submodules
Splash screen for Intellicrack application startup. |