summaryrefslogtreecommitdiffstats
path: root/examples/declarative/ui-components/searchbox/main.qml
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-06-08 17:08:33 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-06-08 17:08:33 (GMT)
commit00b157dc4aad203e78b8e4d821470a1d01a195c0 (patch)
treee7756c85df4a4dd4dbac715173c44da4e71f39f3 /examples/declarative/ui-components/searchbox/main.qml
parent2ae808a23ce05bf9768ad9df107c16bb0c555ee7 (diff)
parente5567b2e0513f5a03987f78df2d565c0e6c6a951 (diff)
downloadQt-00b157dc4aad203e78b8e4d821470a1d01a195c0.zip
Qt-00b157dc4aad203e78b8e4d821470a1d01a195c0.tar.gz
Qt-00b157dc4aad203e78b8e4d821470a1d01a195c0.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (25 commits) Fix snake demo Add qmlmethod Item::childAt() to delarative item Cursor positioning in QTextDocument after undo() Fix slow network access in qmlviewer (Windows) Don't layout multiple times when an ancestor becomes (in)visible. Add an example of animated item add/remove in ListView Add test for PropertyChanges with attached properties. Make declarative autotests compile on Symbian abld build system Accept enter key in the webbrower demo url input. Keep reported point/pixel size in sync. Remove unnecessary CloseSoftwareInputPanel events after TextEdit or TextInput has lost focus Ensure state operations assigned to the default state are triggered Add image example. Fix regression in input panel autotests Improve docs about Qml component case sensitivity. Add some performance tips to QML docs. Move QListModelInterface into util. Ensure ParticleMotionGravity always pulls in the right direction. Remove version ifdefs from Particles; only 4.7 is supported. Update docs for the runtime.orientation values ...
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