diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-03-01 02:53:37 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-03-01 02:53:37 (GMT) |
commit | 47201b118179d6585d8eac8ab27f756010024a23 (patch) | |
tree | f65bf6d3189cccaefbfcd4072ea2acae4563acda | |
parent | c50c17c285de4ad33f4a965244fd248934117533 (diff) | |
download | Qt-47201b118179d6585d8eac8ab27f756010024a23.zip Qt-47201b118179d6585d8eac8ab27f756010024a23.tar.gz Qt-47201b118179d6585d8eac8ab27f756010024a23.tar.bz2 |
Add mention of highlightRangeMode in snapMode docs.
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativelistview.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativelistview.cpp b/src/declarative/graphicsitems/qdeclarativelistview.cpp index c496c97..e2cef23 100644 --- a/src/declarative/graphicsitems/qdeclarativelistview.cpp +++ b/src/declarative/graphicsitems/qdeclarativelistview.cpp @@ -1980,6 +1980,12 @@ void QDeclarativeListView::setHighlightResizeSpeed(qreal speed) visible item at the time the mouse button is released. This mode is particularly useful for moving one page at a time. \endlist + + snapMode does not affect the currentIndex. To update the + currentIndex as the list is moved set \e highlightRangeMode + to \e StrictlyEnforceRange. + + \sa highlightRangeMode */ QDeclarativeListView::SnapMode QDeclarativeListView::snapMode() const { |