From 878a7e4ead91e81ce9796fb7035ca0fdbd54fee8 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Tue, 4 Mar 2014 13:28:21 +0200 Subject: Default graphs for qmldesigner MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit +Some doc changes Change-Id: Id815f178e3321c6033f6782d75a99b54c656ca7a Reviewed-by: Tomi Korpipää --- src/datavisualization/data/qitemmodelsurfacedataproxy.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/datavisualization/data') 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) { -- cgit v1.2.3