diff options
author | Topi Reinio <topi.reinio@qt.io> | 2024-05-31 21:59:27 +0000 |
---|---|---|
committer | Topi Reinio <topi.reinio@qt.io> | 2024-06-17 19:07:11 +0000 |
commit | 49d9fc9266352b15217dd54a12191a5b54c8b883 (patch) | |
tree | 097729708fe46e2d930d953c4db54d29fc04f322 /src/designer/src/lib/uilib | |
parent | cb1f39823a47c97770c79e6caf8a6d03899ad854 (diff) |
\generatelist and \annotatedlist commands default to sorting the list
based on title (name), in ascending order.
Make both commands accept an optional sort order argument in angle
brackets. Specifically,
\generatelist [descending] <group_name>
will invert the default ascending order.
Further, allow defining custom sort keys in the documentation of each
group member:
\meta sortkey {<value>}
Any sort key, if defined, will cause the member to be listed before
ones without a sort key (in the default ascending sort). This allows
lifting selected items to the top of the list by defining a sort key,
or managing the sort order entirely by defining a key for all group
members.
[ChangeLog][QDoc] \generatelist and \annotatedlist commands now support
custom sort order for the generated lists.
Fixes: QTBUG-125764
Change-Id: I0b72d0ece9a333d8d69fbd05176e23fe2fc27ff5
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/designer/src/lib/uilib')
0 files changed, 0 insertions, 0 deletions