summaryrefslogtreecommitdiffstats
path: root/examples/declarative/ui-components/searchbox/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/ui-components/searchbox/main.qml')
-rw-r--r--examples/declarative/ui-components/searchbox/main.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/declarative/ui-components/searchbox/main.qml b/examples/declarative/ui-components/searchbox/main.qml
index 0508d5a..bf3bed8 100644
--- a/examples/declarative/ui-components/searchbox/main.qml
+++ b/examples/declarative/ui-components/searchbox/main.qml
@@ -41,9 +41,14 @@
import Qt 4.7
Rectangle {
+ id: page
width: 500; height: 250
color: "#edecec"
+ MouseArea {
+ anchors.fill: parent
+ onClicked: page.focus = false;
+ }
Column {
anchors { horizontalCenter: parent.horizontalCenter; verticalCenter: parent.verticalCenter }
spacing: 10