Rename Qt Quick-specific classes to QQuick*
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qquicktextinput / data / navigation.qml
1 import QtQuick 2.0
2
3 Rectangle {
4     property variant myInput: input
5
6     width: 800; height: 600; color: "blue"
7
8     Item { 
9         id: firstItem;
10         KeyNavigation.right: input
11     }
12
13     TextInput { id: input; focus: true
14         text: "Needs some text"
15         KeyNavigation.left: firstItem
16         KeyNavigation.right: lastItem
17         KeyNavigation.up: firstItem
18         KeyNavigation.down: lastItem
19     }
20     Item {
21         id: lastItem 
22         KeyNavigation.left: input
23     }
24 }