diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-08-18 00:43:02 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-08-18 00:43:02 (GMT) |
commit | 8f5e72298fc4b8a5838bee1291a2cc422750b6b8 (patch) | |
tree | f7a780127d327c879cb642b8a23c44f081c71556 /examples/declarative/mouseregion | |
parent | 41335c52ef2844589030cddb4773c68cf38331af (diff) | |
download | Qt-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.qml | 4 |
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 + ')') } |