KeyboardHandler Class
(Qt3DInput::Input::KeyboardHandler)| Inherits: | Qt3DCore::QBackendNode |
Public Functions
| KeyboardHandler() | |
| bool | focus() const |
| void | keyEvent(const QKeyEventPtr &event) |
| Qt3DCore::QNodeId | keyboardDevice() const |
| void | sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e) |
| void | setFocus(bool focus) |
| void | setInputHandler(InputHandler *handler) |
- 4 public functions inherited from Qt3DCore::QBackendNode
Protected Functions
| void | requestFocus() |
| void | setSourcerDevice(Qt3DCore::QNodeId device) |
- 2 protected functions inherited from Qt3DCore::QBackendNode
Member Function Documentation
KeyboardHandler::KeyboardHandler()
Default constructs an instance of KeyboardHandler.
bool KeyboardHandler::focus() const
See also setFocus().
void KeyboardHandler::keyEvent(const QKeyEventPtr &event)
Qt3DCore::QNodeId KeyboardHandler::keyboardDevice() const
[protected] void KeyboardHandler::requestFocus()
void KeyboardHandler::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e)
void KeyboardHandler::setFocus(bool focus)
See also focus().