QDoc: Make QDoc respect the documented behavior for \details command


As documented, \details accepts a summary text, enclosed in braces, as
an argument.

Enforce the use of braces in the argument; warn if the argument doesn't
start with '{' and ignore rest of the line. The content for the details
paragraph always starts from a new line, not immediately after the
\details command.

Change-Id: Iab30a44d0cb8fc35652d2d2d0dc283f191dd62ac
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
commit2c8939b479fb84059beeb3a239a75df02ba998a7
parent94cb8740832ba34ec5b0ebbd2116cfa4729403f5
authorTopi Reinio <topi.reinio@qt.io>
committerTopi Reinio <topi.reinio@qt.io>
commit timeFri, 13 Mar 2026 05:42:09 +0000