QDoc: Share the annotated-list visibility filter


The HTML generator's annotated list decides which members to show by
running each one through the inclusion policy and dropping deprecated
entries, but that decision is buried inside the rendering routine. A
caller that wants to know whether a list would produce any visible rows
— to choose whether to emit a surrounding heading, for instance — has no
way to ask without rendering, and reproducing the policy by hand would
create a second copy that can drift from the renderer's.

The membership filter now lives in one place that returns the visible,
display-named set, and the renderer consumes that set through a
collection-keyed entry point. Rendering from a raw member list flows
through the same filter, so the list a caller inspects is exactly the
list that gets rendered. Output is unchanged for every existing list.

Task-number: QTBUG-145046
Pick-to: 6.12
Change-Id: I327cf11e382fc3a9dbbcda40798b8ac68d8daf6f
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit3ed6a3cad77d87b9f0593509106077a74a29d920
parent5683c95cda270ce8b060e53e829f5e3a8734b39a
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeThu, 4 Jun 2026 17:43:36 +0000