summaryrefslogtreecommitdiffstats
path: root/src/datavisualization/data/qbardataproxy.cpp
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@digia.com>2013-09-12 07:58:26 +0300
committerTomi Korpipää <tomi.korpipaa@digia.com>2013-09-12 08:26:00 +0300
commit2dc1b3809943e3d294e2363a2b0d185607b8854f (patch)
treed077d9ee51d9df83adc38b65fab3fc3da6462dcc /src/datavisualization/data/qbardataproxy.cpp
parentd93f5f3b64fdb52cc150232f6b6d80ffdb57db78 (diff)
QML documentation
Task-number: QTRD-2133 Change-Id: I2568b3cd6e83ee933536d7fec2e48f9f121b213e Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'src/datavisualization/data/qbardataproxy.cpp')
-rw-r--r--src/datavisualization/data/qbardataproxy.cpp28
1 files changed, 27 insertions, 1 deletions
diff --git a/src/datavisualization/data/qbardataproxy.cpp b/src/datavisualization/data/qbardataproxy.cpp
index 418bb747..79821aca 100644
--- a/src/datavisualization/data/qbardataproxy.cpp
+++ b/src/datavisualization/data/qbardataproxy.cpp
@@ -71,6 +71,33 @@ QT_DATAVISUALIZATION_BEGIN_NAMESPACE
*/
/*!
+ * \qmltype BarDataProxy
+ * \instantiates QBarDataProxy
+ * \inherits AbstractDataProxy
+ *
+ * This type handles adding, inserting, changing and removing rows of data with Qt Quick 2.
+ */
+
+/*!
+ * \qmlproperty int BarDataProxy::rowCount
+ * Row count in the array.
+ */
+
+/*!
+ * \qmlproperty list BarDataProxy::rowLabels
+ *
+ * Optional row labels for the array. Indexes in this array match row indexes in data array.
+ * If the list is shorter than row count, all rows will not get labels.
+ */
+
+/*!
+ * \qmlproperty list BarDataProxy::columnLabels
+ *
+ * Optional column labels for the array. Indexes in this array match column indexes in rows.
+ * If the list is shorter than the longest row, all columns will not get labels.
+ */
+
+/*!
* Constructs QBarDataProxy with the given \a parent.
*/
QBarDataProxy::QBarDataProxy(QObject *parent) :
@@ -304,7 +331,6 @@ int QBarDataProxy::rowCount() const
* Optional row labels for the array. Indexes in this array match row indexes in data array.
* If the list is shorter than row count, all rows will not get labels.
*/
-
QStringList QBarDataProxy::rowLabels() const
{
return dptrc()->m_rowLabels;