diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-08-16 14:51:15 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-08-16 16:03:13 +0200 |
commit | 1e9ab846e7b59f98b57bd22c17840472619fa85e (patch) | |
tree | 7863e51d0214e9e182a874416afd88e9e1c1b9d0 /examples | |
parent | 96e233535c05462ea0ddaa72ce88c0ccc6fbf45b (diff) |
Documentation: Remove example anchors
The example_gallery tools also adds anchors, use these instead.
Change-Id: I488250fae608cf50804c3edfe0ec12d4aa08194a
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples')
23 files changed, 12 insertions, 58 deletions
diff --git a/examples/designer/taskmenuextension/doc/taskmenuextension.rst b/examples/designer/taskmenuextension/doc/taskmenuextension.rst index dd7fe1679..cbd893afc 100644 --- a/examples/designer/taskmenuextension/doc/taskmenuextension.rst +++ b/examples/designer/taskmenuextension/doc/taskmenuextension.rst @@ -1,5 +1,3 @@ -.. _task-menu-extension-example: - Task Menu Extension Example =========================== diff --git a/examples/gui/rhiwindow/doc/rhiwindow.rst b/examples/gui/rhiwindow/doc/rhiwindow.rst index defbc46ef..9d312080a 100644 --- a/examples/gui/rhiwindow/doc/rhiwindow.rst +++ b/examples/gui/rhiwindow/doc/rhiwindow.rst @@ -1,5 +1,3 @@ -.. _rhi-window-example: - RHI Window Example ================== diff --git a/examples/qml/tutorials/extending-qml-advanced/adding/doc/adding.rst b/examples/qml/tutorials/extending-qml-advanced/adding/doc/adding.rst index 4c1b3bdae..a18acb4b7 100644 --- a/examples/qml/tutorials/extending-qml-advanced/adding/doc/adding.rst +++ b/examples/qml/tutorials/extending-qml-advanced/adding/doc/adding.rst @@ -1,5 +1,3 @@ -.. _qml-adding-types-example: - Extending QML - Adding Types Example ==================================== diff --git a/examples/qml/tutorials/extending-qml-advanced/advanced1-Base-project/doc/advanced1-Base-project.rst b/examples/qml/tutorials/extending-qml-advanced/advanced1-Base-project/doc/advanced1-Base-project.rst index 90a73b78d..878b122c7 100644 --- a/examples/qml/tutorials/extending-qml-advanced/advanced1-Base-project/doc/advanced1-Base-project.rst +++ b/examples/qml/tutorials/extending-qml-advanced/advanced1-Base-project/doc/advanced1-Base-project.rst @@ -1,5 +1,3 @@ -.. _qml-advanced1-base-project: - Extending QML (advanced) - BirthdayParty Base Project ===================================================== diff --git a/examples/qml/tutorials/extending-qml-advanced/advanced2-Inheritance-and-coercion/doc/advanced2-Inheritance-and-coercion.rst b/examples/qml/tutorials/extending-qml-advanced/advanced2-Inheritance-and-coercion/doc/advanced2-Inheritance-and-coercion.rst index 16c0dbc9a..f5e989044 100644 --- a/examples/qml/tutorials/extending-qml-advanced/advanced2-Inheritance-and-coercion/doc/advanced2-Inheritance-and-coercion.rst +++ b/examples/qml/tutorials/extending-qml-advanced/advanced2-Inheritance-and-coercion/doc/advanced2-Inheritance-and-coercion.rst @@ -1,5 +1,3 @@ -.. _qml-advanced2-inheritance-and-coercion: - Extending QML (advanced) - Inheritance and Coercion =================================================== diff --git a/examples/qml/tutorials/extending-qml-advanced/advanced3-Default-properties/doc/advanced3-Default-properties.rst b/examples/qml/tutorials/extending-qml-advanced/advanced3-Default-properties/doc/advanced3-Default-properties.rst index 0857f9d0a..c2cb5ecc0 100644 --- a/examples/qml/tutorials/extending-qml-advanced/advanced3-Default-properties/doc/advanced3-Default-properties.rst +++ b/examples/qml/tutorials/extending-qml-advanced/advanced3-Default-properties/doc/advanced3-Default-properties.rst @@ -1,5 +1,3 @@ -.. _qml-advanced3-default-properties: - Extending QML (advanced) - Default Properties ============================================= diff --git a/examples/qml/tutorials/extending-qml-advanced/advanced4-Grouped-properties/doc/advanced4-Grouped-properties.rst b/examples/qml/tutorials/extending-qml-advanced/advanced4-Grouped-properties/doc/advanced4-Grouped-properties.rst index 7748d3189..ff5dbf6ba 100644 --- a/examples/qml/tutorials/extending-qml-advanced/advanced4-Grouped-properties/doc/advanced4-Grouped-properties.rst +++ b/examples/qml/tutorials/extending-qml-advanced/advanced4-Grouped-properties/doc/advanced4-Grouped-properties.rst @@ -1,5 +1,3 @@ -.. _qml-advanced-advanced4-grouped-properties: - Extending QML (advanced) - Grouped Properties ============================================= diff --git a/examples/qml/tutorials/extending-qml-advanced/advanced5-Attached-properties/doc/advanced5-Attached-properties.rst b/examples/qml/tutorials/extending-qml-advanced/advanced5-Attached-properties/doc/advanced5-Attached-properties.rst index 14b4bddb0..c81d02b53 100644 --- a/examples/qml/tutorials/extending-qml-advanced/advanced5-Attached-properties/doc/advanced5-Attached-properties.rst +++ b/examples/qml/tutorials/extending-qml-advanced/advanced5-Attached-properties/doc/advanced5-Attached-properties.rst @@ -1,5 +1,3 @@ -.. _qml-advanced-advanced5-attached-properties: - Extending QML (advanced) - Attached Properties ============================================== diff --git a/examples/qml/tutorials/extending-qml-advanced/advanced6-Property-value-source/doc/advanced6-Property-value-source.rst b/examples/qml/tutorials/extending-qml-advanced/advanced6-Property-value-source/doc/advanced6-Property-value-source.rst index 4e1dc393a..7b00b09bb 100644 --- a/examples/qml/tutorials/extending-qml-advanced/advanced6-Property-value-source/doc/advanced6-Property-value-source.rst +++ b/examples/qml/tutorials/extending-qml-advanced/advanced6-Property-value-source/doc/advanced6-Property-value-source.rst @@ -1,5 +1,3 @@ -.. _qml-advanced/advanced6-property-value-source: - Extending QML (advanced) - Property Value Source ================================================ diff --git a/examples/qml/tutorials/extending-qml-advanced/binding/doc/binding.rst b/examples/qml/tutorials/extending-qml-advanced/binding/doc/binding.rst index e6bc1ac0d..8ffffa79f 100644 --- a/examples/qml/tutorials/extending-qml-advanced/binding/doc/binding.rst +++ b/examples/qml/tutorials/extending-qml-advanced/binding/doc/binding.rst @@ -1,14 +1,12 @@ -.. _qml-binding-example: - Extending QML - Binding Example =============================== -This example builds on the :ref:`qml-adding-types-example`, -the :ref:`qml-advanced-advanced5-attached-properties`, -the :ref:`qml-advanced3-default-properties`, -the :ref:`qml-advanced2-inheritance-and-coercion` -the :ref:`qml-object-and-list-property-types-example` -and the :ref:`qml-advanced/advanced6-property-value-source`. +This example builds on the :ref:`example_qml_tutorials_extending-qml-advanced_adding`, +the :ref:`example_qml_tutorials_extending-qml-advanced_advanced5-attached-properties`, +the :ref:`example_qml_tutorials_extending-qml-advanced_advanced3-default-properties`, +the :ref:`example_qml_tutorials_extending-qml-advanced_advanced2-inheritance-and-coercion` +the :ref:`example_qml_tutorials_extending-qml-advanced_properties` +and the :ref:`example_qml_tutorials_extending-qml-advanced_advanced6-property-value-source`. Running the Example ------------------- diff --git a/examples/qml/tutorials/extending-qml-advanced/extended/doc/extended.rst b/examples/qml/tutorials/extending-qml-advanced/extended/doc/extended.rst index 745960535..0df21716e 100644 --- a/examples/qml/tutorials/extending-qml-advanced/extended/doc/extended.rst +++ b/examples/qml/tutorials/extending-qml-advanced/extended/doc/extended.rst @@ -1,9 +1,7 @@ -.. _qml-extension-objects-example: - Extending QML - Extension Objects Example ========================================= -This example builds on the the :ref:`qml-adding-types-example`. +This example builds on the the :ref:`example_qml_tutorials_extending-qml-advanced_adding`. Shows how to use QmlExtended decorator to provide an extension object to a QLineEdit without modifying or subclassing it. diff --git a/examples/qml/tutorials/extending-qml-advanced/methods/doc/methods.rst b/examples/qml/tutorials/extending-qml-advanced/methods/doc/methods.rst index bda2ede5a..8f8bb5ae3 100644 --- a/examples/qml/tutorials/extending-qml-advanced/methods/doc/methods.rst +++ b/examples/qml/tutorials/extending-qml-advanced/methods/doc/methods.rst @@ -1,11 +1,9 @@ -.. _qml-methods-example: - Extending QML - Methods Example =============================== -This example builds on the :ref:`qml-adding-types-example`, -the :ref:`qml-object-and-list-property-types-example` and -the :ref:`qml-inheritance-and-coercion-example`. +This example builds on the :ref:`example_qml_tutorials_extending-qml-advanced_adding`, +the :ref:`example_qml_tutorials_extending-qml-advanced_properties` and +the :ref:`example_qml_tutorials_extending-qml-advanced_advanced2-inheritance-and-coercion`. The Methods Example has an additional method in the ``BirthdayParty`` class: ``invite()``. ``invite()`` is decorated with ``@Slot`` so that it can be diff --git a/examples/qml/tutorials/extending-qml-advanced/properties/doc/properties.rst b/examples/qml/tutorials/extending-qml-advanced/properties/doc/properties.rst index 16924cdcd..6655187e2 100644 --- a/examples/qml/tutorials/extending-qml-advanced/properties/doc/properties.rst +++ b/examples/qml/tutorials/extending-qml-advanced/properties/doc/properties.rst @@ -1,11 +1,9 @@ -.. _qml-object-and-list-property-types-example: - Extending QML - Object and List Property Types Example ====================================================== Exporting C++ Properties. -This example builds on :ref:`qml-adding-types-example`. +This example builds on :ref:`example_qml_tutorials_extending-qml-advanced_adding`. The Object and List Property Types example shows how to add object and list properties in QML. This example adds a BirthdayParty type that specifies a diff --git a/examples/qml/tutorials/extending-qml/chapter1-basics/doc/chapter1-basics.rst b/examples/qml/tutorials/extending-qml/chapter1-basics/doc/chapter1-basics.rst index 38233aae2..f1ffad446 100644 --- a/examples/qml/tutorials/extending-qml/chapter1-basics/doc/chapter1-basics.rst +++ b/examples/qml/tutorials/extending-qml/chapter1-basics/doc/chapter1-basics.rst @@ -1,5 +1,3 @@ -.. _qml-chapter1-basics: - Extending QML - Creating a New Type =================================== diff --git a/examples/qml/tutorials/extending-qml/chapter2-methods/doc/chapter2-methods.rst b/examples/qml/tutorials/extending-qml/chapter2-methods/doc/chapter2-methods.rst index 245d0ddb2..6ba62cd8a 100644 --- a/examples/qml/tutorials/extending-qml/chapter2-methods/doc/chapter2-methods.rst +++ b/examples/qml/tutorials/extending-qml/chapter2-methods/doc/chapter2-methods.rst @@ -1,5 +1,3 @@ -.. _qml-chapter2-methods: - Extending QML - Connecting to C++ Methods and Signals ===================================================== diff --git a/examples/qml/tutorials/extending-qml/chapter3-bindings/doc/chapter3-bindings.rst b/examples/qml/tutorials/extending-qml/chapter3-bindings/doc/chapter3-bindings.rst index 3b7191191..2d6649ab9 100644 --- a/examples/qml/tutorials/extending-qml/chapter3-bindings/doc/chapter3-bindings.rst +++ b/examples/qml/tutorials/extending-qml/chapter3-bindings/doc/chapter3-bindings.rst @@ -1,5 +1,3 @@ -.. _qml-chapter3-bindings: - Extending QML - Adding Property Bindings ======================================== diff --git a/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/doc/chapter4-customPropertyTypes.rst b/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/doc/chapter4-customPropertyTypes.rst index f7c3efb11..13d1b6f99 100644 --- a/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/doc/chapter4-customPropertyTypes.rst +++ b/examples/qml/tutorials/extending-qml/chapter4-customPropertyTypes/doc/chapter4-customPropertyTypes.rst @@ -1,5 +1,3 @@ -.. _qml-chapter4-custompropertytypes: - Extending QML - Using Custom Property Types =========================================== diff --git a/examples/qml/tutorials/extending-qml/chapter5-listproperties/doc/chapter5-listproperties.rst b/examples/qml/tutorials/extending-qml/chapter5-listproperties/doc/chapter5-listproperties.rst index a98f18c81..ece79e9d6 100644 --- a/examples/qml/tutorials/extending-qml/chapter5-listproperties/doc/chapter5-listproperties.rst +++ b/examples/qml/tutorials/extending-qml/chapter5-listproperties/doc/chapter5-listproperties.rst @@ -1,5 +1,3 @@ -.. _qml-chapter5-listproperties: - Extending QML - Using List Property Types ========================================= diff --git a/examples/qml/tutorials/extending-qml/chapter6-plugins/doc/chapter6-plugins.rst b/examples/qml/tutorials/extending-qml/chapter6-plugins/doc/chapter6-plugins.rst index a9d100812..95b14a77d 100644 --- a/examples/qml/tutorials/extending-qml/chapter6-plugins/doc/chapter6-plugins.rst +++ b/examples/qml/tutorials/extending-qml/chapter6-plugins/doc/chapter6-plugins.rst @@ -1,5 +1,3 @@ -.. _qml-chapter6-plugins-example: - Extending QML - Plugins Example =============================== diff --git a/examples/quickcontrols/filesystemexplorer/doc/filesystemexplorer.rst b/examples/quickcontrols/filesystemexplorer/doc/filesystemexplorer.rst index b46cbec79..98034ba49 100644 --- a/examples/quickcontrols/filesystemexplorer/doc/filesystemexplorer.rst +++ b/examples/quickcontrols/filesystemexplorer/doc/filesystemexplorer.rst @@ -1,5 +1,3 @@ -.. _filesystemexplorer_example: - Qt Quick Controls - Filesystem Explorer ======================================= diff --git a/examples/widgets/gettext/doc/gettext.rst b/examples/widgets/gettext/doc/gettext.rst index ea1127fe7..9c00591fd 100644 --- a/examples/widgets/gettext/doc/gettext.rst +++ b/examples/widgets/gettext/doc/gettext.rst @@ -1,5 +1,3 @@ -.. _gettext-example: - GNU gettext Example =================== diff --git a/examples/widgets/linguist/doc/linguist.rst b/examples/widgets/linguist/doc/linguist.rst index 24a49a617..169688a49 100644 --- a/examples/widgets/linguist/doc/linguist.rst +++ b/examples/widgets/linguist/doc/linguist.rst @@ -1,5 +1,3 @@ -.. _qt-linguist-example: - Qt Linguist Example =================== diff --git a/examples/widgets/rhi/simplerhiwidget/doc/simplerhiwidget.rst b/examples/widgets/rhi/simplerhiwidget/doc/simplerhiwidget.rst index c33c6660a..65cfacd85 100644 --- a/examples/widgets/rhi/simplerhiwidget/doc/simplerhiwidget.rst +++ b/examples/widgets/rhi/simplerhiwidget/doc/simplerhiwidget.rst @@ -1,12 +1,10 @@ -.. _rhi-widget-example: - Simple RHI Widget Example ========================= Shows how to render a triangle using ``QRhi``, Qt's 3D API and shading language abstraction layer. -This example is, in many ways, the counterpart of the :ref:`rhi-window-example` +This example is, in many ways, the counterpart of the :ref:`example_gui_rhiwindow` in the QWidget world. The ``QRhiWidget`` subclass in this applications renders a single triangle, using a simple graphics pipeline with basic vertex and fragment shaders. Unlike the plain ``QWindow``-based application, this example |