ToggleMenuFlyoutItem¶
Checkable MenuFlyout item.
import QWinUI3.Extras · src/extras/QWinUI3/Extras/ToggleMenuFlyoutItem.qml
Category: Dialogs & flyouts · Library: v2.80
Extends MenuItem.
Example¶
MenuFlyout {
ToggleMenuFlyoutItem {
id: wrap
text: qsTr("Word wrap")
checked: true
onToggled: applyWrap(wrap.checked)
}
}
// --- API ---
// wrap.checked / onToggled / text
Notes¶
Checkable MenuFlyoutItem; bind checked / onToggled.
API¶
Properties¶
| Name | Type | Description |
|---|---|---|
symbol |
var |
FluentIcons symbol (preferred over iconGlyph) |
iconGlyph |
string |
Raw Fluent glyph string fallback |
keyboardAcceleratorText |
string |
Accelerator caption (Ctrl+C) |
keyVisualAccelerator |
bool |
Show KeyVisual for accelerator |
effectiveIconGlyph |
string |
Resolved glyph string |
Signals¶
No custom signals (use inherited signals from the base type).
Methods¶
No custom methods (use inherited methods from the base type).
Inherited from MenuItem¶
Also available (base type / Qt Quick Controls):
texttriggered()
Generated from module sources by scripts/generate_component_docs.py — do not edit by hand.