ComboBox¶
Fluent ComboBox with rotating chevron indicator.
import QtQuick.Controls.QWinUI3 · src/style/QWinUI3/ComboBox.qml
Category: Styled controls · Library: v2.80
Gallery: ComboBox — src/gallery/pages/ComboBoxPage.qml
Example¶
ComboBox {
id: combo
model: ["Red", "Green", "Blue"]
onActivated: (index) => apply(index)
}
// --- API ---
// combo.model / currentIndex / currentText / activated() / accepted()
Notes¶
Style-only Fluent chrome for Qt Quick Controls ComboBox. Public API is the Qt Quick Controls ComboBox type; this file supplies visuals/metrics only.
API¶
Properties¶
| Name | Type | Description |
|---|---|---|
hasError |
bool |
Form validation error (2.66 A2) |
appearance |
string |
Visual variant: filled | outline | "" (filled default — 2.66 A2) |
lightScheme |
bool |
True in light theme |
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.