splash_screen
_splash_screen
¶
Custom splash screen widget.
Classes:
| Name | Description |
|---|---|
FXSplashScreen |
Customized QSplashScreen class. |
Classes¶
FXSplashScreen
¶
FXSplashScreen(
image_path: Optional[str] = None,
icon: Optional[str] = None,
title: Optional[str] = None,
information: Optional[str] = None,
show_progress_bar: bool = False,
project: Optional[str] = None,
version: Optional[str] = None,
company: Optional[str] = None,
fade_in: bool = False,
set_stylesheet: bool = True,
overlay_opacity: float = 1.0,
corner_radius: int = 0,
border_width: int = 0,
border_color: str = "#4a4949",
)
Bases: FXThemeAware, QSplashScreen
flowchart TD
fxgui.fxwidgets._splash_screen.FXSplashScreen[FXSplashScreen]
fxgui.fxstyle.FXThemeAware[FXThemeAware]
fxgui.fxstyle.FXThemeAware --> fxgui.fxwidgets._splash_screen.FXSplashScreen
click fxgui.fxwidgets._splash_screen.FXSplashScreen href "" "fxgui.fxwidgets._splash_screen.FXSplashScreen"
click fxgui.fxstyle.FXThemeAware href "" "fxgui.fxstyle.FXThemeAware"
Customized QSplashScreen class.
Methods:
| Name | Description |
|---|---|
paintEvent |
Override to draw the pixmap with rounded corners. |
set_border |
Set the border around the splash screen. |
set_company_label |
Set the company name for the splash screen. |
set_corner_radius |
Set the corner radius for rounded corners. |
set_icon |
Set the icon for the splash screen. |
set_information_text |
Set the information text for the splash screen. |
set_overlay_opacity |
Set the opacity of the grey overlay background. |
set_pixmap |
Set the pixmap for the splash screen. |
set_progress |
Set the progress value for the splash screen. |
set_project_label |
Set the project name for the splash screen. |
set_title |
Set the title for the splash screen. |
set_version_label |
Set the version information for the splash screen. |
toggle_fade_in |
Toggle the fade-in effect for the splash screen. |
toggle_progress_bar_visibility |
Toggle the visibility of the progress bar. |