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

qdoc: References to self are hyperlinked.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.13.1
    • Build tools: qdoc
    • None
    • 1df2d0614dfc549c3f88df151b68c773bcbb6a34
    • QDoc Sprint 1

    Description

      Properties/functions happily link to themselves in their documentation.

      --- a/qtquick/qml-qt-labs-animation-boundaryrule.html
      +++ b/qtquick/qml-qt-labs-animation-boundaryrule.html
      @@ -204,7 +204,7 @@
       <td class="tblQmlPropNode"><p>
       <a name="overshootScale-prop"></a><span class="name">overshootScale</span> : <span class="type">qreal</span></p></td></tr>
       </table></div>
      -</div><div class="qmldoc"><p>This property holds the amount by which the <a href="qtquick-statesanimations-animations.html#easing">easing</a> is scaled during the overshoot condition. For example if an Item is restricted from moving more than 100 pixels beyond some limit, and the user (by means of some Input Handler) is trying to drag it 100 pixels past the limit, if overshootScale is set to 1, the user will succeed: the only effect of the easing curve is to change the rate at which the item moves from overshoot 0 to overshoot 100. But if it is set to 0.5, the <a href="qml-qt-labs-animation-boundaryrule.html">BoundaryRule</a> provides resistance such that when the user tries to move 100 pixels, the Item will only move 50 pixels; and the easing curve modulates the rate of movement such that it may move in sync with the user's attempted movement at the beginning, and then slows down, depending on the shape of the easing curve.</p>
      +</div><div class="qmldoc"><p>This property holds the amount by which the <a href="qtquick-statesanimations-animations.html#easing">easing</a> is scaled during the overshoot condition. For example if an Item is restricted from moving more than 100 pixels beyond some limit, and the user (by means of some Input Handler) is trying to drag it 100 pixels past the limit, if <a href="qml-qt-labs-animation-boundaryrule.html#overshootScale-prop">overshootScale</a> is set to 1, the user will succeed: the only effect of the easing curve is to change the rate at which the item moves from overshoot 0 to overshoot 100. But if it is set to 0.5, the <a href="qml-qt-labs-animation-boundaryrule.html">BoundaryRule</a> provides resistance such that when the user tries to move 100 pixels, the Item will only move 50 pixels; and the easing curve modulates the rate of movement such that it may move in sync with the user's attempted movement at the beginning, and then slows down, depending on the shape of the easing curve.</p>
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              gbk Martin Smith (Qt)
              treinio Topi Reiniƶ
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes