summaryrefslogtreecommitdiffstats
path: root/src/datavisualization/data/qitemmodelsurfacedataproxy.cpp
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2014-03-04 13:28:21 +0200
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2014-03-04 13:33:13 +0200
commit878a7e4ead91e81ce9796fb7035ca0fdbd54fee8 (patch)
treebf72d0730b9e4fa8ffe5f3f466c28d4905326bca /src/datavisualization/data/qitemmodelsurfacedataproxy.cpp
parenta9747571470a03e5f8b01a233f222daef68488bc (diff)
Default graphs for qmldesigner
+Some doc changes Change-Id: Id815f178e3321c6033f6782d75a99b54c656ca7a Reviewed-by: Tomi Korpipää <tomi.korpipaa@digia.com>
Diffstat (limited to 'src/datavisualization/data/qitemmodelsurfacedataproxy.cpp')
-rw-r--r--src/datavisualization/data/qitemmodelsurfacedataproxy.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/datavisualization/data/qitemmodelsurfacedataproxy.cpp b/src/datavisualization/data/qitemmodelsurfacedataproxy.cpp
index 07d15d23..01645040 100644
--- a/src/datavisualization/data/qitemmodelsurfacedataproxy.cpp
+++ b/src/datavisualization/data/qitemmodelsurfacedataproxy.cpp
@@ -47,7 +47,7 @@ QT_BEGIN_NAMESPACE_DATAVISUALIZATION
*
* 2) For models that do not have data already neatly sorted into rows and columns, such as
* QAbstractListModel based models, you can define a role from the model to map for each of row,
- * column and value.
+ * column and Y-position.
*
* 3) If you do not want to include all data contained in the model, or the autogenerated rows and
* columns are not ordered as you wish, you can specify which rows and columns should be included
@@ -109,7 +109,8 @@ QT_BEGIN_NAMESPACE_DATAVISUALIZATION
/*!
* \qmlproperty string ItemModelSurfaceDataProxy::xPosRole
- * The X position role of the mapping.
+ * The X position role of the mapping. If this role is not defined, columnRole is used to
+ * determine the X-coordinate value of resolved QSurfaceDataItems.
*/
/*!
@@ -119,7 +120,8 @@ QT_BEGIN_NAMESPACE_DATAVISUALIZATION
/*!
* \qmlproperty string ItemModelSurfaceDataProxy::zPosRole
- * The Z position role of the mapping.
+ * The Z position role of the mapping. If this role is not defined, rowRole is used to
+ * determine the Z-coordinate value of resolved QSurfaceDataItems.
*/
/*!
@@ -366,6 +368,8 @@ QString QItemModelSurfaceDataProxy::columnRole() const
* \property QItemModelSurfaceDataProxy::xPosRole
*
* Defines the X position \a role for the mapping.
+ * If this role is not defined, columnRole is used to determine the X-coordinate
+ * value of resolved QSurfaceDataItems.
*/
void QItemModelSurfaceDataProxy::setXPosRole(const QString &role)
{
@@ -402,6 +406,8 @@ QString QItemModelSurfaceDataProxy::yPosRole() const
* \property QItemModelSurfaceDataProxy::zPosRole
*
* Defines the Z position \a role for the mapping.
+ * If this role is not defined, rowRole is used to determine the Z-coordinate
+ * value of resolved QSurfaceDataItems.
*/
void QItemModelSurfaceDataProxy::setZPosRole(const QString &role)
{