From 1b311517f8889e6faa8a1ae51af582c1cd07e739 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Fri, 4 Jul 2014 12:14:13 +0300 Subject: Exposed default input handlers to QML Also added properties to control rotation, zoom, and selection individually. Also added missing documentation about surface texture. Task-number: QTRD-3202 Change-Id: I981edb7f336aea499440559f4a2098711200206d Reviewed-by: Mika Salmela --- src/datavisualization/data/qsurface3dseries.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src/datavisualization/data/qsurface3dseries.cpp') diff --git a/src/datavisualization/data/qsurface3dseries.cpp b/src/datavisualization/data/qsurface3dseries.cpp index bcfc4042..7d4dacfe 100644 --- a/src/datavisualization/data/qsurface3dseries.cpp +++ b/src/datavisualization/data/qsurface3dseries.cpp @@ -140,6 +140,14 @@ QT_BEGIN_NAMESPACE_DATAVISUALIZATION * Clearing all flags is not allowed. */ +/*! + * \qmlproperty string Surface3DSeries::textureFile + * + * Holds the texture file name for the surface texture. To clear the texture, set empty + * file name. + */ + + /*! * \enum QSurface3DSeries::DrawFlag * @@ -300,6 +308,8 @@ QSurface3DSeries::DrawFlags QSurface3DSeries::drawMode() const } /*! + * \property QSurface3DSeries::texture + * * Set the \a texture as a QImage for the surface. To clear the texture, set empty * QImage as texture. */ @@ -318,7 +328,8 @@ QImage QSurface3DSeries::texture() const return dptrc()->m_texture; } -/*! \property QSurface3DSeries::textureFile +/*! + * \property QSurface3DSeries::textureFile * * Holds the texture file name for the surface texture. To clear the texture, set empty * file name. -- cgit v1.2.3