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

Animator documentation does not mention properties from Animation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • 5.9.0 Beta 2
    • 5.7.1, 5.8.0 RC
    • None
    • Linux pc 4.9.0-1-ARCH #1 SMP PREEMPT Thu Dec 22 13:21:10 CET 2016 x86_64 GNU/Linux

      https://doc-snapshots.qt.io/qt5-5.8/qml-qtquick-animator.html and http://doc.qt.io/qt-5/qml-qtquick-animator.html do not mention the properties/signals/methods documented on the http://doc.qt.io/qt-5/qml-qtquick-animation.html, neither does it mention that Animator inherits Animation (does it?).

      A quick testcase with any *Animator shows that those properties/signals/methods are present:

      Unable to find source-code formatter for language: qml. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      import QtQuick 2.7
      
      Item {
      	width: 100
      	height: 100
      	Rectangle {
      		width: 50
      		height: 50
      		color: "lightsteelblue"
      		ScaleAnimator on scale {
      			loops: 2
      			from: 0.5;
      			to: 1;
      			duration: 1000
      			Component.onCompleted: console.log(
      				alwaysRunToEnd,
      				loops,
      				paused,
      				running,
      				started,
      				stopped,
      				complete,
      				pause,
      				restart,
      				resume,
      				start,
      				stop
      			)
      		}
      	}
      }
      

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

            kavindra Kavindra Palaraja (Inactive)
            chalker Сковорода Никита
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes