From: Cuong Le Date: Sun, 28 Aug 2011 09:06:18 +0000 (+0700) Subject: main qlm clean-up !!! X-Git-Tag: v1.0.2-4^2~11 X-Git-Url: https://vcs.maemo.org/git/?p=lichviet;a=commitdiff_plain;h=e021901a0d89a0e55429f34baf03364105344b0c main qlm clean-up !!! --- diff --git a/qml/LichViet/main.qml b/qml/LichViet/main.qml index 805f0a0..0670532 100644 --- a/qml/LichViet/main.qml +++ b/qml/LichViet/main.qml @@ -160,9 +160,9 @@ Item { delegate: delegate pathItemCount: 3 clip: true + Keys.onLeftPressed: decrementCurrentIndex() + Keys.onRightPressed: incrementCurrentIndex() highlightMoveDuration:500 - Keys.onDownPressed: if (!moving && interactive) incrementCurrentIndex() - Keys.onUpPressed: if (!moving && interactive) decrementCurrentIndex() preferredHighlightBegin: 0.5 preferredHighlightEnd: 0.5 highlightRangeMode: PathView.StrictlyEnforceRange @@ -181,7 +181,9 @@ Item { startY: 50 PathLine {x: reelx.width; y: 50} } - onFlickEnded : { + + onMovementStarted:{ + } onMovementEnded: {