Skip to content

ThemeAppearanceSettings

Drop-in SettingsGroup for Theme knobs (1.69).

import QWinUI3.Extras · src/extras/QWinUI3/Extras/ThemeAppearanceSettings.qml

Category: Layout · Library: v3.56

← Component index

Python: same QML type after qwinui3.setup_engine() — Python API.

Extends SettingsGroup.

Example

SettingsView {
    ThemeAppearanceSettings {
        persist: true
        prefsCategory: "MyAppTheme"
    }
}

// --- API ---
// persist / prefsCategory / showCopyRecipe
// Copy recipe uses Theme.recipeText() — paste into any app; not Gallery-only.

Notes

Same cards Gallery Settings uses. Follow-system apply is ThemeSync (shells). persist writes ThemePrefs (docs/settings-persistence.md). Branding wave 2: accent packs + contrast/density — docs/theme-overrides.md (2.38).

API

Properties

Name Type Description
persist bool Persist via ThemePrefs (QSettings). Gallery / demo pages set persist: false explicitly.
prefsCategory string —
showCopyRecipe bool —
recipeSnippet string —
prefs ThemePrefs —
systemSync ThemeSync —

Signals

No custom signals (use inherited signals from the base type).

Methods

No custom methods (use inherited methods from the base type).


Generated from module sources by scripts/generate_component_docs.py — do not edit by hand.