summaryrefslogtreecommitdiffstats
path: root/src/datavisualization/data/qitemmodelsurfacedataproxy.cpp
diff options
context:
space:
mode:
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)
{