summaryrefslogtreecommitdiffstats
path: root/examples/declarative/searchbox/main.qml
blob: 9f734735c7825e3569068487569965c26f7b4de8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import Qt 4.7

Rectangle {
    width: 500; height: 250
    color: "#edecec"

    Column {
        anchors { horizontalCenter: parent.horizontalCenter; verticalCenter: parent.verticalCenter }
        spacing: 10

        SearchBox { id: search1; KeyNavigation.tab: search2; KeyNavigation.backtab: search3; focus: true }
        SearchBox { id: search2; KeyNavigation.tab: search3; KeyNavigation.backtab: search1 }
        SearchBox { id: search3; KeyNavigation.tab: search1; KeyNavigation.backtab: search2 }
    }
}