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

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

    Column {
        anchors.horizontalCenter: parent.horizontalCenter; anchors.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 }
    }
}