qt-quick-for-designers-1:making_things_move
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
qt-quick-for-designers-1:making_things_move [2013/06/22 02:21] – mithat | qt-quick-for-designers-1:making_things_move [2013/07/06 21:27] – [Resources] mithat | ||
---|---|---|---|
Line 309: | Line 309: | ||
=== PauseAnimation === | === PauseAnimation === | ||
* The **PauseAnimation** allows you to add delays in your animation. | * The **PauseAnimation** allows you to add delays in your animation. | ||
- | < | + | < |
PauseAnimation { | PauseAnimation { | ||
target : myRect | target : myRect | ||
Line 315: | Line 315: | ||
}</ | }</ | ||
+ | === Animating with behavior === | ||
+ | <code javascript> | ||
+ | Rectangle { | ||
+ | width: 20; height: 20; color: "# | ||
+ | y: 200 | ||
+ | Behavior on y { | ||
+ | NumberAnimation { | ||
+ | easing.type: | ||
+ | duration: 200 | ||
+ | } | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | -------------------------------------------------------------- | ||
+ | ====== Resources ====== | ||
+ | {{: |
qt-quick-for-designers-1/making_things_move.txt · Last modified: 2013/07/06 22:52 by mithat