aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquicklistview.cpp
diff options
context:
space:
mode:
authorDheerendra Purohit <dheerendra@pthinks.com>2024-10-24 12:05:34 +0530
committerDheerendra Purohit <dheerendra@pthinks.com>2024-10-29 07:49:07 +0000
commitfb3580a9c52c455f79ccea44659881da4d383246 (patch)
treec6c35d0e854b57e197579f2898faaa7a731bab1b /src/quick/items/qquicklistview.cpp
parent711bb5ab2a175638f96f5d38b7e7f9cf3067b684 (diff)
Doc:Update ListView Documentation of the property count
The count property in ListView reflects the total number of items in the model.Add addtional clarification to ListView::count. Pick-to: 6.8 Fixes: QTBUG-120082 Change-Id: I20c4de57cc4f114b56db5adb36f34f5dc133bde9 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/quick/items/qquicklistview.cpp')
-rw-r--r--src/quick/items/qquicklistview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/quick/items/qquicklistview.cpp b/src/quick/items/qquicklistview.cpp
index a4c44b30e4..54b1157881 100644
--- a/src/quick/items/qquicklistview.cpp
+++ b/src/quick/items/qquicklistview.cpp
@@ -2424,7 +2424,8 @@ QQuickListView::~QQuickListView()
/*!
\qmlproperty int QtQuick::ListView::count
- This property holds the number of items in the model.
+ The property reflects the number of items in the \l ListView's model,
+ regardless of whether they are visible or instantiated as \c Item of a delegate component.
*/
/*!