diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2014-07-04 12:14:13 +0300 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2014-07-04 12:55:05 +0300 |
commit | 1b311517f8889e6faa8a1ae51af582c1cd07e739 (patch) | |
tree | d1b023e36b5c7ddd67368007bb64c4b8551c480b /src/datavisualization/data | |
parent | 9c3b9fb2d8f07b2b3f2e5bc84653711043c9936c (diff) |
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 <mika.salmela@digia.com>
Diffstat (limited to 'src/datavisualization/data')
-rw-r--r-- | src/datavisualization/data/qsurface3dseries.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
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 @@ -141,6 +141,14 @@ QT_BEGIN_NAMESPACE_DATAVISUALIZATION */ /*! + * \qmlproperty string Surface3DSeries::textureFile + * + * Holds the texture file name for the surface texture. To clear the texture, set empty + * file name. + */ + + +/*! * \enum QSurface3DSeries::DrawFlag * * Drawing mode of the surface. Values of this enumeration can be combined with OR operator. @@ -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. |