summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-08-19 01:50:35 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-08-19 01:50:35 (GMT)
commitb3c992c9b53d8f1630bdbc7472a29910f11ee035 (patch)
tree7074cf1a94ee556809c2b9db8a604be3fa8e4f9e /doc/src/snippets
parent1a226c81b7461b793fb94df5817701caef9c2014 (diff)
downloadQt-b3c992c9b53d8f1630bdbc7472a29910f11ee035.zip
Qt-b3c992c9b53d8f1630bdbc7472a29910f11ee035.tar.gz
Qt-b3c992c9b53d8f1630bdbc7472a29910f11ee035.tar.bz2
API improvements for MouseRegion and Drag
Diffstat (limited to 'doc/src/snippets')
-rw-r--r--doc/src/snippets/declarative/drag.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/snippets/declarative/drag.qml b/doc/src/snippets/declarative/drag.qml
index 2191b6f..8b1765b 100644
--- a/doc/src/snippets/declarative/drag.qml
+++ b/doc/src/snippets/declarative/drag.qml
@@ -9,9 +9,9 @@ Rect {
MouseRegion {
anchors.fill: parent
drag.target: pic
- drag.axis: "x"
- drag.xmin: 0
- drag.xmax: blurtest.width-pic.width
+ drag.axis: "XAxis"
+ drag.minimumX: 0
+ drag.maximumX: blurtest.width-pic.width
}
}
}