SwitchCase¶
Case child for SwitchPresenter.
import QWinUI3.Extras · src/extras/QWinUI3/Extras/SwitchCase.qml
Category: Input & forms · Library: v2.80
Extends Item.
Example¶
SwitchPresenter {
currentCase: "a"
SwitchCase { value: "a"; Label { text: "A" } }
SwitchCase { value: "b"; Label { text: "B" } }
}
Notes¶
Named case content for SwitchPresenter (value matches currentCase).
API¶
Properties¶
| Name | Type | Description |
|---|---|---|
value |
var |
Current value |
active |
bool |
Active state |
contentData |
alias |
Default children / content slot |
Signals¶
No custom signals (use inherited signals from the base type).
Methods¶
No custom methods (use inherited methods from the base type).
Inherited from Item¶
Also available (base type / Qt Quick Controls):
width/heightvisibleanchors
Generated from module sources by scripts/generate_component_docs.py — do not edit by hand.