Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# Key Interaction: Focus Example

Files:

- declarative/keyinteraction/focus/focus.svg
- declarative/keyinteraction/focus/qml/focus/focus.qml
- declarative/keyinteraction/focus/qml/focus/FocusCore/ContextMenu.qml
- declarative/keyinteraction/focus/qml/focus/FocusCore/GridMenu.qml
- declarative/keyinteraction/focus/qml/focus/FocusCore/ListMenu.qml
- declarative/keyinteraction/focus/qml/focus/FocusCore/ListViewDelegate.qml
- declarative/keyinteraction/focus/main.cpp
- declarative/keyinteraction/focus/focus.pro
- declarative/keyinteraction/focus/focus.qmlproject

This example shows how to handle keyboard input and focus in QML.