summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-03-01 02:53:37 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-03-01 02:53:37 (GMT)
commit47201b118179d6585d8eac8ab27f756010024a23 (patch)
treef65bf6d3189cccaefbfcd4072ea2acae4563acda /src/declarative/graphicsitems
parentc50c17c285de4ad33f4a965244fd248934117533 (diff)
downloadQt-47201b118179d6585d8eac8ab27f756010024a23.zip
Qt-47201b118179d6585d8eac8ab27f756010024a23.tar.gz
Qt-47201b118179d6585d8eac8ab27f756010024a23.tar.bz2
Add mention of highlightRangeMode in snapMode docs.
Diffstat (limited to 'src/declarative/graphicsitems')
-rw-r--r--src/declarative/graphicsitems/qdeclarativelistview.cpp6
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
{