KeySequenceItem QML Type

Properties

Signals

Methods

Detailed Description

* @internal

Property Documentation

checkForConflictsAgainst : alias

* This property controls which types of shortcuts are checked for conflicts when the keySequence * is set. If a conflict is detected, a messagebox will be shown asking the user to confirm their * input. Valid values are combinations of the following flags: * - @p ShortcutType.None Do not check for conflicts. * - @p ShortcutType.StandardShortcuts Check against standard shortcuts. @see KStandardShortcut * - @p ShortcutType.GlobalShortcuts Check against global shortcuts. Only works when building with KGlobalAccel. @see KGlobalAccel * * The default is `ShortcutType.GlobalShortcuts | ShortcutType.StandardShortcut`


Signal Documentation

keySequenceModified()

* Emitted whenever the key sequence is modified by the user interacting with the component * * Either by interacting capturing a key sequence or pressing the clear button.

Note: The corresponding handler is onKeySequenceModified.


Method Documentation

startCapturing()

* Start capturing a key sequence. This equivalent to the user clicking on the main button of the item.