QDoc: Restore alternating row classes in template-generated tables


The legacy HtmlGenerator gives consecutive body rows alternating
odd and even row classes. The visual contrast between them is
not decoration: readers scanning the all-classes index rely on
it to track adjacent rows across a wide table and to spot where
one alphabetic group ends and the next begins. The template
generator's tables ship without the row class entirely, so once
the template generator becomes the production renderer those
tables read as an unbroken wall of rows.

Body table rows in template output now alternate odd and even
row classes the way the legacy renderer does, restoring the
visual cue without disturbing the rest of the rendering
contract.

Fixes: QTBUG-146599
Change-Id: I0badddbc1ec0a11608fa0eed03036373d146cc5f
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit30272ec3c985ee617b67ab398fe8260d58256cf4
parentca268e8148fd0860cd79539b12a54cfb902c47ac
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeThu, 7 May 2026 09:20:41 +0000