Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-79204

qdoc: Anchoring for property groups nodes is lost

    XMLWordPrintable

Details

    • d3c05eb7e943ca8d4bd55e5eea236eaf08ce5cf5 (qt/qttools/5.15)

    Description

      Since the comment file feature, links to QML property groups fail. The generated output no longer contains the top-level name of a property group; and there is an empty id="" for where the anchor should be.

      --- a/qtquick/qml-qtquick-anchoranimation.html
      +++ b/qtquick/qml-qtquick-anchoranimation.html
      @@ -111,8 +111,65 @@
       <p>The default value is 250.</p>
       </div></div><!-- @@@duration -->
       <br/>
      -<!-- $$$easing -->
      -<div class="qmlitem"><div class="qmlproto"><div class="table"><table class="qmlname"><tr valign="top" class="even" id="easing-prop"><th class="centerAlign"><p><a name="easing-prop"></a><b>easing group</b></p></th></tr><tr valign="top" class="odd" id="easing.type-prop"><td class="tblQmlPropNode"><p><a name="easing.type-prop"></a><span class="name">easing.type</span> : <span class="type"><a href="../qtqml/qml-enumeration.html">enumeration</a></span></p></td></tr><tr valign="top" class="odd" id="easing.amplitude-prop"><td class="tblQmlPropNode"><p><a name="easing.amplitude-prop"></a><span class="name">easing.amplitude</span> : <span class="type"><a href="../qtqml/qml-real.html">real</a></span></p></td></tr><tr valign="top" class="odd" id="easing.overshoot-prop"><td class="tblQmlPropNode"><p><a name="easing.overshoot-prop"></a><span class="name">easing.overshoot</span> : <span class="type"><a href="../qtqml/qml-real.html">real</a></span></p></td></tr><tr valign="top" class="odd" id="easing.period-prop"><td class="tblQmlPropNode"><p><a name="easing.period-prop"></a><span class="name">easing.period</span> : <span class="type"><a href="../qtqml/qml-real.html">real</a></span></p></td></tr></table></div></div><div class="qmldoc"><p>Specifies the easing curve used for the animation</p>
      +<!-- $$$easing.amplitude -->
      +<div class="qmlitem"><div class="qmlproto">
      +<div class="table"><table class="qmlname">
      +<tr valign="top" class="odd" id="">
      +<td class="tblQmlPropNode"><p>
      +<a name="easing.amplitude-prop"></a><span class="name">easing.amplitude</span> : <span class="type"><a href="../qtqml/qml-real.html">real</a></span></p></td></tr>
      +</table></div>
      +</div><div class="qmldoc"><p>Specifies the easing curve used for the animation</p>
      +<p>To specify an easing curve you need to specify at least the type. For some curves you can also specify amplitude, period and/or overshoot. The default easing curve is Linear.</p>
      +<pre class="qml">
      +
      +  <span class="type"><a href="qml-qtquick-anchoranimation.html">AnchorAnimation</a></span> { <span class="name">easing</span>.type: <span class="name">Easing</span>.<span class="name">InOutQuad</span> }
      +
      +</pre>
      ...
      

      Also, even though the properties in the group are expected to act the same as shared comment nodes, this is not the case; the documentation is duplicated for each property in the group. See qml-qtquick-animator.html

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-79204
          # Subject Branch Project Status CR V

          Activity

            People

              treinio Topi Reiniƶ
              treinio Topi Reiniƶ
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes