QKeySequenceEdit

The QKeySequenceEdit widget allows to input a QKeySequence . More

Inheritance diagram of PySide6.QtWidgets.QKeySequenceEdit

Synopsis

Functions

Detailed Description

This widget lets the user choose a QKeySequence , which is usually used as a shortcut. The recording is initiated when the widget receives the focus and ends one second after the user releases the last key.

See also

keySequence

class PySide6.QtWidgets.QKeySequenceEdit([parent=None])

PySide6.QtWidgets.QKeySequenceEdit(keySequence[, parent=None])

Parameters

Constructs a QKeySequenceEdit widget with the given parent.

Constructs a QKeySequenceEdit widget with the given keySequence and parent.

PySide6.QtWidgets.QKeySequenceEdit.clear()

Clears the current key sequence.

PySide6.QtWidgets.QKeySequenceEdit.editingFinished()
PySide6.QtWidgets.QKeySequenceEdit.keySequence()
Return type

PySide6.QtGui.QKeySequence

See also

setKeySequence()

PySide6.QtWidgets.QKeySequenceEdit.keySequenceChanged(keySequence)
Parameters

keySequencePySide6.QtGui.QKeySequence

PySide6.QtWidgets.QKeySequenceEdit.setKeySequence(keySequence)
Parameters

keySequencePySide6.QtGui.QKeySequence

See also

keySequence()