summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qfxtextinput/data/navigation.qml
blob: c1a61626eb610b3472978b9f32e58c16a818d060 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import Qt 4.6

Rectangle {
    property var myInput: Input

    width: 800; height: 600; color: "blue"

    Item { 
        id: FirstItem 
        KeyNavigation.right: Input
    }

    TextInput { id: Input; focus: true; 
        KeyNavigation.left: FirstItem
        KeyNavigation.right: LastItem
        KeyNavigation.up: FirstItem
        KeyNavigation.down: LastItem
    }
    Item {
        id: LastItem 
        KeyNavigation.left: Input
    }
}