qt5base-lts/examples/widgets/animation
Edward Welbourne 8095c33bcd Use qRadiansToDegrees() and qDegreesToRadians() more widely
Especially in examples, where we should show off our convenience
functions, prefer calling these functions over doing arithmetic with
M_PI (or approximations thereto) and 180 (give or take simple
factors).  This incidentally documents what's going on, just by the
name of the function used (and reveals at least one place where
variables were misnamed; the return from atan is in radians, *not*
degrees).

Task-number: QTBUG-58083
Change-Id: I6e5d66721cafab423378f970af525400423e971e
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2017-07-05 10:15:34 +00:00
..
animatedtiles Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
appchooser Examples: Remove a redundant virtual specifier for overriders 2016-11-25 22:36:21 +00:00
easing Examples: Replace 'Q_DECL_OVERRIDE' by 'override' 2016-06-15 09:32:30 +00:00
moveblocks Examples: Remove a redundant virtual specifier for overriders 2016-11-25 22:36:21 +00:00
states Examples: Remove a redundant virtual specifier for overriders 2016-11-25 22:36:21 +00:00
stickman Use qRadiansToDegrees() and qDegreesToRadians() more widely 2017-07-05 10:15:34 +00:00
sub-attaq examples: remove some unneeded QStringRef::toString() calls 2017-04-07 14:35:04 +00:00
animation.pro remove QT+=widgets from SUBDIRS projects 2012-12-17 14:08:17 +01:00
README Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00

The animation framework aims to provide an easy way for creating animated and
smooth GUI's. By animating Qt properties, the framework provides great freedom
for animating widgets and other QObjects. The framework can also be used with
the Graphics View framework.


Documentation for these examples can be found via the Examples
link in the main Qt documentation.