Theme
app.ui.qt.shared.themeApplication-wide Qt themes and semantic color tokens.
apply_application_theme(application: QApplication, theme: str) -> None
Apply the selected system, light, or dark palette and widget styling.
| PARAMETER | DESCRIPTION |
|---|---|
application
|
Running Qt application whose palette and stylesheet are updated.
TYPE:
|
theme
|
Theme identifier. Unsupported identifiers use the system theme.
TYPE:
|
Side Effects
Updates the application palette and stylesheet, refreshing all widgets.