diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-03-04 02:58:13 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-03-04 02:58:13 (GMT) |
commit | 1287332bfc1dfb85c59c309d9f2bf37b970013c9 (patch) | |
tree | 28ab28ce995b7aaeb013e086ca8266d79de87fbc /src/declarative/graphicsitems/qdeclarativegridview.cpp | |
parent | 5e56b0889bf14b96d97f54db6277e9a243a99738 (diff) | |
download | Qt-1287332bfc1dfb85c59c309d9f2bf37b970013c9.zip Qt-1287332bfc1dfb85c59c309d9f2bf37b970013c9.tar.gz Qt-1287332bfc1dfb85c59c309d9f2bf37b970013c9.tar.bz2 |
Document that the views do not set clip: true.
Task-number: QT-2942
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativegridview.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativegridview.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativegridview.cpp b/src/declarative/graphicsitems/qdeclarativegridview.cpp index 5b313be..7b97dcc 100644 --- a/src/declarative/graphicsitems/qdeclarativegridview.cpp +++ b/src/declarative/graphicsitems/qdeclarativegridview.cpp @@ -697,6 +697,11 @@ void QDeclarativeGridViewPrivate::updateCurrent(int modelIndex) In this case ListModel is a handy way for us to test our UI. In practice the model would be implemented in C++, or perhaps via a SQL data source. + + Note that views do not enabel \e clip automatically. If the view + is not clipped by another item or the screen, it will be necessary + to set \e {clip: true} in order to have the out of view items clipped + nicely. */ QDeclarativeGridView::QDeclarativeGridView(QDeclarativeItem *parent) : QDeclarativeFlickable(*(new QDeclarativeGridViewPrivate), parent) |