Splash Screen¶
An application splash screen with progress indication and customizable appearance.
FXSplashScreen
¶
Bases: ,
Customized QSplashScreen class.
Methods:
| Name | Description |
|---|---|
|
Override to draw the pixmap with rounded corners. |
|
Set the border around the splash screen. |
|
Set the company name for the splash screen. |
|
Set the corner radius for rounded corners. |
|
Set the icon for the splash screen. |
|
Set the information text for the splash screen. |
|
Set the opacity of the grey overlay background. |
|
Set the pixmap for the splash screen. |
|
Set the progress value for the splash screen. |
|
Set the project name for the splash screen. |
|
Set the title for the splash screen. |
|
Set the version information for the splash screen. |
|
Toggle the fade-in effect for the splash screen. |
|
Toggle the visibility of the progress bar. |
set_border
¶
set_company_label
¶
Set the company name for the splash screen.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
|
The company name. |
required |
set_corner_radius
¶
Set the corner radius for rounded corners.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
|
The corner radius in pixels. Use 0 for sharp corners. |
required |
set_icon
¶
Set the icon for the splash screen.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
|
The path to the icon file. |
required |
set_information_text
¶
Set the information text for the splash screen.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
|
The information text. |
required |
set_overlay_opacity
¶
Set the opacity of the grey overlay background.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
|
The opacity value between 0.0 (transparent) and 1.0 (opaque). |
required |
set_pixmap
¶
Set the pixmap for the splash screen.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
|
The path to the image file. |
required |
set_progress
¶
set_project_label
¶
Set the project name for the splash screen.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
|
The project name. |
required |
set_title
¶
Set the title for the splash screen.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
|
The title string. |
required |
set_version_label
¶
Set the version information for the splash screen.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
|
The version string. |
required |