Details
-
Sub-task
-
Resolution: Done
-
P3: Somewhat important
-
d5c72c6fb75357061c5f9e0d0d2efdaff9140741
Description
Qt Quick provides attached property element called KeyNavigation for implementing key navigation support (see http://doc.qt.nokia.com/4.7/qml-keynavigation.html). While the navigation direction normally stays intact when changing the layout direction, in some cases like overflow situations (grid row n -> row n+1) the key navigation behavior may differ between LTR and RTL locales, and should be tested. Also, GridView element provides implicit key navigation that needs to take the flow of the elements into account. Other focus elements FocusPanel and FocusScope should also be tested. See parent task QTBUG-11042 for more info.
Rectangle { id: item2 focus: true width: 50; height: 50 color: focus ? "red" : "lightgray" KeyNavigation.left: item1 KeyNavigation.right: item3 }