QDoc: Fix cppref rendering regressions


Class reference pages generated by the template generator carried
four rendering issues that surface immediately against the full Qt 6
documentation corpus. Template-class subtitles dropped the template
keyword, leaving readers with "<typename T>class QPointer" where the
convention is "template<typename T>" followed by the class line.
Member-detail headings lacked the permalink anchors the legacy
generator emits, removing the "direct link to this headline"
affordance that readers rely on when citing specific members in
issues or reviews. Comparison tables appeared untitled and labeled
their second column "Type(s)" rather than the more descriptive
"Comparable Types" that the legacy output uses. Obsolete-member
pages rendered "reference page" flush against the class link, the
single separating space lost to Inja's block-tag whitespace handling.

The signature span renderer now emits the template keyword that the
IR already carries, the cppref template inserts a line break between
the template declaration and the class line so the signature reads as
conventional C++ code, every member heading closes with a permalink
anchor, the comparison table gains a title and the renamed column
header, and the obsolete template forces a separating space via an
explicit whitespace expression. Expected output regenerates across
cppref_validation, navigation, and qtlottie_validation to reflect
the new member-heading markup.

Task-number: QTBUG-143355
Change-Id: Id8555184f351d04504554ee442e78c890a9da72a
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit05a9785db959cc7056c801ded45b777d3f31c654
parentb9b259edf52906c015f86c2a4cca83eebb4301e8
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeThu, 23 Apr 2026 20:45:20 +0000