QKeySequenceEdit¶
The
QKeySequenceEdit
widget allows to input aQKeySequence
. More…

Synopsis¶
Functions¶
def
keySequence
()
Slots¶
def
clear
()def
setKeySequence
(keySequence)
Signals¶
def
editingFinished
()def
keySequenceChanged
(keySequence)
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
-
class
QKeySequenceEdit
([parent=None])¶ QKeySequenceEdit(keySequence[, parent=None])
- param parent
- param keySequence
QKeySequence
Constructs a
QKeySequenceEdit
widget with the givenparent
.Constructs a
QKeySequenceEdit
widget with the givenkeySequence
andparent
.
-
PySide2.QtWidgets.QKeySequenceEdit.
clear
()¶ Clears the current key sequence.
-
PySide2.QtWidgets.QKeySequenceEdit.
editingFinished
()¶
-
PySide2.QtWidgets.QKeySequenceEdit.
keySequence
()¶ - Return type
QKeySequence
See also
-
PySide2.QtWidgets.QKeySequenceEdit.
keySequenceChanged
(keySequence)¶ - Parameters
keySequence –
QKeySequence
-
PySide2.QtWidgets.QKeySequenceEdit.
setKeySequence
(keySequence)¶ - Parameters
keySequence –
QKeySequence
See also