summaryrefslogtreecommitdiffstats
path: root/examples/declarative/behaviors/SideRect.qml
diff options
context:
space:
mode:
authorMartin Smith <msmith@trolltech.com>2010-04-15 10:23:57 (GMT)
committerMartin Smith <msmith@trolltech.com>2010-04-15 10:23:57 (GMT)
commite4282111378ce67a1ae9c235efbd89b327f1bb91 (patch)
tree175fca0d6b40940f8bcba61e4b6563145f5dde70 /examples/declarative/behaviors/SideRect.qml
parent114cb018c088570ff0640eeb0d57594905ff9fcf (diff)
parentb1c8bdc899cd276fcb90ad424b128bd7d8a21e21 (diff)
downloadQt-e4282111378ce67a1ae9c235efbd89b327f1bb91.zip
Qt-e4282111378ce67a1ae9c235efbd89b327f1bb91.tar.gz
Qt-e4282111378ce67a1ae9c235efbd89b327f1bb91.tar.bz2
Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7
Diffstat (limited to 'examples/declarative/behaviors/SideRect.qml')
-rw-r--r--examples/declarative/behaviors/SideRect.qml12
1 files changed, 9 insertions, 3 deletions
diff --git a/examples/declarative/behaviors/SideRect.qml b/examples/declarative/behaviors/SideRect.qml
index d06f73c..d32bd7b 100644
--- a/examples/declarative/behaviors/SideRect.qml
+++ b/examples/declarative/behaviors/SideRect.qml
@@ -5,12 +5,18 @@ Rectangle {
property string text
- width: 75; height: 50; radius: 6
- color: "#646464"; border.width: 4; border.color: "white"
+ width: 75; height: 50
+ radius: 6
+ color: "#646464"
+ border.width: 4; border.color: "white"
MouseArea {
anchors.fill: parent
hoverEnabled: true
- onEntered: { focusRect.x = myRect.x; focusRect.y = myRect.y; focusRect.text = myRect.text }
+ onEntered: {
+ focusRect.x = myRect.x;
+ focusRect.y = myRect.y;
+ focusRect.text = myRect.text;
+ }
}
}