summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorTitta Heikkala <titta.heikkala@digia.com>2014-05-05 10:00:52 +0300
committerTitta Heikkala <titta.heikkala@digia.com>2014-05-05 13:33:01 +0300
commit7786daffde49e02372b72c91995c1f384d756c48 (patch)
treefe0eca3f2b2e16cfd8b797eca79c17454149538d /plugins
parent8344a0102a72f2fbdafe472bd88082866a495b51 (diff)
Add count property for QBoxPlotSeries
Changed set count to property for QBoxPlotSeries. Task-number: QTRD-2504 Change-Id: Id65e0b2b6e43b3a6330fbb21c66e1cfa4d0db3d2 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/declarative/declarativeboxplotseries.cpp4
-rw-r--r--plugins/quick2/plugins.qmltypes2
2 files changed, 5 insertions, 1 deletions
diff --git a/plugins/declarative/declarativeboxplotseries.cpp b/plugins/declarative/declarativeboxplotseries.cpp
index 7cdcde6e..a481af49 100644
--- a/plugins/declarative/declarativeboxplotseries.cpp
+++ b/plugins/declarative/declarativeboxplotseries.cpp
@@ -199,6 +199,10 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE
This property configures the brush of the box-and-whiskers items.
*/
/*!
+ \qmlproperty int BoxPlotSeries::count
+ The count of sets in series.
+*/
+/*!
\qmlsignal BoxPlotSeries::onBoxOutlineVisibilityChanged()
Signal is emitted when the middle box outline visibility is changed.
*/
diff --git a/plugins/quick2/plugins.qmltypes b/plugins/quick2/plugins.qmltypes
index d0a9bd62..4233d815 100644
--- a/plugins/quick2/plugins.qmltypes
+++ b/plugins/quick2/plugins.qmltypes
@@ -1738,6 +1738,7 @@ Module {
Property { name: "boxWidth"; type: "double" }
Property { name: "pen"; type: "QPen" }
Property { name: "brush"; type: "QBrush" }
+ Property { name: "count"; revision: 1; type: "int"; isReadonly: true }
Signal {
name: "clicked"
Parameter { name: "boxset"; type: "QBoxSet"; isPointer: true }
@@ -1747,7 +1748,6 @@ Module {
Parameter { name: "status"; type: "bool" }
Parameter { name: "boxset"; type: "QBoxSet"; isPointer: true }
}
- Signal { name: "countChanged" }
Signal { name: "boxOutlineVisibilityChanged" }
Signal {
name: "boxsetsAdded"