qt5base-lts/tests/benchmarks/gui
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
..
animation Updated license headers 2016-01-21 18:55:18 +00:00
graphicsview Deprecate QCoreApplication::flush() 2017-04-22 15:18:01 +00:00
image Modularize configure.json/.pri 2016-09-15 08:23:53 +00:00
itemviews Updated license headers 2016-01-21 18:55:18 +00:00
kernel Deprecate QCoreApplication::flush() 2017-04-22 15:18:01 +00:00
math3d Updated license headers 2016-01-21 18:55:18 +00:00
painting Use qRadiansToDegrees() and qDegreesToRadians() more widely 2017-07-05 10:15:34 +00:00
styles Deprecate QCoreApplication::flush() 2017-04-22 15:18:01 +00:00
text Improve performance of Qt::mightBeRichText by using QStringRef 2016-07-11 12:30:31 +00:00
gui.pro add and use qtHaveModule() function 2012-12-21 19:05:02 +01:00