hyloa.main module

Entry point for HYLOA application.

class hyloa.main.Splash(pixmap)[source]

Bases: QWidget

Splash screen with a logo and a progress bar.

set_progress(value)[source]

Update the progress bar value.

Parameters:

value (int) – The new value for the progress bar (0-100).

hyloa.main.compute_remaining_time(start_time, min_splash_time)[source]

Compute the remaining time to show the splash screen

Parameters:
  • start_time (float) – The time when the splash screen was shown (monotonic).

  • min_splash_time (float) – The minimum duration to show the splash screen (seconds).

Returns:

Remaining time in milliseconds to show the splash screen.

Return type:

int

hyloa.main.main()[source]

Main entry point for the HYLOA application.