diff options
| author | Jerome Pasion <jerome.pasion@qt.io> | 2026-05-30 18:01:45 +0200 |
|---|---|---|
| committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2026-07-09 07:19:50 +0000 |
| commit | 5cfbe91fbe959d7d90452c125c421ad2f01e844a (patch) | |
| tree | 42aa983634299172c82aeae995404238e3e68143 /examples | |
| parent | 063b40ffb4fc9519617e721be4fec4008e6e6fec (diff) | |
Doc: Add alternate text for Qt Quick model/view example images
Alternate text (alt text) improves the documentation experience for
screen readers and for other accessibility tools.
Task-number: QTBUG-135098
Pick-to: 6.11 6.12
Change-Id: I75d61d4da00584f8e85bc264c812aa8c17ee7d2a
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'examples')
4 files changed, 8 insertions, 4 deletions
diff --git a/examples/quick/models/abstractitemmodel/doc/src/abstractitemmodel-example.qdoc b/examples/quick/models/abstractitemmodel/doc/src/abstractitemmodel-example.qdoc index 6f627d050c..02d85f3fb4 100644 --- a/examples/quick/models/abstractitemmodel/doc/src/abstractitemmodel-example.qdoc +++ b/examples/quick/models/abstractitemmodel/doc/src/abstractitemmodel-example.qdoc @@ -7,5 +7,6 @@ \brief Shows how to use a QAbstractItemModel subclass as a model in QML. \examplecategory {User Interface Components} - \image qml-abstractitemmodel-example.png + \image qml-abstractitemmodel-example.png {List showing three animals + with name and size: Wolf, Polar bear, and Quoll} */ diff --git a/examples/quick/models/objectlistmodel/doc/src/objectlistmodel-example.qdoc b/examples/quick/models/objectlistmodel/doc/src/objectlistmodel-example.qdoc index 2ceec9376d..7e3ff3a5de 100644 --- a/examples/quick/models/objectlistmodel/doc/src/objectlistmodel-example.qdoc +++ b/examples/quick/models/objectlistmodel/doc/src/objectlistmodel-example.qdoc @@ -7,5 +7,6 @@ \brief Shows how to use a QList<QObject*> as a model in QML. \examplecategory {User Interface Components} - \image qml-objectlistmodel-example.png + \image qml-objectlistmodel-example.png {List displaying four items + with colors from red, green, blue, and yellow} */ diff --git a/examples/quick/models/stringlistmodel/doc/src/stringlistmodel-example.qdoc b/examples/quick/models/stringlistmodel/doc/src/stringlistmodel-example.qdoc index 3b00a0e211..ed8afb6385 100644 --- a/examples/quick/models/stringlistmodel/doc/src/stringlistmodel-example.qdoc +++ b/examples/quick/models/stringlistmodel/doc/src/stringlistmodel-example.qdoc @@ -7,5 +7,6 @@ \brief Shows how to use a QStringList as a model in QML. \examplecategory {User Interface Components} - \image qml-stringlistmodel-example.png + \image qml-stringlistmodel-example.png {List displaying four text + items from a QStringList model} */ diff --git a/examples/quick/models/threadedfetchmore/doc/src/threadedfetchmore-example.qdoc b/examples/quick/models/threadedfetchmore/doc/src/threadedfetchmore-example.qdoc index 89705a43cf..b81dc3965b 100644 --- a/examples/quick/models/threadedfetchmore/doc/src/threadedfetchmore-example.qdoc +++ b/examples/quick/models/threadedfetchmore/doc/src/threadedfetchmore-example.qdoc @@ -6,7 +6,8 @@ \title Models and Views: Fetch More functionality using a worker thread \brief Demonstrates how to implement fetchMore() in a worker thread while maintaining a responsive UI. \examplecategory {User Interface Components} - \image qml-threadedfetchmore-example.png + \image qml-threadedfetchmore-example.png {List view showing contact + items with loading indicator at bottom} This example shows how to utilize QAbstractItemModel::fetchMore() with an object moved to a QThread so that the data fetching does not block the UI. |
