QKeySequenceEdit¶
The QKeySequenceEdit
widget allows to input a QKeySequence
. More…

Synopsis¶
Functions¶
def
clear
()def
editingFinished
()def
keySequence
()def
keySequenceChanged
(keySequence)def
setKeySequence
(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
PySide6.QtWidgets.
QKeySequenceEdit
([parent=None])¶ PySide6.QtWidgets.QKeySequenceEdit(keySequence[, parent=None])
- Parameters
parent –
PySide6.QtWidgets.QWidget
keySequence –
PySide6.QtGui.QKeySequence
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
See also
-
PySide6.QtWidgets.QKeySequenceEdit.
keySequenceChanged
(keySequence)¶ - Parameters
keySequence –
PySide6.QtGui.QKeySequence
-
PySide6.QtWidgets.QKeySequenceEdit.
setKeySequence
(keySequence)¶ - Parameters
keySequence –
PySide6.QtGui.QKeySequence
See also
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.