summaryrefslogtreecommitdiffstats
path: root/src/tools/ifcodegen/templates/frontend/module_qml_enum.qdocinc.jinja
blob: 2cbfebef4238137fc054f78a8eb31e9d1452c2ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{#
# Copyright (C) 2021 The Qt Company Ltd.
# Copyright (C) 2019 Luxoft Sweden AB
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#}

{% for enum in module.enums %}
//! [{{enum}}]
{%   for member in enum.members %}
{%     with doc = member.comment|parse_doc %}
\value {{member.name}}
{%       if doc.description %}
       {{doc.description|join(' ')| wordwrap(width=100, wrapstring='\n       ')}}
{%       endif %}
{%     endwith %}
{%   endfor %}
//! [{{enum}}]
{% endfor %}