QtQuick Qt Quick Examples - Key Interaction

Keyboard Focus in Qt Quick combines various methods of handling keyboard focus. For more information, visit Keyboard Focus in Qt Quick .

To run the example from Qt Creator, open the Welcome mode and select the example from Examples. For more information, visit Building and Running an Example.

Using the keyboard arrow keys, the focus shifts to the menus and the GridView .

Files:

  • keyinteraction/keyinteraction.qml
  • keyinteraction/focus/focus.qml
  • keyinteraction/focus/Core/ContextMenu.qml
  • keyinteraction/focus/Core/GridMenu.qml
  • keyinteraction/focus/Core/ListMenu.qml
  • keyinteraction/focus/Core/ListViewDelegate.qml
  • keyinteraction/focus/Core/TabMenu.qml
  • keyinteraction/main.cpp
  • keyinteraction/keyinteraction.pro
  • keyinteraction/keyinteraction.qmlproject
  • keyinteraction/keyinteraction.qrc