From 42541b2406f6b35e109ee6bee64283582dfd2adc Mon Sep 17 00:00:00 2001 From: Albin Olsson Date: Thu, 19 Sep 2013 16:17:20 +0200 Subject: Make geo coordinates animatable in QML. Interpolation logic in AnimatableCoordinate has been moved around so that QGeoCoordinates can be animated directly by QPropertyAnimation. A new QML type has been added, 'CoordinateAnimation', for animating coordinates in QML. This type follows the pattern of 'ColorAnimation' and other specializations of 'PropertyAnimation'. QDoubleVector2D, QDoubleVector3D and QGeoProjection has been moved to QtPositioning Testcase for CoordinateAnimation has been added to declarative_ui. AnimatableCoordinate and QGeoCoordinateInterpolator are redundant and have been removed. Change-Id: I0809da566e1800274384f9c5337df65623d1e61a Reviewed-by: Alex Blasche --- src/positioning/positioning.pro | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/positioning/positioning.pro') diff --git a/src/positioning/positioning.pro b/src/positioning/positioning.pro index 296356d0..7ad5f480 100644 --- a/src/positioning/positioning.pro +++ b/src/positioning/positioning.pro @@ -34,7 +34,10 @@ PRIVATE_HEADERS += \ qgeocoordinate_p.h \ qgeopositioninfosource_p.h \ qdeclarativegeoaddress_p.h \ - qdeclarativegeolocation_p.h + qdeclarativegeolocation_p.h \ + qdoublevector2d_p.h \ + qdoublevector3d_p.h \ + qgeoprojection_p.h SOURCES += \ qgeoaddress.cpp \ @@ -53,8 +56,12 @@ SOURCES += \ qnmeapositioninfosource.cpp \ qgeopositioninfosourcefactory.cpp \ qdeclarativegeoaddress.cpp \ - qdeclarativegeolocation.cpp + qdeclarativegeolocation.cpp \ + qdoublevector2d.cpp \ + qdoublevector3d.cpp \ + qgeoprojection.cpp HEADERS += $$PUBLIC_HEADERS $$PRIVATE_HEADERS + load(qt_module) -- cgit v1.2.1