org::kde::kquickcontrols::KeySequenceItem

Search for usage in LXR

org::kde::kquickcontrols::KeySequenceItem Class Reference

Inherits RowLayout.

Properties

alias checkForConflictsAgainst
 
var keySequence
 
alias modifierlessAllowed
 
alias multiKeyShortcutsAllowed
 
alias showClearButton
 

Signals

void captureFinished ()
 

Public Member Functions

void startCapturing ()
 

Detailed Description

Since
2.0

Definition at line 8 of file KeySequenceItem.qml.

Property Documentation

alias org::kde::kquickcontrols::KeySequenceItem::checkForConflictsAgainst

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
    The default is ShortcutType.GlobalShortcuts | ShortcutType.StandardShortcut
    Since
    5.74

Definition at line 29 of file KeySequenceItem.qml.

Member Function Documentation

void org::kde::kquickcontrols::KeySequenceItem::captureFinished ( )
signal

This signal is emitted after the user introduces a new key sequence.

Since
5.68
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-2021 The KDE developers.
Generated on Fri Oct 22 2021 22:40:08 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.