{#-
Copyright (C) 2025 The Qt Company Ltd.
SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
-#}
{{ escape_html(fullTitle) }}
{% if default(brief, "") != "" %}
{{ escape_html(brief) }}
{% endif %}
{% set ai_prompt = "I'm reading the Qt documentation for the '" + title + "' module" %}
{% if brief %}{% set ai_prompt = ai_prompt + ". Summary: " + brief %}{% endif %}
{% set ai_prompt = ai_prompt + ". Explain the key classes and typical usage patterns." %}
{% if hasCollection %}
{% if existsIn(collection, "state") %}
Status: {{ escape_html(collection.state) }}
{% endif %}
{% if collection.isModule %}
{% if collection.cmakePackage %}
| CMake: |
find_package({{ escape_html(collection.cmakePackage) }} REQUIRED COMPONENTS {{ escape_html(collection.cmakeComponent) }})
target_link_libraries(mytarget PRIVATE {{ escape_html(collection.cmakeTargetItem) }}) |
{% endif %}
{% if collection.qtVariable %}
| qmake: |
QT += {{ escape_html(collection.qtVariable) }} |
{% endif %}
{% endif %}
{% endif %}
{% include "partials/html/content_blocks.html" %}
{% if hasCollection %}{% if not collection.noAutoList %}
{% if collection.isModule %}
{% if length(collection.namespaces) > 0 %}
Namespaces
{% for entry in collection.namespaces %}
| {% if entry.href != "" %}{{ escape_html(entry.name) }}{% else %}{{ escape_html(entry.name) }}{% endif %} | {{ escape_html(entry.brief) }} |
{% endfor %}
{% endif %}
{% if length(collection.classes) > 0 %}
Classes
{% for entry in collection.classes %}
| {% if entry.href != "" %}{{ escape_html(entry.name) }}{% else %}{{ escape_html(entry.name) }}{% endif %} | {{ escape_html(entry.brief) }} |
{% endfor %}
{% endif %}
{% else %}
{% if length(collection.members) > 0 %}
{% for entry in collection.members %}
| {% if entry.href != "" %}{{ escape_html(entry.name) }}{% else %}{{ escape_html(entry.name) }}{% endif %} | {{ escape_html(entry.brief) }} |
{% endfor %}
{% endif %}
{% endif %}
{% endif %}{% endif %}