diff options
author | Topi Reinio <topi.reinio@qt.io> | 2019-12-13 23:32:44 +0100 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2019-12-16 12:34:04 +0100 |
commit | 5aa19d92036be3056ee7ff2d5d302b52a3e4a394 (patch) | |
tree | 3a1df24cc52b63583c24aa8575c703171d6e5109 /tests/auto/qdoc/generatedoutput/expected_output/qml-uicomponents-progressbar.html | |
parent | 54ba8c725517fd3651d8949473a155329def62e7 (diff) |
qdoc: Fix regression in output for QML properties with shared comments
QDoc was incorrectly assuming that QML properties that share a comment
must belong to a property group.
Fix the issue, reduce duplication of code with functions that
output properties and methods, fix the 'id' attributes that were left
empty, and remove the <a name="..."> elements that are obsolete and
unnecessary now that 'id' has correct content.
Add a test for both properties and methods that share a comment, and
fix the expected output data for above changes.
Fixes: QTBUG-80768
Change-Id: Iddfca8214b6058987c76cd8f8dd6a842ce7cea89
Reviewed-by: Levon Sargsyan <levon.sargsyan@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'tests/auto/qdoc/generatedoutput/expected_output/qml-uicomponents-progressbar.html')
-rw-r--r-- | tests/auto/qdoc/generatedoutput/expected_output/qml-uicomponents-progressbar.html | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/auto/qdoc/generatedoutput/expected_output/qml-uicomponents-progressbar.html b/tests/auto/qdoc/generatedoutput/expected_output/qml-uicomponents-progressbar.html index 5a25e2ff1..d860f022e 100644 --- a/tests/auto/qdoc/generatedoutput/expected_output/qml-uicomponents-progressbar.html +++ b/tests/auto/qdoc/generatedoutput/expected_output/qml-uicomponents-progressbar.html @@ -45,53 +45,53 @@ <!-- $$$color --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> -<tr valign="top" class="odd" id=""> +<tr valign="top" class="odd" id="color-prop"> <td class="tblQmlPropNode"><p> -<a name="color-prop"></a><span class="name">color</span> : <span class="type">color</span></p></td></tr> -</table></div> -</div><div class="qmldoc"><p>The color of the <a href="qml-uicomponents-progressbar.html">ProgressBar</a>'s gradient. Must bind to a color type.</p> +<span class="name">color</span> : <span class="type">color</span></p></td></tr> +</table></div></div> +<div class="qmldoc"><p>The color of the <a href="qml-uicomponents-progressbar.html">ProgressBar</a>'s gradient. Must bind to a color type.</p> <p><b>See also </b><a href="qml-uicomponents-progressbar.html#secondColor-prop">secondColor</a>.</p> </div></div><!-- @@@color --> <br/> <!-- $$$maximum --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> -<tr valign="top" class="odd" id=""> +<tr valign="top" class="odd" id="maximum-prop"> <td class="tblQmlPropNode"><p> -<a name="maximum-prop"></a><span class="name">maximum</span> : <span class="type"><a href="qml-int.html">int</a></span></p></td></tr> -</table></div> -</div><div class="qmldoc"><p>The maximum value of the <a href="qml-uicomponents-progressbar.html">ProgressBar</a> range. The <a href="qml-uicomponents-progressbar.html#value-prop">value</a> must not be more than this value.</p> +<span class="name">maximum</span> : <span class="type"><a href="qml-int.html">int</a></span></p></td></tr> +</table></div></div> +<div class="qmldoc"><p>The maximum value of the <a href="qml-uicomponents-progressbar.html">ProgressBar</a> range. The <a href="qml-uicomponents-progressbar.html#value-prop">value</a> must not be more than this value.</p> </div></div><!-- @@@maximum --> <br/> <!-- $$$minimum --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> -<tr valign="top" class="odd" id=""> +<tr valign="top" class="odd" id="minimum-prop"> <td class="tblQmlPropNode"><p> -<a name="minimum-prop"></a><span class="name">minimum</span> : <span class="type"><a href="qml-int.html">int</a></span></p></td></tr> -</table></div> -</div><div class="qmldoc"><p>The minimum value of the <a href="qml-uicomponents-progressbar.html">ProgressBar</a> range. The <a href="qml-uicomponents-progressbar.html#value-prop">value</a> must not be less than this value.</p> +<span class="name">minimum</span> : <span class="type"><a href="qml-int.html">int</a></span></p></td></tr> +</table></div></div> +<div class="qmldoc"><p>The minimum value of the <a href="qml-uicomponents-progressbar.html">ProgressBar</a> range. The <a href="qml-uicomponents-progressbar.html#value-prop">value</a> must not be less than this value.</p> </div></div><!-- @@@minimum --> <br/> <!-- $$$secondColor --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> -<tr valign="top" class="odd" id=""> +<tr valign="top" class="odd" id="secondColor-prop"> <td class="tblQmlPropNode"><p> -<a name="secondColor-prop"></a><span class="name">secondColor</span> : <span class="type">color</span></p></td></tr> -</table></div> -</div><div class="qmldoc"><p>The second color of the <a href="qml-uicomponents-progressbar.html">ProgressBar</a>'s gradient. Must bind to a color type.</p> +<span class="name">secondColor</span> : <span class="type">color</span></p></td></tr> +</table></div></div> +<div class="qmldoc"><p>The second color of the <a href="qml-uicomponents-progressbar.html">ProgressBar</a>'s gradient. Must bind to a color type.</p> <p><b>See also </b><a href="qml-uicomponents-progressbar.html#color-prop">color</a>.</p> </div></div><!-- @@@secondColor --> <br/> <!-- $$$value --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> -<tr valign="top" class="odd" id=""> +<tr valign="top" class="odd" id="value-prop"> <td class="tblQmlPropNode"><p> -<a name="value-prop"></a><span class="name">value</span> : <span class="type"><a href="qml-int.html">int</a></span></p></td></tr> -</table></div> -</div><div class="qmldoc"><p>The value of the progress.</p> +<span class="name">value</span> : <span class="type"><a href="qml-int.html">int</a></span></p></td></tr> +</table></div></div> +<div class="qmldoc"><p>The value of the progress.</p> </div></div><!-- @@@value --> <br/> </body> |