QKeyboardHandler#
Provides keyboard event notification. More…
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 PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler([parent=None])#
- Parameters
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
Constructs a new QKeyboardHandler
instance with parent parent
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.asteriskPressed(event)#
- Parameters
This signal is emitted when the * key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.backPressed(event)#
- Parameters
This signal is emitted when the back key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.backtabPressed(event)#
- Parameters
This signal is emitted when the backtab key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.callPressed(event)#
- Parameters
This signal is emitted when the call key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.cancelPressed(event)#
- Parameters
This signal is emitted when the cancel key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.context1Pressed(event)#
- Parameters
This signal is emitted when the context 1 key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.context2Pressed(event)#
- Parameters
This signal is emitted when the context 2 key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.context3Pressed(event)#
- Parameters
This signal is emitted when the context 2 key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.context4Pressed(event)#
- Parameters
This signal is emitted when the context 4 key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.deletePressed(event)#
- Parameters
This signal is emitted when the delete key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.digit0Pressed(event)#
- Parameters
This signal is emitted when the 0 key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.digit1Pressed(event)#
- Parameters
This signal is emitted when the 1 key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.digit2Pressed(event)#
- Parameters
This signal is emitted when the 2 key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.digit3Pressed(event)#
- Parameters
This signal is emitted when the 3 key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.digit4Pressed(event)#
- Parameters
This signal is emitted when the 4 key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.digit5Pressed(event)#
- Parameters
This signal is emitted when the 5 key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.digit6Pressed(event)#
- Parameters
This signal is emitted when the 6 key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.digit7Pressed(event)#
- Parameters
This signal is emitted when the 7 key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.digit8Pressed(event)#
- Parameters
This signal is emitted when the 8 key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.digit9Pressed(event)#
- Parameters
This signal is emitted when the 9 key is pressed with the event details being contained within event
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.downPressed(event)#
- Parameters
This signal is emitted when the down key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.enterPressed(event)#
- Parameters
This signal is emitted when the enter key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.escapePressed(event)#
- Parameters
This signal is emitted when the escape key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.flipPressed(event)#
- Parameters
This signal is emitted when the flip key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.focus()#
- Return type
bool
Holds true
if the QKeyboardHandlers has focus.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.focusChanged(focus)#
- Parameters
focus – bool
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.hangupPressed(event)#
- Parameters
This signal is emitted when the hangup key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.leftPressed(event)#
- Parameters
This signal is emitted when the left key is pressed with the event details being contained within event
.
- Parameters
This signal is emitted when the menu key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.noPressed(event)#
- Parameters
This signal is emitted when the yes key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.numberSignPressed(event)#
- Parameters
This signal is emitted when the number sign key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.pressed(event)#
- Parameters
This signal is emitted when a key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.released(event)#
- Parameters
This signal is emitted when a key is released with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.returnPressed(event)#
- Parameters
This signal is emitted when the return key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.rightPressed(event)#
- Parameters
This signal is emitted when the right key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.selectPressed(event)#
- Parameters
This signal is emitted when the select key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.setFocus(focus)#
- Parameters
focus – bool
Holds true
if the QKeyboardHandlers has focus.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.setSourceDevice(keyboardDevice)#
- Parameters
keyboardDevice –
PySide6.Qt3DInput.Qt3DInput.QKeyboardDevice
Holds the keyboard device of the QKeyboardHandler
. Without a valid device, the QKeyboardHandler
won’t receive any event.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.sourceDevice()#
- Return type
Holds the keyboard device of the QKeyboardHandler
. Without a valid device, the QKeyboardHandler
won’t receive any event.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.sourceDeviceChanged(keyboardDevice)#
- Parameters
keyboardDevice –
PySide6.Qt3DInput.Qt3DInput.QKeyboardDevice
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.spacePressed(event)#
- Parameters
This signal is emitted when the space key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.tabPressed(event)#
- Parameters
This signal is emitted when the tab key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.upPressed(event)#
- Parameters
This signal is emitted when the up key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.volumeDownPressed(event)#
- Parameters
This signal is emitted when the volume down key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.volumeUpPressed(event)#
- Parameters
This signal is emitted when the volume up key is pressed with the event details being contained within event
.
- PySide6.Qt3DInput.Qt3DInput.QKeyboardHandler.yesPressed(event)#
- Parameters
This signal is emitted when the yes key is pressed with the event details being contained within event
.