diff options
author | Safiyyah Moosa <safiyyah.moosa@qt.io> | 2023-08-07 14:31:44 +0200 |
---|---|---|
committer | Safiyyah Moosa <safiyyah.moosa@qt.io> | 2023-08-08 12:01:11 +0200 |
commit | 0a9bcd8951a80972b7799e5bd6145e1d681454c7 (patch) | |
tree | e10b3cda0437a09389d36b2c565da84db01f4ba1 /src/quick/items/qquickgridview.cpp | |
parent | fc9972b4c95d535ac77f0a69b672a8d39d115a9f (diff) |
Doc: Move GridView.isCurrentItem example
Currently, GridView.isCurrentItem example is located under the
GridView.view : GridView header. Moved this example to the
GridView.view : GridView header.
Task-number: QTBUG-61646
Pick-to: 6.5 6.6
Change-Id: I45c95e13afac6c95d621cee9643868f7da38cb8a
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/quick/items/qquickgridview.cpp')
-rw-r--r-- | src/quick/items/qquickgridview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/items/qquickgridview.cpp b/src/quick/items/qquickgridview.cpp index 3b2daa8c43..09cc35a24f 100644 --- a/src/quick/items/qquickgridview.cpp +++ b/src/quick/items/qquickgridview.cpp @@ -1271,6 +1271,8 @@ void QQuickGridView::setHighlightFollowsCurrentItem(bool autoHighlight) This attached property is true if this delegate is the current item; otherwise false. It is attached to each instance of the delegate. + + \snippet qml/gridview/gridview.qml isCurrentItem */ /*! @@ -1281,8 +1283,6 @@ void QQuickGridView::setHighlightFollowsCurrentItem(bool autoHighlight) It is attached to each instance of the delegate and also to the header, the footer and the highlight delegates. - - \snippet qml/gridview/gridview.qml isCurrentItem */ /*! |