diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-08-04 11:22:17 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-08-04 11:22:17 (GMT) |
commit | ce7462aaa6826bd81f0f9164a3561d8e2dfb99e8 (patch) | |
tree | 473323943ab1d9d38881a6a6b888935d95abbf6f /src/corelib | |
parent | c1bac607f3f3889d367e20c128acf30dc9537ddc (diff) | |
parent | 28fcd720d3c4090fa915f9638c56dcb389220da6 (diff) | |
download | Qt-ce7462aaa6826bd81f0f9164a3561d8e2dfb99e8.zip Qt-ce7462aaa6826bd81f0f9164a3561d8e2dfb99e8.tar.gz Qt-ce7462aaa6826bd81f0f9164a3561d8e2dfb99e8.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Assistant: Include QML docs
Fixed the curve descriptions and added descriptions for overshoot, amplitude, and period. Fix for QTBUG-7940.
Cocoa: Showing a QFontDialog first shows it in the bottom-left corner
Mac: fix regression from 65a673f that makes some buttons unclickable
Fix deadlocks in ICD and NetworkManager engines.
new icons for cell and bt networks.
Doc: updating getting started docs - not finished
Doc: removing empty links in bread crumb
add convience methods for getting ethernet service details.
fix spelling
fix crash
try harder to get cell name
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/tools/qeasingcurve.cpp | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/src/corelib/tools/qeasingcurve.cpp b/src/corelib/tools/qeasingcurve.cpp index 1734b03..ee791e0 100644 --- a/src/corelib/tools/qeasingcurve.cpp +++ b/src/corelib/tools/qeasingcurve.cpp @@ -91,6 +91,16 @@ animation.setDuration(1000); animation.setEasingCurve(QEasingCurve::InOutQuad); \endcode + + The ability to set an amplitude, overshoot, or period depends on the QEasingCurve type. Amplitude access + is available to curves that behave as springs such as elastic and bounce curves. Changing the amplitude changes + the height of the curve. Period access is only available to elastic curves and setting a higher period slows + the rate of bounce. Only curves that have "boomerang" behaviors such as the InBack, OutBack, InOutBack, and OutInBack + have overshoot settings. These curves will interpolate beyond the end points and return to the end point, + acting similar to a boomerang. + + The \l{Easing Curves Example} contains samples of QEasingCurve types and lets you change the curve settings. + */ /*! @@ -140,15 +150,15 @@ accelerating from zero velocity. \value OutQuart \inlineimage qeasingcurve-outquart.png \br - Easing curve for a cubic (t^4) function: + Easing curve for a quartic (t^4) function: decelerating to zero velocity. \value InOutQuart \inlineimage qeasingcurve-inoutquart.png \br - Easing curve for a cubic (t^4) function: + Easing curve for a quartic (t^4) function: acceleration until halfway, then deceleration. \value OutInQuart \inlineimage qeasingcurve-outinquart.png \br - Easing curve for a cubic (t^4) function: + Easing curve for a quartic (t^4) function: deceleration until halfway, then acceleration. \value InQuint \inlineimage qeasingcurve-inquint.png \br @@ -156,15 +166,15 @@ in: accelerating from zero velocity. \value OutQuint \inlineimage qeasingcurve-outquint.png \br - Easing curve for a cubic (t^5) function: + Easing curve for a quintic (t^5) function: decelerating to zero velocity. \value InOutQuint \inlineimage qeasingcurve-inoutquint.png \br - Easing curve for a cubic (t^5) function: + Easing curve for a quintic (t^5) function: acceleration until halfway, then deceleration. \value OutInQuint \inlineimage qeasingcurve-outinquint.png \br - Easing curve for a cubic (t^5) function: + Easing curve for a quintic (t^5) function: deceleration until halfway, then acceleration. \value InSine \inlineimage qeasingcurve-insine.png \br |