org::kde::kquickcontrols::KeySequenceItem
org::kde::kquickcontrols::KeySequenceItem Class Reference
Inherits RowLayout.
Properties | |
alias | checkForConflictsAgainst |
alias | keySequence |
alias | modifierlessAllowed |
alias | modifierOnlyAllowed |
alias | multiKeyShortcutsAllowed |
bool | showCancelButton |
bool | showClearButton |
Signals | |
void | captureFinished () |
void | keySequenceModified () |
Public Member Functions | |
void | startCapturing () |
Detailed Description
- Since
- 2.0
Definition at line 8 of file KeySequenceItem.qml.
Property Documentation
◆ checkForConflictsAgainst
|
read |
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:
ShortcutType.None
Do not check for conflicts.ShortcutType.StandardShortcuts
Check against standard shortcuts.- See also
- KStandardshortcut
ShortcutType.GlobalShortcuts
Check against global shortcuts.- See also
- KGlobalAccel
ShortcutType.GlobalShortcuts | ShortcutType.StandardShortcut
- Since
- 5.74
Definition at line 33 of file KeySequenceItem.qml.
◆ modifierOnlyAllowed
|
read |
TODO KF6 default to true.
Definition at line 15 of file KeySequenceItem.qml.
Member Function Documentation
◆ captureFinished
|
signal |
This signal is emitted after the user introduces a new key sequence.
- Since
- 5.68
- Deprecated:
- Use keySequenceModified()
◆ startCapturing()
void org::kde::kquickcontrols::KeySequenceItem::startCapturing | ( | ) |
Start capturing a key sequence.
This equivalent to the user clicking on the main button of the item
- Since
- 5.70
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Dec 5 2023 04:02:17 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Dec 5 2023 04:02:17 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.