diff options
author | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-09-12 07:58:26 +0300 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@digia.com> | 2013-09-12 08:26:00 +0300 |
commit | 2dc1b3809943e3d294e2363a2b0d185607b8854f (patch) | |
tree | d077d9ee51d9df83adc38b65fab3fc3da6462dcc /src/datavisualization/data/qitemmodelsurfacedatamapping.cpp | |
parent | d93f5f3b64fdb52cc150232f6b6d80ffdb57db78 (diff) |
QML documentation
Task-number: QTRD-2133
Change-Id: I2568b3cd6e83ee933536d7fec2e48f9f121b213e
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'src/datavisualization/data/qitemmodelsurfacedatamapping.cpp')
-rw-r--r-- | src/datavisualization/data/qitemmodelsurfacedatamapping.cpp | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/datavisualization/data/qitemmodelsurfacedatamapping.cpp b/src/datavisualization/data/qitemmodelsurfacedatamapping.cpp index 4b90f320..79f310ea 100644 --- a/src/datavisualization/data/qitemmodelsurfacedatamapping.cpp +++ b/src/datavisualization/data/qitemmodelsurfacedatamapping.cpp @@ -32,6 +32,45 @@ QT_DATAVISUALIZATION_BEGIN_NAMESPACE */ /*! + * \qmltype SurfaceDataMapping + * \instantiates QItemModelSurfaceDataMapping + * + * This type is used to map roles of AbstractItemModel to rows, columns, and values of Surface3D. + * For more complete description, see QItemModelSurfaceDataMapping. + * + * Usage example: + * + * \snippet doc_src_qmldatavisualization.cpp 6 + * + * \sa ItemModelSurfaceDataProxy + */ + +/*! + * \qmlproperty string SurfaceDataMapping::rowRole + * The row role of the mapping. + */ + +/*! + * \qmlproperty string SurfaceDataMapping::columnRole + * The column role of the mapping. + */ + +/*! + * \qmlproperty string SurfaceDataMapping::valueRole + * The value role of the mapping. + */ + +/*! + * \qmlproperty list SurfaceDataMapping::rowCategories + * The row categories of the mapping. + */ + +/*! + * \qmlproperty list SurfaceDataMapping::columnCategories + * The column categories of the mapping. + */ + +/*! * Constructs QItemModelSurfaceDataMapping with the given \a parent. */ QItemModelSurfaceDataMapping::QItemModelSurfaceDataMapping(QObject *parent) |