diff options
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); |