QKeyboardHandler¶
Provides keyboard event notification. More…
![Inheritance diagram of PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler](../../_images/inheritance-b4b71a02074e17bd467127019d5b8e4f7840f3f8.png)
Synopsis¶
Functions¶
def
focus
()def
sourceDevice
()
Slots¶
def
setFocus
(focus)def
setSourceDevice
(keyboardDevice)
Signals¶
def
asteriskPressed
(event)def
backPressed
(event)def
backtabPressed
(event)def
callPressed
(event)def
cancelPressed
(event)def
context1Pressed
(event)def
context2Pressed
(event)def
context3Pressed
(event)def
context4Pressed
(event)def
deletePressed
(event)def
digit0Pressed
(event)def
digit1Pressed
(event)def
digit2Pressed
(event)def
digit3Pressed
(event)def
digit4Pressed
(event)def
digit5Pressed
(event)def
digit6Pressed
(event)def
digit7Pressed
(event)def
digit8Pressed
(event)def
digit9Pressed
(event)def
downPressed
(event)def
enterPressed
(event)def
escapePressed
(event)def
flipPressed
(event)def
focusChanged
(focus)def
hangupPressed
(event)def
leftPressed
(event)def
menuPressed
(event)def
noPressed
(event)def
numberSignPressed
(event)def
pressed
(event)def
released
(event)def
returnPressed
(event)def
rightPressed
(event)def
selectPressed
(event)def
sourceDeviceChanged
(keyboardDevice)def
spacePressed
(event)def
tabPressed
(event)def
upPressed
(event)def
volumeDownPressed
(event)def
volumeUpPressed
(event)def
yesPressed
(event)
Detailed Description¶
- class PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler([parent=None])¶
- param parent:
Constructs a new
QKeyboardHandler
instance with parentparent
.
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.asteriskPressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.backPressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.backtabPressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.callPressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.cancelPressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.context1Pressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.context2Pressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.context3Pressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.context4Pressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.deletePressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.digit0Pressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.digit1Pressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.digit2Pressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.digit3Pressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.digit4Pressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.digit5Pressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.digit6Pressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.digit7Pressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.digit8Pressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.digit9Pressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.downPressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.enterPressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.escapePressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.flipPressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.focus()¶
- Return type:
bool
Holds
true
if the QKeyboardHandlers has focus.
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.focusChanged(focus)¶
- Parameters:
focus – bool
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.hangupPressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.leftPressed(event)¶
- Parameters:
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.noPressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.numberSignPressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.pressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.released(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.returnPressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.rightPressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.selectPressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.setFocus(focus)¶
- Parameters:
focus – bool
Holds
true
if the QKeyboardHandlers has focus.
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.setSourceDevice(keyboardDevice)¶
- Parameters:
keyboardDevice –
PySide2.Qt3DInput.Qt3DInput.QKeyboardDevice
Holds the keyboard device of the
QKeyboardHandler
. Without a valid device, theQKeyboardHandler
won’t receive any event.
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.sourceDevice()¶
- Return type:
Holds the keyboard device of the
QKeyboardHandler
. Without a valid device, theQKeyboardHandler
won’t receive any event.
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.sourceDeviceChanged(keyboardDevice)¶
- Parameters:
keyboardDevice –
PySide2.Qt3DInput.Qt3DInput.QKeyboardDevice
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.spacePressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.tabPressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.upPressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.volumeDownPressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.volumeUpPressed(event)¶
- Parameters:
- PySide2.Qt3DInput.Qt3DInput.QKeyboardHandler.yesPressed(event)¶
- Parameters:
© 2022 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.