aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickgridview.cpp
diff options
context:
space:
mode:
authorIvan Tkachenko <me@ratijas.tk>2023-06-03 19:21:03 +0300
committerIvan Tkachenko <me@ratijas.tk>2023-06-06 20:50:25 +0300
commit0ec5680ab3365074b118fc299582516d469d1064 (patch)
tree722b52bd477f0732e04815c407b1584e5bdb4e7c /src/quick/items/qquickgridview.cpp
parent9d37d49095eac73f79f102328ad16d0e5a9f6955 (diff)
Doc: Mask some QML attached properties as read-only
This affects ListView, GridView, PathView and StackLayout. Change-Id: Iacff4cf9118323916ca66bd755736a397c26fc43 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quick/items/qquickgridview.cpp')
-rw-r--r--src/quick/items/qquickgridview.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/quick/items/qquickgridview.cpp b/src/quick/items/qquickgridview.cpp
index 2b0f70ab10..c74d4ad855 100644
--- a/src/quick/items/qquickgridview.cpp
+++ b/src/quick/items/qquickgridview.cpp
@@ -1266,6 +1266,8 @@ void QQuickGridView::setHighlightFollowsCurrentItem(bool autoHighlight)
/*!
\qmlattachedproperty bool QtQuick::GridView::isCurrentItem
+ \readonly
+
This attached property is true if this delegate is the current item; otherwise false.
It is attached to each instance of the delegate.
@@ -1273,6 +1275,8 @@ void QQuickGridView::setHighlightFollowsCurrentItem(bool autoHighlight)
/*!
\qmlattachedproperty GridView QtQuick::GridView::view
+ \readonly
+
This attached property holds the view that manages this delegate instance.
It is attached to each instance of the delegate and also to the header, the footer
@@ -1283,6 +1287,7 @@ void QQuickGridView::setHighlightFollowsCurrentItem(bool autoHighlight)
/*!
\qmlattachedproperty bool QtQuick::GridView::delayRemove
+
This attached property holds whether the delegate may be destroyed. It
is attached to each instance of the delegate. The default value is false.