summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@digia.com>2013-09-25 06:31:14 +0300
committerTomi Korpipää <tomi.korpipaa@digia.com>2013-09-25 08:08:52 +0300
commitacd398f38f228960367bcccd3f2c99aca753248f (patch)
tree035e05513072d68bb874dd72015e435332369279 /src
parent2f2b544c161a013b42d9d2ebe8065dc3510ddcdf (diff)
Added missing qmlmethod docs
Task-number: QTRD-2133 Change-Id: I8549448eda6fcbf667810cee7f14e75e0b6384ef Change-Id: I8549448eda6fcbf667810cee7f14e75e0b6384ef Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/datavisualization/engine/q3dbars.cpp21
-rw-r--r--src/datavisualization/engine/q3dscatter.cpp20
2 files changed, 41 insertions, 0 deletions
diff --git a/src/datavisualization/engine/q3dbars.cpp b/src/datavisualization/engine/q3dbars.cpp
index 701c82b9..fb46a14c 100644
--- a/src/datavisualization/engine/q3dbars.cpp
+++ b/src/datavisualization/engine/q3dbars.cpp
@@ -109,6 +109,27 @@ QT_DATAVISUALIZATION_BEGIN_NAMESPACE
*/
/*!
+ * \qmlmethod void Bars3D::setCameraPosition(qreal horizontal, qreal vertical, int distance)
+ * Move camera to a wanted position based on \a horizontal and \a vertical angles. Angles are limited
+ * to -180...180 in horizontal direction and either -90...90 or 0...90 in vertical, depending
+ * on data values. Negative vertical angles are allowed only if there are negative bar values.
+ * \a distance is adjustable between 10 and 500, being \c 100 by default.
+ */
+
+/*!
+ * \qmlmethod void Bars3D::setBarColor(const QColor &baseColor, bool uniform)
+ * Set bar color using your own color. \a baseColor sets the base color of a bar. The \a uniform
+ * -flag is used to define if color needs to be uniform throughout bar's length, or will the colors
+ * be applied by height, starting with dark at the bottom. It is \c true by default.
+ *
+ * Calling this method overrides colors from theme.
+ *
+ * \sa theme
+ *
+ * \warning This method is subject to change.
+ */
+
+/*!
* \qmlproperty BarDataProxy Bars3D::dataProxy
* The active data proxy.
*
diff --git a/src/datavisualization/engine/q3dscatter.cpp b/src/datavisualization/engine/q3dscatter.cpp
index 0940fc71..cb06c99f 100644
--- a/src/datavisualization/engine/q3dscatter.cpp
+++ b/src/datavisualization/engine/q3dscatter.cpp
@@ -100,6 +100,26 @@ QT_DATAVISUALIZATION_BEGIN_NAMESPACE
*/
/*!
+ * \qmlmethod void Scatter3D::setCameraPosition(qreal horizontal, qreal vertical, int distance)
+ * Move camera to a wanted position based on \a horizontal and \a vertical angles. Angles are limited
+ * to -180...180 in horizontal direction and -90...90 in vertical. \a distance is adjustable
+ * between 10 and 500, being \c 100 by default.
+ */
+
+/*!
+ * \qmlmethod void Scatter3D::setObjectColor(const QColor &baseColor, bool uniform)
+ * Set item color using your own colors. \a baseColor sets the base color of a item. The \a uniform
+ * -flag is used to define if color needs to be uniform throughout item's length, or will the colors
+ * be applied by height. It is \c true by default.
+ *
+ * Calling this method overrides colors from theme.
+ *
+ * \sa theme
+ *
+ * \warning This method is subject to change.
+ */
+
+/*!
* \qmlproperty ScatterDataProxy Scatter3D::dataProxy
* The active data proxy.
*