summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@digia.com>2014-05-12 10:12:41 +0300
committerTomi Korpipää <tomi.korpipaa@digia.com>2014-05-12 10:17:05 +0300
commit8e97d823208ed314278a22a924f0da10c9328839 (patch)
tree0de4a9bb75ea9cab22f743ad4140ced4e942d065
parent6880277f23b47117f7788f08f855ed99b5120f9f (diff)
Added docs for ThemeColor
Task-number: QTRD-3081 Change-Id: Ic96e284685ee4641c3fa039a5e95680b58d3b46b Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
-rw-r--r--src/datavisualization/doc/src/qtdatavisualization-qml-color.qdoc35
-rw-r--r--src/datavisualizationqml2/declarativecolor.cpp2
2 files changed, 35 insertions, 2 deletions
diff --git a/src/datavisualization/doc/src/qtdatavisualization-qml-color.qdoc b/src/datavisualization/doc/src/qtdatavisualization-qml-color.qdoc
new file mode 100644
index 00000000..e845adea
--- /dev/null
+++ b/src/datavisualization/doc/src/qtdatavisualization-qml-color.qdoc
@@ -0,0 +1,35 @@
+/****************************************************************************
+**
+** Copyright (C) 2014 Digia Plc
+** All rights reserved.
+** For any questions to Digia, please use contact form at http://qt.digia.com
+**
+** This file is part of the QtDataVisualization module.
+**
+** Licensees holding valid Qt Enterprise licenses may use this file in
+** accordance with the Qt Enterprise License Agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia.
+**
+** If you have questions regarding the use of this file, please use
+** contact form at http://qt.digia.com
+**
+****************************************************************************/
+
+/*!
+ \qmltype ThemeColor
+ \inqmlmodule QtDataVisualization
+ \since QtDataVisualization 1.0
+ \ingroup datavisualization_qml
+ \brief Defines the color in a Theme3D.
+
+ Defines a color in Theme3D::baseColors property of Theme3D.
+*/
+
+/*!
+ \qmlproperty color ThemeColor::color
+
+ The color property describes the color of this ThemeColor.
+
+ The default color is black.
+*/
diff --git a/src/datavisualizationqml2/declarativecolor.cpp b/src/datavisualizationqml2/declarativecolor.cpp
index f8ef06d2..ffd4227f 100644
--- a/src/datavisualizationqml2/declarativecolor.cpp
+++ b/src/datavisualizationqml2/declarativecolor.cpp
@@ -20,8 +20,6 @@
QT_BEGIN_NAMESPACE_DATAVISUALIZATION
-// TODO: Docs missing?
-
DeclarativeColor::DeclarativeColor(QObject *parent)
: QObject(parent)
{