summaryrefslogtreecommitdiffstats
path: root/examples/declarative/mouseregion
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-08-18 00:43:02 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-08-18 00:43:02 (GMT)
commit8f5e72298fc4b8a5838bee1291a2cc422750b6b8 (patch)
treef7a780127d327c879cb642b8a23c44f081c71556 /examples/declarative/mouseregion
parent41335c52ef2844589030cddb4773c68cf38331af (diff)
downloadQt-8f5e72298fc4b8a5838bee1291a2cc422750b6b8.zip
Qt-8f5e72298fc4b8a5838bee1291a2cc422750b6b8.tar.gz
Qt-8f5e72298fc4b8a5838bee1291a2cc422750b6b8.tar.bz2
MouseRegion API changes following review.
Diffstat (limited to 'examples/declarative/mouseregion')
-rw-r--r--examples/declarative/mouseregion/mouse.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/mouseregion/mouse.qml b/examples/declarative/mouseregion/mouse.qml
index d9db106..34c6e66 100644
--- a/examples/declarative/mouseregion/mouse.qml
+++ b/examples/declarative/mouseregion/mouse.qml
@@ -25,8 +25,8 @@ Rect {
MouseRegion {
drag.target: parent
drag.axis: "x"
- drag.xmin: 0
- drag.xmax: 150
+ drag.minimumX: 0
+ drag.maximumX: 150
onPressed: { print('press') }
onReleased: { print('release (isClick: ' + mouse.isClick + ') (wasHeld: ' + mouse.wasHeld + ')') }
onClicked: { print('click' + '(wasHeld: ' + mouse.wasHeld + ')') }