SettingsView¶
Scrollable settings host (title + padded column).
import QWinUI3.Extras · src/extras/QWinUI3/Extras/SettingsView.qml
Category: Layout · Library: v2.80
Extends Control.
Example¶
SettingsView {
title: qsTr("Settings")
SettingsGroup {
title: qsTr("Appearance")
SettingsCard {
title: qsTr("Dark mode")
toggle: true
checked: Theme.dark
onToggled: Theme.dark = checked
}
}
}
Notes¶
Owns ScrollView, page title, and horizontal padding. Put SettingsGroup / SettingsCard / DetailRow as children — no Layout margins / fillWidth needed.
API¶
Properties¶
| Name | Type | Description |
|---|---|---|
title |
string |
Page title (hidden when empty) |
subtitle |
string |
Optional subtitle under the title |
pagePadding |
real |
Horizontal / vertical padding for the content column |
sectionSpacing |
real |
Vertical spacing between groups |
contentData |
alias |
Default children (settings groups / cards) |
Signals¶
No custom signals (use inherited signals from the base type).
Methods¶
No custom methods (use inherited methods from the base type).
Inherited from Control¶
Also available (base type / Qt Quick Controls):
paddingfontbackground/contentItem
Generated from module sources by scripts/generate_component_docs.py — do not edit by hand.