[Qt-qml] PathView moving property when the index changes
David Cordero
david at corderoramirez.es
Sat Oct 8 15:52:42 CEST 2011
Hi all,
I am checking the documentation of the qml component PathView and It has
properties and signals for detecting when the user stops the movement. But
it doesn't work when the pathview ends the animation because of an
incrementCurrentIndex or decrementCurrentIndex functions.
As pathview index can't be managed automatically by the component and you
have to capture Left and Right key for doing it:
Keys.onPressed : {
if (event.key == Qt.Key_Left)
decrementCurrentIndex()
if (event.key == Qt.Key_Right)
incrementCurrentIndex()
}
¿How can I know when the movement of the pathview ended when using keys
instead of mouse events?
--
David Cordero
<david at corderoramirez.es>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20111008/22800d33/attachment.html
More information about the Qt-qml
mailing list