diff options
author | Martin Jones <martin.jones@nokia.com> | 2011-12-05 15:40:31 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-12-05 08:43:14 +0100 |
commit | 0218e13ea98cb54629ce932fdb9adf2867838d26 (patch) | |
tree | d7fedc9aea147d73af3d0530db9faf19454465d5 /src/quick/items/qquickgridview.cpp | |
parent | 079ec20d959beeb255f6905baf39f032a41eec1c (diff) |
Document headerItem and footerItem of ListView and GridView.
Change-Id: Icfa899bc8c8c7e40f79988700a94ee8480e42bd6
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'src/quick/items/qquickgridview.cpp')
-rw-r--r-- | src/quick/items/qquickgridview.cpp | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/src/quick/items/qquickgridview.cpp b/src/quick/items/qquickgridview.cpp index 44e1f14c6f..e1a926ec81 100644 --- a/src/quick/items/qquickgridview.cpp +++ b/src/quick/items/qquickgridview.cpp @@ -1496,7 +1496,7 @@ void QQuickGridView::setSnapMode(SnapMode mode) An instance of the footer component is created for each view. The footer is positioned at the end of the view, after any items. - \sa header + \sa header, footerItem */ /*! \qmlproperty Component QtQuick2::GridView::header @@ -1505,8 +1505,29 @@ void QQuickGridView::setSnapMode(SnapMode mode) An instance of the header component is created for each view. The header is positioned at the beginning of the view, before any items. - \sa footer + \sa footer, headerItem */ + +/*! + \qmlproperty Item QtQuick2::GridView::headerItem + This holds the header item created from the \l header component. + + An instance of the header component is created for each view. The + header is positioned at the beginning of the view, before any items. + + \sa header, footerItem +*/ + +/*! + \qmlproperty Item QtQuick2::GridView::footerItem + This holds the footer item created from the \l footer component. + + An instance of the footer component is created for each view. The + footer is positioned at the end of the view, after any items. + + \sa footer, headerItem +*/ + void QQuickGridView::viewportMoved() { Q_D(QQuickGridView); |