- Qt 5.5
- Qt3D Module
- C++ Classes
- QKeyboardInput
- Qt 5.5.1 Reference Documentation

# QKeyboardInput Class

(Qt3D::QKeyboardInput)

Header: | #include <QKeyboardInput>
qmake: | QT += 3dinput
Since: | Qt 5.5
Instantiated By: | KeyboardInput
Inherits: | QComponent

- List of all members, including inherited members

## Properties

- controller : Qt3D::QKeyboardController *
- focus : bool

- 2 properties inherited from Qt3D::QComponent
- 1 property inherited from Qt3D::QNode

## Public Functions

| QKeyboardInput(QNode * parent = 0)
| ~QKeyboardInput()
QKeyboardController * | controller() const
bool | focus() const
void | setController(QKeyboardController * controller)
void | setFocus(bool focus)

- 5 public functions inherited from Qt3D::QComponent
- 6 public functions inherited from Qt3D::QNode

## Signals

void | asteriskPressed(Qt3D::Q3DKeyEvent * event)
void | backPressed(Qt3D::Q3DKeyEvent * event)
void | backtabPressed(Qt3D::Q3DKeyEvent * event)
void | callPressed(Qt3D::Q3DKeyEvent * event)
void | cancelPressed(Qt3D::Q3DKeyEvent * event)
void | context1Pressed(Qt3D::Q3DKeyEvent * event)
void | context2Pressed(Qt3D::Q3DKeyEvent * event)
void | context3Pressed(Qt3D::Q3DKeyEvent * event)
void | context4Pressed(Qt3D::Q3DKeyEvent * event)
void | controllerChanged()
void | deletePressed(Qt3D::Q3DKeyEvent * event)
void | digit0Pressed(Qt3D::Q3DKeyEvent * event)
void | digit1Pressed(Qt3D::Q3DKeyEvent * event)
void | digit2Pressed(Qt3D::Q3DKeyEvent * event)
void | digit3Pressed(Qt3D::Q3DKeyEvent * event)
void | digit4Pressed(Qt3D::Q3DKeyEvent * event)
void | digit5Pressed(Qt3D::Q3DKeyEvent * event)
void | digit6Pressed(Qt3D::Q3DKeyEvent * event)
void | digit7Pressed(Qt3D::Q3DKeyEvent * event)
void | digit8Pressed(Qt3D::Q3DKeyEvent * event)
void | digit9Pressed(Qt3D::Q3DKeyEvent * event)
void | downPressed(Qt3D::Q3DKeyEvent * event)
void | enterPressed(Qt3D::Q3DKeyEvent * event)
void | escapePressed(Qt3D::Q3DKeyEvent * event)
void | flipPressed(Qt3D::Q3DKeyEvent * event)
void | focusChanged()
void | hangupPressed(Qt3D::Q3DKeyEvent * event)
void | leftPressed(Qt3D::Q3DKeyEvent * event)
void | menuPressed(Qt3D::Q3DKeyEvent * event)
void | noPressed(Qt3D::Q3DKeyEvent * event)
void | numberSignPressed(Qt3D::Q3DKeyEvent * event)
void | pressed(Qt3D::Q3DKeyEvent * event)
void | released(Qt3D::Q3DKeyEvent * event)
void | returnPressed(Qt3D::Q3DKeyEvent * event)
void | rightPressed(Qt3D::Q3DKeyEvent * event)
void | selectPressed(Qt3D::Q3DKeyEvent * event)
void | spacePressed(Qt3D::Q3DKeyEvent * event)
void | tabPressed(Qt3D::Q3DKeyEvent * event)
void | upPressed(Qt3D::Q3DKeyEvent * event)
void | volumeDownPressed(Qt3D::Q3DKeyEvent * event)
void | volumeUpPressed(Qt3D::Q3DKeyEvent * event)
void | yesPressed(Qt3D::Q3DKeyEvent * event)

- 2 signals inherited from Qt3D::QComponent
- 1 signal inherited from Qt3D::QNode

## Protected Functions

void | keyEvent(Q3DKeyEvent * event)

## Reimplemented Protected Functions

virtual void | copy(const QNode * ref)
virtual void | sceneChangeEvent(const QSceneChangePtr & change)

- 1 protected function inherited from Qt3D::QComponent
- 3 protected functions inherited from Qt3D::QNode

### Additional Inherited Members

- 1 static protected member inherited from Qt3D::QNode

## Detailed Description

## Property Documentation

### controller : Qt3D::QKeyboardController *

Access functions:

QKeyboardController * | controller() const
void | setController(QKeyboardController * controller)

Notifier signal:

void | controllerChanged()

### focus : bool

Access functions:

bool | focus() const
void | setFocus(bool focus)

Notifier signal:

void | focusChanged()

## Member Function Documentation

### QKeyboardInput::QKeyboardInput(QNode * parent = 0)

Constructs a new QKeyboardInput instance with parent parent.

### QKeyboardInput::~QKeyboardInput()

### `[signal]` void QKeyboardInput::asteriskPressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::backPressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::backtabPressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::callPressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::cancelPressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::context1Pressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::context2Pressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::context3Pressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::context4Pressed(Qt3D::Q3DKeyEvent * event)

### `[virtual protected]` void QKeyboardInput::copy(const QNode * ref)

### `[signal]` void QKeyboardInput::deletePressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::digit0Pressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::digit1Pressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::digit2Pressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::digit3Pressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::digit4Pressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::digit5Pressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::digit6Pressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::digit7Pressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::digit8Pressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::digit9Pressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::downPressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::enterPressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::escapePressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::flipPressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::hangupPressed(Qt3D::Q3DKeyEvent * event)

### `[protected]` void QKeyboardInput::keyEvent(Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::leftPressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::menuPressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::noPressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::numberSignPressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::pressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::released(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::returnPressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::rightPressed(Qt3D::Q3DKeyEvent * event)

### `[virtual protected]` void QKeyboardInput::sceneChangeEvent(const QSceneChangePtr & change)

### `[signal]` void QKeyboardInput::selectPressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::spacePressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::tabPressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::upPressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::volumeDownPressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::volumeUpPressed(Qt3D::Q3DKeyEvent * event)

### `[signal]` void QKeyboardInput::yesPressed(Qt3D::Q3DKeyEvent * event)