ShortcutPicker QML Type
A keyboard shortcut recorder control. More...
| Import Statement: | import FluentUI.Controls 1.0 |
Properties
Signals
- void shortcutChanged()
Detailed Description
ShortcutPicker allows users to record a keyboard shortcut by pressing the desired key combination. It displays the current shortcut and provides visual feedback during the recording process.
Property Documentation
shortcut : var
The currently recorded keyboard shortcut. This can be a key sequence or a string representation of the shortcut (e.g. "Ctrl+S").
text : string
The display text shown alongside the shortcut.
Signal Documentation
void shortcutChanged()
Emitted when the recorded shortcut is modified by the user pressing a new key combination.
Note: The corresponding handler is onShortcutChanged.