##// END OF EJS Templates
Add invokable clear() for QML bar category axis...
Titta Heikkala -
r2691:0f386f5dd654
parent child
Show More
@@ -1,43 +1,44
1 project = Qt Charts
1 project = Qt Charts
2 description = Library for creating charts
2 description = Library for creating charts
3 version = 1.3.1
3 version = 1.3.1
4
4
5 sourcedirs = ../../src \
5 sourcedirs = ../../src \
6 ../../examples \
6 ../../examples \
7 ../src \
7 ../src \
8 ../qch \
8 ../qch \
9 ../../plugins/declarative
9 ../../plugins/declarative
10 headerdirs = ../../src \
10 headerdirs = ../../src \
11 ../../examples \
11 ../../examples \
12 ../../plugins/declarative
12 ../../plugins/declarative
13 exampledirs = ../../ \
13 exampledirs = ../../ \
14 ../../src \
14 ../../src \
15 ../../examples
15 ../../examples
16
16
17 outputdir = ../html
17 outputdir = ../html
18 imagedirs = ../images
18 imagedirs = ../images
19
19
20 sources.fileextensions = *.cpp *.qdoc *.mm *.qml *.qdocinc
20 sources.fileextensions = *.cpp *.qdoc *.mm *.qml *.qdocinc
21 headers.fileextensions = *.h *.ch *.h++ *.hh *.hpp *.hxx
21 headers.fileextensions = *.h *.ch *.h++ *.hh *.hpp *.hxx
22 examples.fileextensions = *.cpp *.h *.js *.xq *.svg *.xml *.ui *.qhp *.qhcp *.qml
22 examples.fileextensions = *.cpp *.h *.js *.xq *.svg *.xml *.ui *.qhp *.qhcp *.qml
23 examples.imageextensions = *.png *.jpeg *.jpg *.gif *.mng
23 examples.imageextensions = *.png *.jpeg *.jpg *.gif *.mng
24
24
25 Cpp.ignoretokens = QTCOMMERCIALCHART_EXPORT \
25 Cpp.ignoretokens = Q_INVOKABLE \
26 QTCOMMERCIALCHART_EXPORT \
26 QTCOMMERCIALCHART_END_NAMESPACE \
27 QTCOMMERCIALCHART_END_NAMESPACE \
27 QTCOMMERCIALCHART_BEGIN_NAMESPACE
28 QTCOMMERCIALCHART_BEGIN_NAMESPACE
28 Cpp.ignoredirectives = Q_DECLARE_HANDLE \
29 Cpp.ignoredirectives = Q_DECLARE_HANDLE \
29 Q_DECLARE_INTERFACE \
30 Q_DECLARE_INTERFACE \
30 Q_DECLARE_METATYPE \
31 Q_DECLARE_METATYPE \
31 Q_DECLARE_OPERATORS_FOR_FLAGS \
32 Q_DECLARE_OPERATORS_FOR_FLAGS \
32 Q_DECLARE_PRIVATE \
33 Q_DECLARE_PRIVATE \
33 Q_DECLARE_PUBLIC \
34 Q_DECLARE_PUBLIC \
34 Q_DECLARE_SHARED \
35 Q_DECLARE_SHARED \
35 Q_DECLARE_TR_FUNCTIONS \
36 Q_DECLARE_TR_FUNCTIONS \
36 Q_DECLARE_TYPEINFO \
37 Q_DECLARE_TYPEINFO \
37 Q_DISABLE_COPY \
38 Q_DISABLE_COPY \
38 QT_FORWARD_DECLARE_CLASS \
39 QT_FORWARD_DECLARE_CLASS \
39 Q_DUMMY_COMPARISON_OPERATOR \
40 Q_DUMMY_COMPARISON_OPERATOR \
40 Q_ENUMS \
41 Q_ENUMS \
41 Q_FLAGS \
42 Q_FLAGS \
42 Q_INTERFACES \
43 Q_INTERFACES \
43 __attribute__
44 __attribute__
@@ -1,2229 +1,2230
1 import QtQuick.tooling 1.1
1 import QtQuick.tooling 1.1
2
2
3 // This file describes the plugin-supplied types contained in the library.
3 // This file describes the plugin-supplied types contained in the library.
4 // It is used for QML tooling purposes only.
4 // It is used for QML tooling purposes only.
5 //
5 //
6 // This file was auto-generated by:
6 // This file was auto-generated by:
7 // 'qmlplugindump -nonrelocatable QtCommercial.Chart 1.4'
7 // 'qmlplugindump -nonrelocatable QtCommercial.Chart 1.4'
8
8
9 Module {
9 Module {
10 Component {
10 Component {
11 name: "QGraphicsObject"
11 name: "QGraphicsObject"
12 defaultProperty: "children"
12 defaultProperty: "children"
13 prototype: "QObject"
13 prototype: "QObject"
14 Property { name: "parent"; type: "QGraphicsObject"; isPointer: true }
14 Property { name: "parent"; type: "QGraphicsObject"; isPointer: true }
15 Property { name: "opacity"; type: "double" }
15 Property { name: "opacity"; type: "double" }
16 Property { name: "enabled"; type: "bool" }
16 Property { name: "enabled"; type: "bool" }
17 Property { name: "visible"; type: "bool" }
17 Property { name: "visible"; type: "bool" }
18 Property { name: "pos"; type: "QPointF" }
18 Property { name: "pos"; type: "QPointF" }
19 Property { name: "x"; type: "double" }
19 Property { name: "x"; type: "double" }
20 Property { name: "y"; type: "double" }
20 Property { name: "y"; type: "double" }
21 Property { name: "z"; type: "double" }
21 Property { name: "z"; type: "double" }
22 Property { name: "rotation"; type: "double" }
22 Property { name: "rotation"; type: "double" }
23 Property { name: "scale"; type: "double" }
23 Property { name: "scale"; type: "double" }
24 Property { name: "transformOriginPoint"; type: "QPointF" }
24 Property { name: "transformOriginPoint"; type: "QPointF" }
25 Property { name: "effect"; type: "QGraphicsEffect"; isPointer: true }
25 Property { name: "effect"; type: "QGraphicsEffect"; isPointer: true }
26 Property {
26 Property {
27 name: "children"
27 name: "children"
28 type: "QDeclarativeListProperty<QGraphicsObject>"
28 type: "QDeclarativeListProperty<QGraphicsObject>"
29 isReadonly: true
29 isReadonly: true
30 }
30 }
31 Property { name: "width"; type: "double" }
31 Property { name: "width"; type: "double" }
32 Property { name: "height"; type: "double" }
32 Property { name: "height"; type: "double" }
33 }
33 }
34 Component {
34 Component {
35 name: "QGraphicsWidget"
35 name: "QGraphicsWidget"
36 defaultProperty: "children"
36 defaultProperty: "children"
37 prototype: "QGraphicsObject"
37 prototype: "QGraphicsObject"
38 Property { name: "palette"; type: "QPalette" }
38 Property { name: "palette"; type: "QPalette" }
39 Property { name: "font"; type: "QFont" }
39 Property { name: "font"; type: "QFont" }
40 Property { name: "layoutDirection"; type: "Qt::LayoutDirection" }
40 Property { name: "layoutDirection"; type: "Qt::LayoutDirection" }
41 Property { name: "size"; type: "QSizeF" }
41 Property { name: "size"; type: "QSizeF" }
42 Property { name: "minimumSize"; type: "QSizeF" }
42 Property { name: "minimumSize"; type: "QSizeF" }
43 Property { name: "preferredSize"; type: "QSizeF" }
43 Property { name: "preferredSize"; type: "QSizeF" }
44 Property { name: "maximumSize"; type: "QSizeF" }
44 Property { name: "maximumSize"; type: "QSizeF" }
45 Property { name: "sizePolicy"; type: "QSizePolicy" }
45 Property { name: "sizePolicy"; type: "QSizePolicy" }
46 Property { name: "focusPolicy"; type: "Qt::FocusPolicy" }
46 Property { name: "focusPolicy"; type: "Qt::FocusPolicy" }
47 Property { name: "windowFlags"; type: "Qt::WindowFlags" }
47 Property { name: "windowFlags"; type: "Qt::WindowFlags" }
48 Property { name: "windowTitle"; type: "string" }
48 Property { name: "windowTitle"; type: "string" }
49 Property { name: "geometry"; type: "QRectF" }
49 Property { name: "geometry"; type: "QRectF" }
50 Property { name: "autoFillBackground"; type: "bool" }
50 Property { name: "autoFillBackground"; type: "bool" }
51 Property { name: "layout"; type: "QGraphicsLayout"; isPointer: true }
51 Property { name: "layout"; type: "QGraphicsLayout"; isPointer: true }
52 Method { name: "close"; type: "bool" }
52 Method { name: "close"; type: "bool" }
53 }
53 }
54 Component {
54 Component {
55 name: "QtCommercialChart::DeclarativeAreaSeries"
55 name: "QtCommercialChart::DeclarativeAreaSeries"
56 prototype: "QtCommercialChart::QAreaSeries"
56 prototype: "QtCommercialChart::QAreaSeries"
57 exports: [
57 exports: [
58 "QtCommercial.Chart/AreaSeries 1.0",
58 "QtCommercial.Chart/AreaSeries 1.0",
59 "QtCommercial.Chart/AreaSeries 1.1",
59 "QtCommercial.Chart/AreaSeries 1.1",
60 "QtCommercial.Chart/AreaSeries 1.2",
60 "QtCommercial.Chart/AreaSeries 1.2",
61 "QtCommercial.Chart/AreaSeries 1.3",
61 "QtCommercial.Chart/AreaSeries 1.3",
62 "QtCommercial.Chart/AreaSeries 1.4"
62 "QtCommercial.Chart/AreaSeries 1.4"
63 ]
63 ]
64 exportMetaObjectRevisions: [0, 1, 2, 3, 4]
64 exportMetaObjectRevisions: [0, 1, 2, 3, 4]
65 Property { name: "upperSeries"; type: "DeclarativeLineSeries"; isPointer: true }
65 Property { name: "upperSeries"; type: "DeclarativeLineSeries"; isPointer: true }
66 Property { name: "lowerSeries"; type: "DeclarativeLineSeries"; isPointer: true }
66 Property { name: "lowerSeries"; type: "DeclarativeLineSeries"; isPointer: true }
67 Property { name: "axisX"; revision: 1; type: "QAbstractAxis"; isPointer: true }
67 Property { name: "axisX"; revision: 1; type: "QAbstractAxis"; isPointer: true }
68 Property { name: "axisY"; revision: 1; type: "QAbstractAxis"; isPointer: true }
68 Property { name: "axisY"; revision: 1; type: "QAbstractAxis"; isPointer: true }
69 Property { name: "axisXTop"; revision: 2; type: "QAbstractAxis"; isPointer: true }
69 Property { name: "axisXTop"; revision: 2; type: "QAbstractAxis"; isPointer: true }
70 Property { name: "axisYRight"; revision: 2; type: "QAbstractAxis"; isPointer: true }
70 Property { name: "axisYRight"; revision: 2; type: "QAbstractAxis"; isPointer: true }
71 Property { name: "axisAngular"; revision: 3; type: "QAbstractAxis"; isPointer: true }
71 Property { name: "axisAngular"; revision: 3; type: "QAbstractAxis"; isPointer: true }
72 Property { name: "axisRadial"; revision: 3; type: "QAbstractAxis"; isPointer: true }
72 Property { name: "axisRadial"; revision: 3; type: "QAbstractAxis"; isPointer: true }
73 Property { name: "borderWidth"; revision: 1; type: "double" }
73 Property { name: "borderWidth"; revision: 1; type: "double" }
74 Property { name: "brushFilename"; revision: 4; type: "string" }
74 Property { name: "brushFilename"; revision: 4; type: "string" }
75 Property { name: "brush"; revision: 4; type: "QBrush" }
75 Property { name: "brush"; revision: 4; type: "QBrush" }
76 Signal {
76 Signal {
77 name: "axisXChanged"
77 name: "axisXChanged"
78 revision: 1
78 revision: 1
79 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
79 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
80 }
80 }
81 Signal {
81 Signal {
82 name: "axisYChanged"
82 name: "axisYChanged"
83 revision: 1
83 revision: 1
84 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
84 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
85 }
85 }
86 Signal {
86 Signal {
87 name: "borderWidthChanged"
87 name: "borderWidthChanged"
88 revision: 1
88 revision: 1
89 Parameter { name: "width"; type: "double" }
89 Parameter { name: "width"; type: "double" }
90 }
90 }
91 Signal {
91 Signal {
92 name: "axisXTopChanged"
92 name: "axisXTopChanged"
93 revision: 2
93 revision: 2
94 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
94 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
95 }
95 }
96 Signal {
96 Signal {
97 name: "axisYRightChanged"
97 name: "axisYRightChanged"
98 revision: 2
98 revision: 2
99 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
99 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
100 }
100 }
101 Signal {
101 Signal {
102 name: "axisAngularChanged"
102 name: "axisAngularChanged"
103 revision: 3
103 revision: 3
104 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
104 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
105 }
105 }
106 Signal {
106 Signal {
107 name: "axisRadialChanged"
107 name: "axisRadialChanged"
108 revision: 3
108 revision: 3
109 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
109 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
110 }
110 }
111 Signal { name: "brushChanged"; revision: 4 }
111 Signal { name: "brushChanged"; revision: 4 }
112 Signal {
112 Signal {
113 name: "brushFilenameChanged"
113 name: "brushFilenameChanged"
114 revision: 4
114 revision: 4
115 Parameter { name: "brushFilename"; type: "string" }
115 Parameter { name: "brushFilename"; type: "string" }
116 }
116 }
117 }
117 }
118 Component {
118 Component {
119 name: "QtCommercialChart::DeclarativeAxes"
119 name: "QtCommercialChart::DeclarativeAxes"
120 prototype: "QObject"
120 prototype: "QObject"
121 exports: ["QtCommercial.Chart/DeclarativeAxes 1.0"]
121 exports: ["QtCommercial.Chart/DeclarativeAxes 1.0"]
122 exportMetaObjectRevisions: [0]
122 exportMetaObjectRevisions: [0]
123 Property { name: "axisX"; type: "QAbstractAxis"; isPointer: true }
123 Property { name: "axisX"; type: "QAbstractAxis"; isPointer: true }
124 Property { name: "axisY"; type: "QAbstractAxis"; isPointer: true }
124 Property { name: "axisY"; type: "QAbstractAxis"; isPointer: true }
125 Property { name: "axisXTop"; type: "QAbstractAxis"; isPointer: true }
125 Property { name: "axisXTop"; type: "QAbstractAxis"; isPointer: true }
126 Property { name: "axisYRight"; type: "QAbstractAxis"; isPointer: true }
126 Property { name: "axisYRight"; type: "QAbstractAxis"; isPointer: true }
127 Signal {
127 Signal {
128 name: "axisXChanged"
128 name: "axisXChanged"
129 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
129 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
130 }
130 }
131 Signal {
131 Signal {
132 name: "axisYChanged"
132 name: "axisYChanged"
133 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
133 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
134 }
134 }
135 Signal {
135 Signal {
136 name: "axisXTopChanged"
136 name: "axisXTopChanged"
137 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
137 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
138 }
138 }
139 Signal {
139 Signal {
140 name: "axisYRightChanged"
140 name: "axisYRightChanged"
141 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
141 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
142 }
142 }
143 }
143 }
144 Component {
144 Component {
145 name: "QtCommercialChart::DeclarativeBarSeries"
145 name: "QtCommercialChart::DeclarativeBarSeries"
146 defaultProperty: "seriesChildren"
146 defaultProperty: "seriesChildren"
147 prototype: "QtCommercialChart::QBarSeries"
147 prototype: "QtCommercialChart::QBarSeries"
148 exports: [
148 exports: [
149 "QtCommercial.Chart/BarSeries 1.0",
149 "QtCommercial.Chart/BarSeries 1.0",
150 "QtCommercial.Chart/BarSeries 1.1",
150 "QtCommercial.Chart/BarSeries 1.1",
151 "QtCommercial.Chart/BarSeries 1.2"
151 "QtCommercial.Chart/BarSeries 1.2"
152 ]
152 ]
153 exportMetaObjectRevisions: [0, 1, 2]
153 exportMetaObjectRevisions: [0, 1, 2]
154 Property { name: "axisX"; revision: 1; type: "QAbstractAxis"; isPointer: true }
154 Property { name: "axisX"; revision: 1; type: "QAbstractAxis"; isPointer: true }
155 Property { name: "axisY"; revision: 1; type: "QAbstractAxis"; isPointer: true }
155 Property { name: "axisY"; revision: 1; type: "QAbstractAxis"; isPointer: true }
156 Property { name: "axisXTop"; revision: 2; type: "QAbstractAxis"; isPointer: true }
156 Property { name: "axisXTop"; revision: 2; type: "QAbstractAxis"; isPointer: true }
157 Property { name: "axisYRight"; revision: 2; type: "QAbstractAxis"; isPointer: true }
157 Property { name: "axisYRight"; revision: 2; type: "QAbstractAxis"; isPointer: true }
158 Property { name: "seriesChildren"; type: "QObject"; isList: true; isReadonly: true }
158 Property { name: "seriesChildren"; type: "QObject"; isList: true; isReadonly: true }
159 Signal {
159 Signal {
160 name: "axisXChanged"
160 name: "axisXChanged"
161 revision: 1
161 revision: 1
162 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
162 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
163 }
163 }
164 Signal {
164 Signal {
165 name: "axisYChanged"
165 name: "axisYChanged"
166 revision: 1
166 revision: 1
167 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
167 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
168 }
168 }
169 Signal {
169 Signal {
170 name: "axisXTopChanged"
170 name: "axisXTopChanged"
171 revision: 2
171 revision: 2
172 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
172 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
173 }
173 }
174 Signal {
174 Signal {
175 name: "axisYRightChanged"
175 name: "axisYRightChanged"
176 revision: 2
176 revision: 2
177 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
177 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
178 }
178 }
179 Method {
179 Method {
180 name: "appendSeriesChildren"
180 name: "appendSeriesChildren"
181 Parameter { name: "list"; type: "QObject"; isList: true; isPointer: true }
181 Parameter { name: "list"; type: "QObject"; isList: true; isPointer: true }
182 Parameter { name: "element"; type: "QObject"; isPointer: true }
182 Parameter { name: "element"; type: "QObject"; isPointer: true }
183 }
183 }
184 Method {
184 Method {
185 name: "at"
185 name: "at"
186 type: "DeclarativeBarSet*"
186 type: "DeclarativeBarSet*"
187 Parameter { name: "index"; type: "int" }
187 Parameter { name: "index"; type: "int" }
188 }
188 }
189 Method {
189 Method {
190 name: "append"
190 name: "append"
191 type: "DeclarativeBarSet*"
191 type: "DeclarativeBarSet*"
192 Parameter { name: "label"; type: "string" }
192 Parameter { name: "label"; type: "string" }
193 Parameter { name: "values"; type: "QVariantList" }
193 Parameter { name: "values"; type: "QVariantList" }
194 }
194 }
195 Method {
195 Method {
196 name: "insert"
196 name: "insert"
197 type: "DeclarativeBarSet*"
197 type: "DeclarativeBarSet*"
198 Parameter { name: "index"; type: "int" }
198 Parameter { name: "index"; type: "int" }
199 Parameter { name: "label"; type: "string" }
199 Parameter { name: "label"; type: "string" }
200 Parameter { name: "values"; type: "QVariantList" }
200 Parameter { name: "values"; type: "QVariantList" }
201 }
201 }
202 Method {
202 Method {
203 name: "remove"
203 name: "remove"
204 type: "bool"
204 type: "bool"
205 Parameter { name: "barset"; type: "QBarSet"; isPointer: true }
205 Parameter { name: "barset"; type: "QBarSet"; isPointer: true }
206 }
206 }
207 Method { name: "clear" }
207 Method { name: "clear" }
208 }
208 }
209 Component {
209 Component {
210 name: "QtCommercialChart::DeclarativeBarSet"
210 name: "QtCommercialChart::DeclarativeBarSet"
211 prototype: "QtCommercialChart::QBarSet"
211 prototype: "QtCommercialChart::QBarSet"
212 exports: [
212 exports: [
213 "QtCommercial.Chart/BarSet 1.0",
213 "QtCommercial.Chart/BarSet 1.0",
214 "QtCommercial.Chart/BarSet 1.1",
214 "QtCommercial.Chart/BarSet 1.1",
215 "QtCommercial.Chart/BarSet 1.4"
215 "QtCommercial.Chart/BarSet 1.4"
216 ]
216 ]
217 exportMetaObjectRevisions: [0, 0, 2]
217 exportMetaObjectRevisions: [0, 0, 2]
218 Property { name: "values"; type: "QVariantList" }
218 Property { name: "values"; type: "QVariantList" }
219 Property { name: "borderWidth"; revision: 1; type: "double" }
219 Property { name: "borderWidth"; revision: 1; type: "double" }
220 Property { name: "count"; type: "int"; isReadonly: true }
220 Property { name: "count"; type: "int"; isReadonly: true }
221 Property { name: "brushFilename"; revision: 2; type: "string" }
221 Property { name: "brushFilename"; revision: 2; type: "string" }
222 Signal {
222 Signal {
223 name: "countChanged"
223 name: "countChanged"
224 Parameter { name: "count"; type: "int" }
224 Parameter { name: "count"; type: "int" }
225 }
225 }
226 Signal {
226 Signal {
227 name: "borderWidthChanged"
227 name: "borderWidthChanged"
228 revision: 1
228 revision: 1
229 Parameter { name: "width"; type: "double" }
229 Parameter { name: "width"; type: "double" }
230 }
230 }
231 Signal {
231 Signal {
232 name: "brushFilenameChanged"
232 name: "brushFilenameChanged"
233 revision: 2
233 revision: 2
234 Parameter { name: "brushFilename"; type: "string" }
234 Parameter { name: "brushFilename"; type: "string" }
235 }
235 }
236 Method {
236 Method {
237 name: "append"
237 name: "append"
238 Parameter { name: "value"; type: "double" }
238 Parameter { name: "value"; type: "double" }
239 }
239 }
240 Method {
240 Method {
241 name: "remove"
241 name: "remove"
242 Parameter { name: "index"; type: "int" }
242 Parameter { name: "index"; type: "int" }
243 Parameter { name: "count"; type: "int" }
243 Parameter { name: "count"; type: "int" }
244 }
244 }
245 Method {
245 Method {
246 name: "remove"
246 name: "remove"
247 Parameter { name: "index"; type: "int" }
247 Parameter { name: "index"; type: "int" }
248 }
248 }
249 Method {
249 Method {
250 name: "replace"
250 name: "replace"
251 Parameter { name: "index"; type: "int" }
251 Parameter { name: "index"; type: "int" }
252 Parameter { name: "value"; type: "double" }
252 Parameter { name: "value"; type: "double" }
253 }
253 }
254 Method {
254 Method {
255 name: "at"
255 name: "at"
256 type: "double"
256 type: "double"
257 Parameter { name: "index"; type: "int" }
257 Parameter { name: "index"; type: "int" }
258 }
258 }
259 }
259 }
260 Component {
260 Component {
261 name: "QtCommercialChart::DeclarativeBoxPlotSeries"
261 name: "QtCommercialChart::DeclarativeBoxPlotSeries"
262 defaultProperty: "seriesChildren"
262 defaultProperty: "seriesChildren"
263 prototype: "QtCommercialChart::QBoxPlotSeries"
263 prototype: "QtCommercialChart::QBoxPlotSeries"
264 exports: [
264 exports: [
265 "QtCommercial.Chart/BoxPlotSeries 1.3",
265 "QtCommercial.Chart/BoxPlotSeries 1.3",
266 "QtCommercial.Chart/BoxPlotSeries 1.4"
266 "QtCommercial.Chart/BoxPlotSeries 1.4"
267 ]
267 ]
268 exportMetaObjectRevisions: [0, 1]
268 exportMetaObjectRevisions: [0, 1]
269 Property { name: "axisX"; type: "QAbstractAxis"; isPointer: true }
269 Property { name: "axisX"; type: "QAbstractAxis"; isPointer: true }
270 Property { name: "axisY"; type: "QAbstractAxis"; isPointer: true }
270 Property { name: "axisY"; type: "QAbstractAxis"; isPointer: true }
271 Property { name: "axisXTop"; type: "QAbstractAxis"; isPointer: true }
271 Property { name: "axisXTop"; type: "QAbstractAxis"; isPointer: true }
272 Property { name: "axisYRight"; type: "QAbstractAxis"; isPointer: true }
272 Property { name: "axisYRight"; type: "QAbstractAxis"; isPointer: true }
273 Property { name: "seriesChildren"; type: "QObject"; isList: true; isReadonly: true }
273 Property { name: "seriesChildren"; type: "QObject"; isList: true; isReadonly: true }
274 Property { name: "brushFilename"; revision: 1; type: "string" }
274 Property { name: "brushFilename"; revision: 1; type: "string" }
275 Signal {
275 Signal {
276 name: "axisXChanged"
276 name: "axisXChanged"
277 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
277 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
278 }
278 }
279 Signal {
279 Signal {
280 name: "axisYChanged"
280 name: "axisYChanged"
281 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
281 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
282 }
282 }
283 Signal {
283 Signal {
284 name: "axisXTopChanged"
284 name: "axisXTopChanged"
285 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
285 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
286 }
286 }
287 Signal {
287 Signal {
288 name: "axisYRightChanged"
288 name: "axisYRightChanged"
289 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
289 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
290 }
290 }
291 Signal {
291 Signal {
292 name: "clicked"
292 name: "clicked"
293 Parameter { name: "boxset"; type: "DeclarativeBoxSet"; isPointer: true }
293 Parameter { name: "boxset"; type: "DeclarativeBoxSet"; isPointer: true }
294 }
294 }
295 Signal {
295 Signal {
296 name: "hovered"
296 name: "hovered"
297 Parameter { name: "status"; type: "bool" }
297 Parameter { name: "status"; type: "bool" }
298 Parameter { name: "boxset"; type: "DeclarativeBoxSet"; isPointer: true }
298 Parameter { name: "boxset"; type: "DeclarativeBoxSet"; isPointer: true }
299 }
299 }
300 Signal {
300 Signal {
301 name: "brushFilenameChanged"
301 name: "brushFilenameChanged"
302 revision: 1
302 revision: 1
303 Parameter { name: "brushFilename"; type: "string" }
303 Parameter { name: "brushFilename"; type: "string" }
304 }
304 }
305 Method {
305 Method {
306 name: "appendSeriesChildren"
306 name: "appendSeriesChildren"
307 Parameter { name: "list"; type: "QDECLARATIVE_LIST_PROPERTY<QObject>"; isPointer: true }
307 Parameter { name: "list"; type: "QDECLARATIVE_LIST_PROPERTY<QObject>"; isPointer: true }
308 Parameter { name: "element"; type: "QObject"; isPointer: true }
308 Parameter { name: "element"; type: "QObject"; isPointer: true }
309 }
309 }
310 Method {
310 Method {
311 name: "onHovered"
311 name: "onHovered"
312 Parameter { name: "status"; type: "bool" }
312 Parameter { name: "status"; type: "bool" }
313 Parameter { name: "boxset"; type: "QBoxSet"; isPointer: true }
313 Parameter { name: "boxset"; type: "QBoxSet"; isPointer: true }
314 }
314 }
315 Method {
315 Method {
316 name: "onClicked"
316 name: "onClicked"
317 Parameter { name: "boxset"; type: "QBoxSet"; isPointer: true }
317 Parameter { name: "boxset"; type: "QBoxSet"; isPointer: true }
318 }
318 }
319 Method {
319 Method {
320 name: "at"
320 name: "at"
321 type: "DeclarativeBoxSet*"
321 type: "DeclarativeBoxSet*"
322 Parameter { name: "index"; type: "int" }
322 Parameter { name: "index"; type: "int" }
323 }
323 }
324 Method {
324 Method {
325 name: "append"
325 name: "append"
326 type: "DeclarativeBoxSet*"
326 type: "DeclarativeBoxSet*"
327 Parameter { name: "label"; type: "string" }
327 Parameter { name: "label"; type: "string" }
328 Parameter { name: "values"; type: "QVariantList" }
328 Parameter { name: "values"; type: "QVariantList" }
329 }
329 }
330 Method {
330 Method {
331 name: "append"
331 name: "append"
332 Parameter { name: "box"; type: "DeclarativeBoxSet"; isPointer: true }
332 Parameter { name: "box"; type: "DeclarativeBoxSet"; isPointer: true }
333 }
333 }
334 Method {
334 Method {
335 name: "insert"
335 name: "insert"
336 type: "DeclarativeBoxSet*"
336 type: "DeclarativeBoxSet*"
337 Parameter { name: "index"; type: "int" }
337 Parameter { name: "index"; type: "int" }
338 Parameter { name: "label"; type: "string" }
338 Parameter { name: "label"; type: "string" }
339 Parameter { name: "values"; type: "QVariantList" }
339 Parameter { name: "values"; type: "QVariantList" }
340 }
340 }
341 Method {
341 Method {
342 name: "remove"
342 name: "remove"
343 type: "bool"
343 type: "bool"
344 Parameter { name: "box"; type: "DeclarativeBoxSet"; isPointer: true }
344 Parameter { name: "box"; type: "DeclarativeBoxSet"; isPointer: true }
345 }
345 }
346 Method { name: "clear" }
346 Method { name: "clear" }
347 }
347 }
348 Component {
348 Component {
349 name: "QtCommercialChart::DeclarativeBoxSet"
349 name: "QtCommercialChart::DeclarativeBoxSet"
350 prototype: "QtCommercialChart::QBoxSet"
350 prototype: "QtCommercialChart::QBoxSet"
351 exports: [
351 exports: [
352 "QtCommercial.Chart/BoxSet 1.3",
352 "QtCommercial.Chart/BoxSet 1.3",
353 "QtCommercial.Chart/BoxSet 1.4"
353 "QtCommercial.Chart/BoxSet 1.4"
354 ]
354 ]
355 exportMetaObjectRevisions: [0, 1]
355 exportMetaObjectRevisions: [0, 1]
356 Enum {
356 Enum {
357 name: "ValuePositions"
357 name: "ValuePositions"
358 values: {
358 values: {
359 "LowerExtreme": 0,
359 "LowerExtreme": 0,
360 "LowerQuartile": 1,
360 "LowerQuartile": 1,
361 "Median": 2,
361 "Median": 2,
362 "UpperQuartile": 3,
362 "UpperQuartile": 3,
363 "UpperExtreme": 4
363 "UpperExtreme": 4
364 }
364 }
365 }
365 }
366 Property { name: "values"; type: "QVariantList" }
366 Property { name: "values"; type: "QVariantList" }
367 Property { name: "label"; type: "string" }
367 Property { name: "label"; type: "string" }
368 Property { name: "count"; type: "int"; isReadonly: true }
368 Property { name: "count"; type: "int"; isReadonly: true }
369 Property { name: "brushFilename"; revision: 1; type: "string" }
369 Property { name: "brushFilename"; revision: 1; type: "string" }
370 Signal { name: "changedValues" }
370 Signal { name: "changedValues" }
371 Signal {
371 Signal {
372 name: "changedValue"
372 name: "changedValue"
373 Parameter { name: "index"; type: "int" }
373 Parameter { name: "index"; type: "int" }
374 }
374 }
375 Signal {
375 Signal {
376 name: "brushFilenameChanged"
376 name: "brushFilenameChanged"
377 revision: 1
377 revision: 1
378 Parameter { name: "brushFilename"; type: "string" }
378 Parameter { name: "brushFilename"; type: "string" }
379 }
379 }
380 Method {
380 Method {
381 name: "append"
381 name: "append"
382 Parameter { name: "value"; type: "double" }
382 Parameter { name: "value"; type: "double" }
383 }
383 }
384 Method { name: "clear" }
384 Method { name: "clear" }
385 Method {
385 Method {
386 name: "at"
386 name: "at"
387 type: "double"
387 type: "double"
388 Parameter { name: "index"; type: "int" }
388 Parameter { name: "index"; type: "int" }
389 }
389 }
390 Method {
390 Method {
391 name: "setValue"
391 name: "setValue"
392 Parameter { name: "index"; type: "int" }
392 Parameter { name: "index"; type: "int" }
393 Parameter { name: "value"; type: "double" }
393 Parameter { name: "value"; type: "double" }
394 }
394 }
395 }
395 }
396 Component {
396 Component {
397 name: "QtCommercialChart::DeclarativeCategoryAxis"
397 name: "QtCommercialChart::DeclarativeCategoryAxis"
398 defaultProperty: "axisChildren"
398 defaultProperty: "axisChildren"
399 prototype: "QtCommercialChart::QCategoryAxis"
399 prototype: "QtCommercialChart::QCategoryAxis"
400 exports: ["QtCommercial.Chart/CategoryAxis 1.1"]
400 exports: ["QtCommercial.Chart/CategoryAxis 1.1"]
401 exportMetaObjectRevisions: [0]
401 exportMetaObjectRevisions: [0]
402 Property { name: "axisChildren"; type: "QObject"; isList: true; isReadonly: true }
402 Property { name: "axisChildren"; type: "QObject"; isList: true; isReadonly: true }
403 Method {
403 Method {
404 name: "append"
404 name: "append"
405 Parameter { name: "label"; type: "string" }
405 Parameter { name: "label"; type: "string" }
406 Parameter { name: "categoryEndValue"; type: "double" }
406 Parameter { name: "categoryEndValue"; type: "double" }
407 }
407 }
408 Method {
408 Method {
409 name: "remove"
409 name: "remove"
410 Parameter { name: "label"; type: "string" }
410 Parameter { name: "label"; type: "string" }
411 }
411 }
412 Method {
412 Method {
413 name: "replace"
413 name: "replace"
414 Parameter { name: "oldLabel"; type: "string" }
414 Parameter { name: "oldLabel"; type: "string" }
415 Parameter { name: "newLabel"; type: "string" }
415 Parameter { name: "newLabel"; type: "string" }
416 }
416 }
417 Method {
417 Method {
418 name: "appendAxisChildren"
418 name: "appendAxisChildren"
419 Parameter { name: "list"; type: "QObject"; isList: true; isPointer: true }
419 Parameter { name: "list"; type: "QObject"; isList: true; isPointer: true }
420 Parameter { name: "element"; type: "QObject"; isPointer: true }
420 Parameter { name: "element"; type: "QObject"; isPointer: true }
421 }
421 }
422 }
422 }
423 Component {
423 Component {
424 name: "QtCommercialChart::DeclarativeCategoryRange"
424 name: "QtCommercialChart::DeclarativeCategoryRange"
425 prototype: "QObject"
425 prototype: "QObject"
426 exports: ["QtCommercial.Chart/CategoryRange 1.1"]
426 exports: ["QtCommercial.Chart/CategoryRange 1.1"]
427 exportMetaObjectRevisions: [0]
427 exportMetaObjectRevisions: [0]
428 Property { name: "endValue"; type: "double" }
428 Property { name: "endValue"; type: "double" }
429 Property { name: "label"; type: "string" }
429 Property { name: "label"; type: "string" }
430 }
430 }
431 Component {
431 Component {
432 name: "QtCommercialChart::DeclarativeChart"
432 name: "QtCommercialChart::DeclarativeChart"
433 defaultProperty: "data"
433 defaultProperty: "data"
434 prototype: "QQuickPaintedItem"
434 prototype: "QQuickPaintedItem"
435 exports: [
435 exports: [
436 "QtCommercial.Chart/ChartView 1.0",
436 "QtCommercial.Chart/ChartView 1.0",
437 "QtCommercial.Chart/ChartView 1.1",
437 "QtCommercial.Chart/ChartView 1.1",
438 "QtCommercial.Chart/ChartView 1.2",
438 "QtCommercial.Chart/ChartView 1.2",
439 "QtCommercial.Chart/ChartView 1.3"
439 "QtCommercial.Chart/ChartView 1.3"
440 ]
440 ]
441 exportMetaObjectRevisions: [0, 1, 2, 3]
441 exportMetaObjectRevisions: [0, 1, 2, 3]
442 Enum {
442 Enum {
443 name: "Theme"
443 name: "Theme"
444 values: {
444 values: {
445 "ChartThemeLight": 0,
445 "ChartThemeLight": 0,
446 "ChartThemeBlueCerulean": 1,
446 "ChartThemeBlueCerulean": 1,
447 "ChartThemeDark": 2,
447 "ChartThemeDark": 2,
448 "ChartThemeBrownSand": 3,
448 "ChartThemeBrownSand": 3,
449 "ChartThemeBlueNcs": 4,
449 "ChartThemeBlueNcs": 4,
450 "ChartThemeHighContrast": 5,
450 "ChartThemeHighContrast": 5,
451 "ChartThemeBlueIcy": 6,
451 "ChartThemeBlueIcy": 6,
452 "ChartThemeQt": 7
452 "ChartThemeQt": 7
453 }
453 }
454 }
454 }
455 Enum {
455 Enum {
456 name: "Animation"
456 name: "Animation"
457 values: {
457 values: {
458 "NoAnimation": 0,
458 "NoAnimation": 0,
459 "GridAxisAnimations": 1,
459 "GridAxisAnimations": 1,
460 "SeriesAnimations": 2,
460 "SeriesAnimations": 2,
461 "AllAnimations": 3
461 "AllAnimations": 3
462 }
462 }
463 }
463 }
464 Enum {
464 Enum {
465 name: "SeriesType"
465 name: "SeriesType"
466 values: {
466 values: {
467 "SeriesTypeLine": 0,
467 "SeriesTypeLine": 0,
468 "SeriesTypeArea": 1,
468 "SeriesTypeArea": 1,
469 "SeriesTypeBar": 2,
469 "SeriesTypeBar": 2,
470 "SeriesTypeStackedBar": 3,
470 "SeriesTypeStackedBar": 3,
471 "SeriesTypePercentBar": 4,
471 "SeriesTypePercentBar": 4,
472 "SeriesTypeBoxPlot": 5,
472 "SeriesTypeBoxPlot": 5,
473 "SeriesTypePie": 6,
473 "SeriesTypePie": 6,
474 "SeriesTypeScatter": 7,
474 "SeriesTypeScatter": 7,
475 "SeriesTypeSpline": 8,
475 "SeriesTypeSpline": 8,
476 "SeriesTypeHorizontalBar": 9,
476 "SeriesTypeHorizontalBar": 9,
477 "SeriesTypeHorizontalStackedBar": 10,
477 "SeriesTypeHorizontalStackedBar": 10,
478 "SeriesTypeHorizontalPercentBar": 11
478 "SeriesTypeHorizontalPercentBar": 11
479 }
479 }
480 }
480 }
481 Property { name: "theme"; type: "Theme" }
481 Property { name: "theme"; type: "Theme" }
482 Property { name: "animationOptions"; type: "Animation" }
482 Property { name: "animationOptions"; type: "Animation" }
483 Property { name: "title"; type: "string" }
483 Property { name: "title"; type: "string" }
484 Property { name: "titleFont"; type: "QFont" }
484 Property { name: "titleFont"; type: "QFont" }
485 Property { name: "titleColor"; type: "QColor" }
485 Property { name: "titleColor"; type: "QColor" }
486 Property { name: "legend"; type: "QLegend"; isReadonly: true; isPointer: true }
486 Property { name: "legend"; type: "QLegend"; isReadonly: true; isPointer: true }
487 Property { name: "count"; type: "int"; isReadonly: true }
487 Property { name: "count"; type: "int"; isReadonly: true }
488 Property { name: "backgroundColor"; type: "QColor" }
488 Property { name: "backgroundColor"; type: "QColor" }
489 Property { name: "dropShadowEnabled"; type: "bool" }
489 Property { name: "dropShadowEnabled"; type: "bool" }
490 Property { name: "backgroundRoundness"; revision: 3; type: "double" }
490 Property { name: "backgroundRoundness"; revision: 3; type: "double" }
491 Property { name: "topMargin"; type: "double"; isReadonly: true }
491 Property { name: "topMargin"; type: "double"; isReadonly: true }
492 Property { name: "bottomMargin"; type: "double"; isReadonly: true }
492 Property { name: "bottomMargin"; type: "double"; isReadonly: true }
493 Property { name: "leftMargin"; type: "double"; isReadonly: true }
493 Property { name: "leftMargin"; type: "double"; isReadonly: true }
494 Property { name: "rightMargin"; type: "double"; isReadonly: true }
494 Property { name: "rightMargin"; type: "double"; isReadonly: true }
495 Property {
495 Property {
496 name: "minimumMargins"
496 name: "minimumMargins"
497 revision: 1
497 revision: 1
498 type: "DeclarativeMargins"
498 type: "DeclarativeMargins"
499 isReadonly: true
499 isReadonly: true
500 isPointer: true
500 isPointer: true
501 }
501 }
502 Property {
502 Property {
503 name: "margins"
503 name: "margins"
504 revision: 2
504 revision: 2
505 type: "DeclarativeMargins"
505 type: "DeclarativeMargins"
506 isReadonly: true
506 isReadonly: true
507 isPointer: true
507 isPointer: true
508 }
508 }
509 Property { name: "plotArea"; revision: 1; type: "QRectF"; isReadonly: true }
509 Property { name: "plotArea"; revision: 1; type: "QRectF"; isReadonly: true }
510 Property { name: "plotAreaColor"; revision: 3; type: "QColor" }
510 Property { name: "plotAreaColor"; revision: 3; type: "QColor" }
511 Property { name: "axes"; revision: 2; type: "QAbstractAxis"; isList: true; isReadonly: true }
511 Property { name: "axes"; revision: 2; type: "QAbstractAxis"; isList: true; isReadonly: true }
512 Signal { name: "axisLabelsChanged" }
512 Signal { name: "axisLabelsChanged" }
513 Signal {
513 Signal {
514 name: "titleColorChanged"
514 name: "titleColorChanged"
515 Parameter { name: "color"; type: "QColor" }
515 Parameter { name: "color"; type: "QColor" }
516 }
516 }
517 Signal {
517 Signal {
518 name: "dropShadowEnabledChanged"
518 name: "dropShadowEnabledChanged"
519 Parameter { name: "enabled"; type: "bool" }
519 Parameter { name: "enabled"; type: "bool" }
520 }
520 }
521 Signal { name: "marginsChanged"; revision: 2 }
521 Signal { name: "marginsChanged"; revision: 2 }
522 Signal {
522 Signal {
523 name: "plotAreaChanged"
523 name: "plotAreaChanged"
524 Parameter { name: "plotArea"; type: "QRectF" }
524 Parameter { name: "plotArea"; type: "QRectF" }
525 }
525 }
526 Signal {
526 Signal {
527 name: "seriesAdded"
527 name: "seriesAdded"
528 Parameter { name: "series"; type: "QAbstractSeries"; isPointer: true }
528 Parameter { name: "series"; type: "QAbstractSeries"; isPointer: true }
529 }
529 }
530 Signal {
530 Signal {
531 name: "seriesRemoved"
531 name: "seriesRemoved"
532 Parameter { name: "series"; type: "QAbstractSeries"; isPointer: true }
532 Parameter { name: "series"; type: "QAbstractSeries"; isPointer: true }
533 }
533 }
534 Signal { name: "plotAreaColorChanged"; revision: 3 }
534 Signal { name: "plotAreaColorChanged"; revision: 3 }
535 Signal {
535 Signal {
536 name: "backgroundRoundnessChanged"
536 name: "backgroundRoundnessChanged"
537 revision: 3
537 revision: 3
538 Parameter { name: "diameter"; type: "double" }
538 Parameter { name: "diameter"; type: "double" }
539 }
539 }
540 Method {
540 Method {
541 name: "series"
541 name: "series"
542 type: "QAbstractSeries*"
542 type: "QAbstractSeries*"
543 Parameter { name: "index"; type: "int" }
543 Parameter { name: "index"; type: "int" }
544 }
544 }
545 Method {
545 Method {
546 name: "series"
546 name: "series"
547 type: "QAbstractSeries*"
547 type: "QAbstractSeries*"
548 Parameter { name: "seriesName"; type: "string" }
548 Parameter { name: "seriesName"; type: "string" }
549 }
549 }
550 Method {
550 Method {
551 name: "createSeries"
551 name: "createSeries"
552 type: "QAbstractSeries*"
552 type: "QAbstractSeries*"
553 Parameter { name: "type"; type: "int" }
553 Parameter { name: "type"; type: "int" }
554 Parameter { name: "name"; type: "string" }
554 Parameter { name: "name"; type: "string" }
555 Parameter { name: "axisX"; type: "QAbstractAxis"; isPointer: true }
555 Parameter { name: "axisX"; type: "QAbstractAxis"; isPointer: true }
556 Parameter { name: "axisY"; type: "QAbstractAxis"; isPointer: true }
556 Parameter { name: "axisY"; type: "QAbstractAxis"; isPointer: true }
557 }
557 }
558 Method {
558 Method {
559 name: "createSeries"
559 name: "createSeries"
560 type: "QAbstractSeries*"
560 type: "QAbstractSeries*"
561 Parameter { name: "type"; type: "int" }
561 Parameter { name: "type"; type: "int" }
562 Parameter { name: "name"; type: "string" }
562 Parameter { name: "name"; type: "string" }
563 Parameter { name: "axisX"; type: "QAbstractAxis"; isPointer: true }
563 Parameter { name: "axisX"; type: "QAbstractAxis"; isPointer: true }
564 }
564 }
565 Method {
565 Method {
566 name: "createSeries"
566 name: "createSeries"
567 type: "QAbstractSeries*"
567 type: "QAbstractSeries*"
568 Parameter { name: "type"; type: "int" }
568 Parameter { name: "type"; type: "int" }
569 Parameter { name: "name"; type: "string" }
569 Parameter { name: "name"; type: "string" }
570 }
570 }
571 Method {
571 Method {
572 name: "createSeries"
572 name: "createSeries"
573 type: "QAbstractSeries*"
573 type: "QAbstractSeries*"
574 Parameter { name: "type"; type: "int" }
574 Parameter { name: "type"; type: "int" }
575 }
575 }
576 Method {
576 Method {
577 name: "removeSeries"
577 name: "removeSeries"
578 Parameter { name: "series"; type: "QAbstractSeries"; isPointer: true }
578 Parameter { name: "series"; type: "QAbstractSeries"; isPointer: true }
579 }
579 }
580 Method { name: "removeAllSeries" }
580 Method { name: "removeAllSeries" }
581 Method {
581 Method {
582 name: "setAxisX"
582 name: "setAxisX"
583 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
583 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
584 Parameter { name: "series"; type: "QAbstractSeries"; isPointer: true }
584 Parameter { name: "series"; type: "QAbstractSeries"; isPointer: true }
585 }
585 }
586 Method {
586 Method {
587 name: "setAxisX"
587 name: "setAxisX"
588 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
588 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
589 }
589 }
590 Method {
590 Method {
591 name: "setAxisY"
591 name: "setAxisY"
592 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
592 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
593 Parameter { name: "series"; type: "QAbstractSeries"; isPointer: true }
593 Parameter { name: "series"; type: "QAbstractSeries"; isPointer: true }
594 }
594 }
595 Method {
595 Method {
596 name: "setAxisY"
596 name: "setAxisY"
597 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
597 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
598 }
598 }
599 Method { name: "createDefaultAxes" }
599 Method { name: "createDefaultAxes" }
600 Method {
600 Method {
601 name: "axisX"
601 name: "axisX"
602 type: "QAbstractAxis*"
602 type: "QAbstractAxis*"
603 Parameter { name: "series"; type: "QAbstractSeries"; isPointer: true }
603 Parameter { name: "series"; type: "QAbstractSeries"; isPointer: true }
604 }
604 }
605 Method { name: "axisX"; type: "QAbstractAxis*" }
605 Method { name: "axisX"; type: "QAbstractAxis*" }
606 Method {
606 Method {
607 name: "axisY"
607 name: "axisY"
608 type: "QAbstractAxis*"
608 type: "QAbstractAxis*"
609 Parameter { name: "series"; type: "QAbstractSeries"; isPointer: true }
609 Parameter { name: "series"; type: "QAbstractSeries"; isPointer: true }
610 }
610 }
611 Method { name: "axisY"; type: "QAbstractAxis*" }
611 Method { name: "axisY"; type: "QAbstractAxis*" }
612 Method {
612 Method {
613 name: "zoom"
613 name: "zoom"
614 Parameter { name: "factor"; type: "double" }
614 Parameter { name: "factor"; type: "double" }
615 }
615 }
616 Method {
616 Method {
617 name: "scrollLeft"
617 name: "scrollLeft"
618 Parameter { name: "pixels"; type: "double" }
618 Parameter { name: "pixels"; type: "double" }
619 }
619 }
620 Method {
620 Method {
621 name: "scrollRight"
621 name: "scrollRight"
622 Parameter { name: "pixels"; type: "double" }
622 Parameter { name: "pixels"; type: "double" }
623 }
623 }
624 Method {
624 Method {
625 name: "scrollUp"
625 name: "scrollUp"
626 Parameter { name: "pixels"; type: "double" }
626 Parameter { name: "pixels"; type: "double" }
627 }
627 }
628 Method {
628 Method {
629 name: "scrollDown"
629 name: "scrollDown"
630 Parameter { name: "pixels"; type: "double" }
630 Parameter { name: "pixels"; type: "double" }
631 }
631 }
632 }
632 }
633 Component {
633 Component {
634 name: "QtCommercialChart::DeclarativeHorizontalBarSeries"
634 name: "QtCommercialChart::DeclarativeHorizontalBarSeries"
635 defaultProperty: "seriesChildren"
635 defaultProperty: "seriesChildren"
636 prototype: "QtCommercialChart::QHorizontalBarSeries"
636 prototype: "QtCommercialChart::QHorizontalBarSeries"
637 exports: [
637 exports: [
638 "QtCommercial.Chart/HorizontalBarSeries 1.1",
638 "QtCommercial.Chart/HorizontalBarSeries 1.1",
639 "QtCommercial.Chart/HorizontalBarSeries 1.2"
639 "QtCommercial.Chart/HorizontalBarSeries 1.2"
640 ]
640 ]
641 exportMetaObjectRevisions: [1, 2]
641 exportMetaObjectRevisions: [1, 2]
642 Property { name: "axisX"; revision: 1; type: "QAbstractAxis"; isPointer: true }
642 Property { name: "axisX"; revision: 1; type: "QAbstractAxis"; isPointer: true }
643 Property { name: "axisY"; revision: 1; type: "QAbstractAxis"; isPointer: true }
643 Property { name: "axisY"; revision: 1; type: "QAbstractAxis"; isPointer: true }
644 Property { name: "axisXTop"; revision: 2; type: "QAbstractAxis"; isPointer: true }
644 Property { name: "axisXTop"; revision: 2; type: "QAbstractAxis"; isPointer: true }
645 Property { name: "axisYRight"; revision: 2; type: "QAbstractAxis"; isPointer: true }
645 Property { name: "axisYRight"; revision: 2; type: "QAbstractAxis"; isPointer: true }
646 Property { name: "seriesChildren"; type: "QObject"; isList: true; isReadonly: true }
646 Property { name: "seriesChildren"; type: "QObject"; isList: true; isReadonly: true }
647 Signal {
647 Signal {
648 name: "axisXChanged"
648 name: "axisXChanged"
649 revision: 1
649 revision: 1
650 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
650 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
651 }
651 }
652 Signal {
652 Signal {
653 name: "axisYChanged"
653 name: "axisYChanged"
654 revision: 1
654 revision: 1
655 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
655 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
656 }
656 }
657 Signal {
657 Signal {
658 name: "axisXTopChanged"
658 name: "axisXTopChanged"
659 revision: 2
659 revision: 2
660 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
660 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
661 }
661 }
662 Signal {
662 Signal {
663 name: "axisYRightChanged"
663 name: "axisYRightChanged"
664 revision: 2
664 revision: 2
665 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
665 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
666 }
666 }
667 Method {
667 Method {
668 name: "appendSeriesChildren"
668 name: "appendSeriesChildren"
669 Parameter { name: "list"; type: "QObject"; isList: true; isPointer: true }
669 Parameter { name: "list"; type: "QObject"; isList: true; isPointer: true }
670 Parameter { name: "element"; type: "QObject"; isPointer: true }
670 Parameter { name: "element"; type: "QObject"; isPointer: true }
671 }
671 }
672 Method {
672 Method {
673 name: "at"
673 name: "at"
674 type: "DeclarativeBarSet*"
674 type: "DeclarativeBarSet*"
675 Parameter { name: "index"; type: "int" }
675 Parameter { name: "index"; type: "int" }
676 }
676 }
677 Method {
677 Method {
678 name: "append"
678 name: "append"
679 type: "DeclarativeBarSet*"
679 type: "DeclarativeBarSet*"
680 Parameter { name: "label"; type: "string" }
680 Parameter { name: "label"; type: "string" }
681 Parameter { name: "values"; type: "QVariantList" }
681 Parameter { name: "values"; type: "QVariantList" }
682 }
682 }
683 Method {
683 Method {
684 name: "insert"
684 name: "insert"
685 type: "DeclarativeBarSet*"
685 type: "DeclarativeBarSet*"
686 Parameter { name: "index"; type: "int" }
686 Parameter { name: "index"; type: "int" }
687 Parameter { name: "label"; type: "string" }
687 Parameter { name: "label"; type: "string" }
688 Parameter { name: "values"; type: "QVariantList" }
688 Parameter { name: "values"; type: "QVariantList" }
689 }
689 }
690 Method {
690 Method {
691 name: "remove"
691 name: "remove"
692 type: "bool"
692 type: "bool"
693 Parameter { name: "barset"; type: "QBarSet"; isPointer: true }
693 Parameter { name: "barset"; type: "QBarSet"; isPointer: true }
694 }
694 }
695 Method { name: "clear" }
695 Method { name: "clear" }
696 }
696 }
697 Component {
697 Component {
698 name: "QtCommercialChart::DeclarativeHorizontalPercentBarSeries"
698 name: "QtCommercialChart::DeclarativeHorizontalPercentBarSeries"
699 defaultProperty: "seriesChildren"
699 defaultProperty: "seriesChildren"
700 prototype: "QtCommercialChart::QHorizontalPercentBarSeries"
700 prototype: "QtCommercialChart::QHorizontalPercentBarSeries"
701 exports: [
701 exports: [
702 "QtCommercial.Chart/HorizontalPercentBarSeries 1.1",
702 "QtCommercial.Chart/HorizontalPercentBarSeries 1.1",
703 "QtCommercial.Chart/HorizontalPercentBarSeries 1.2"
703 "QtCommercial.Chart/HorizontalPercentBarSeries 1.2"
704 ]
704 ]
705 exportMetaObjectRevisions: [1, 2]
705 exportMetaObjectRevisions: [1, 2]
706 Property { name: "axisX"; revision: 1; type: "QAbstractAxis"; isPointer: true }
706 Property { name: "axisX"; revision: 1; type: "QAbstractAxis"; isPointer: true }
707 Property { name: "axisY"; revision: 1; type: "QAbstractAxis"; isPointer: true }
707 Property { name: "axisY"; revision: 1; type: "QAbstractAxis"; isPointer: true }
708 Property { name: "axisXTop"; revision: 2; type: "QAbstractAxis"; isPointer: true }
708 Property { name: "axisXTop"; revision: 2; type: "QAbstractAxis"; isPointer: true }
709 Property { name: "axisYRight"; revision: 2; type: "QAbstractAxis"; isPointer: true }
709 Property { name: "axisYRight"; revision: 2; type: "QAbstractAxis"; isPointer: true }
710 Property { name: "seriesChildren"; type: "QObject"; isList: true; isReadonly: true }
710 Property { name: "seriesChildren"; type: "QObject"; isList: true; isReadonly: true }
711 Signal {
711 Signal {
712 name: "axisXChanged"
712 name: "axisXChanged"
713 revision: 1
713 revision: 1
714 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
714 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
715 }
715 }
716 Signal {
716 Signal {
717 name: "axisYChanged"
717 name: "axisYChanged"
718 revision: 1
718 revision: 1
719 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
719 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
720 }
720 }
721 Signal {
721 Signal {
722 name: "axisXTopChanged"
722 name: "axisXTopChanged"
723 revision: 2
723 revision: 2
724 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
724 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
725 }
725 }
726 Signal {
726 Signal {
727 name: "axisYRightChanged"
727 name: "axisYRightChanged"
728 revision: 2
728 revision: 2
729 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
729 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
730 }
730 }
731 Method {
731 Method {
732 name: "appendSeriesChildren"
732 name: "appendSeriesChildren"
733 Parameter { name: "list"; type: "QObject"; isList: true; isPointer: true }
733 Parameter { name: "list"; type: "QObject"; isList: true; isPointer: true }
734 Parameter { name: "element"; type: "QObject"; isPointer: true }
734 Parameter { name: "element"; type: "QObject"; isPointer: true }
735 }
735 }
736 Method {
736 Method {
737 name: "at"
737 name: "at"
738 type: "DeclarativeBarSet*"
738 type: "DeclarativeBarSet*"
739 Parameter { name: "index"; type: "int" }
739 Parameter { name: "index"; type: "int" }
740 }
740 }
741 Method {
741 Method {
742 name: "append"
742 name: "append"
743 type: "DeclarativeBarSet*"
743 type: "DeclarativeBarSet*"
744 Parameter { name: "label"; type: "string" }
744 Parameter { name: "label"; type: "string" }
745 Parameter { name: "values"; type: "QVariantList" }
745 Parameter { name: "values"; type: "QVariantList" }
746 }
746 }
747 Method {
747 Method {
748 name: "insert"
748 name: "insert"
749 type: "DeclarativeBarSet*"
749 type: "DeclarativeBarSet*"
750 Parameter { name: "index"; type: "int" }
750 Parameter { name: "index"; type: "int" }
751 Parameter { name: "label"; type: "string" }
751 Parameter { name: "label"; type: "string" }
752 Parameter { name: "values"; type: "QVariantList" }
752 Parameter { name: "values"; type: "QVariantList" }
753 }
753 }
754 Method {
754 Method {
755 name: "remove"
755 name: "remove"
756 type: "bool"
756 type: "bool"
757 Parameter { name: "barset"; type: "QBarSet"; isPointer: true }
757 Parameter { name: "barset"; type: "QBarSet"; isPointer: true }
758 }
758 }
759 Method { name: "clear" }
759 Method { name: "clear" }
760 }
760 }
761 Component {
761 Component {
762 name: "QtCommercialChart::DeclarativeHorizontalStackedBarSeries"
762 name: "QtCommercialChart::DeclarativeHorizontalStackedBarSeries"
763 defaultProperty: "seriesChildren"
763 defaultProperty: "seriesChildren"
764 prototype: "QtCommercialChart::QHorizontalStackedBarSeries"
764 prototype: "QtCommercialChart::QHorizontalStackedBarSeries"
765 exports: [
765 exports: [
766 "QtCommercial.Chart/HorizontalStackedBarSeries 1.1",
766 "QtCommercial.Chart/HorizontalStackedBarSeries 1.1",
767 "QtCommercial.Chart/HorizontalStackedBarSeries 1.2"
767 "QtCommercial.Chart/HorizontalStackedBarSeries 1.2"
768 ]
768 ]
769 exportMetaObjectRevisions: [1, 2]
769 exportMetaObjectRevisions: [1, 2]
770 Property { name: "axisX"; revision: 1; type: "QAbstractAxis"; isPointer: true }
770 Property { name: "axisX"; revision: 1; type: "QAbstractAxis"; isPointer: true }
771 Property { name: "axisY"; revision: 1; type: "QAbstractAxis"; isPointer: true }
771 Property { name: "axisY"; revision: 1; type: "QAbstractAxis"; isPointer: true }
772 Property { name: "axisXTop"; revision: 2; type: "QAbstractAxis"; isPointer: true }
772 Property { name: "axisXTop"; revision: 2; type: "QAbstractAxis"; isPointer: true }
773 Property { name: "axisYRight"; revision: 2; type: "QAbstractAxis"; isPointer: true }
773 Property { name: "axisYRight"; revision: 2; type: "QAbstractAxis"; isPointer: true }
774 Property { name: "seriesChildren"; type: "QObject"; isList: true; isReadonly: true }
774 Property { name: "seriesChildren"; type: "QObject"; isList: true; isReadonly: true }
775 Signal {
775 Signal {
776 name: "axisXChanged"
776 name: "axisXChanged"
777 revision: 1
777 revision: 1
778 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
778 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
779 }
779 }
780 Signal {
780 Signal {
781 name: "axisYChanged"
781 name: "axisYChanged"
782 revision: 1
782 revision: 1
783 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
783 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
784 }
784 }
785 Signal {
785 Signal {
786 name: "axisXTopChanged"
786 name: "axisXTopChanged"
787 revision: 2
787 revision: 2
788 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
788 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
789 }
789 }
790 Signal {
790 Signal {
791 name: "axisYRightChanged"
791 name: "axisYRightChanged"
792 revision: 2
792 revision: 2
793 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
793 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
794 }
794 }
795 Method {
795 Method {
796 name: "appendSeriesChildren"
796 name: "appendSeriesChildren"
797 Parameter { name: "list"; type: "QObject"; isList: true; isPointer: true }
797 Parameter { name: "list"; type: "QObject"; isList: true; isPointer: true }
798 Parameter { name: "element"; type: "QObject"; isPointer: true }
798 Parameter { name: "element"; type: "QObject"; isPointer: true }
799 }
799 }
800 Method {
800 Method {
801 name: "at"
801 name: "at"
802 type: "DeclarativeBarSet*"
802 type: "DeclarativeBarSet*"
803 Parameter { name: "index"; type: "int" }
803 Parameter { name: "index"; type: "int" }
804 }
804 }
805 Method {
805 Method {
806 name: "append"
806 name: "append"
807 type: "DeclarativeBarSet*"
807 type: "DeclarativeBarSet*"
808 Parameter { name: "label"; type: "string" }
808 Parameter { name: "label"; type: "string" }
809 Parameter { name: "values"; type: "QVariantList" }
809 Parameter { name: "values"; type: "QVariantList" }
810 }
810 }
811 Method {
811 Method {
812 name: "insert"
812 name: "insert"
813 type: "DeclarativeBarSet*"
813 type: "DeclarativeBarSet*"
814 Parameter { name: "index"; type: "int" }
814 Parameter { name: "index"; type: "int" }
815 Parameter { name: "label"; type: "string" }
815 Parameter { name: "label"; type: "string" }
816 Parameter { name: "values"; type: "QVariantList" }
816 Parameter { name: "values"; type: "QVariantList" }
817 }
817 }
818 Method {
818 Method {
819 name: "remove"
819 name: "remove"
820 type: "bool"
820 type: "bool"
821 Parameter { name: "barset"; type: "QBarSet"; isPointer: true }
821 Parameter { name: "barset"; type: "QBarSet"; isPointer: true }
822 }
822 }
823 Method { name: "clear" }
823 Method { name: "clear" }
824 }
824 }
825 Component {
825 Component {
826 name: "QtCommercialChart::DeclarativeLineSeries"
826 name: "QtCommercialChart::DeclarativeLineSeries"
827 defaultProperty: "declarativeChildren"
827 defaultProperty: "declarativeChildren"
828 prototype: "QtCommercialChart::QLineSeries"
828 prototype: "QtCommercialChart::QLineSeries"
829 exports: [
829 exports: [
830 "QtCommercial.Chart/LineSeries 1.0",
830 "QtCommercial.Chart/LineSeries 1.0",
831 "QtCommercial.Chart/LineSeries 1.1",
831 "QtCommercial.Chart/LineSeries 1.1",
832 "QtCommercial.Chart/LineSeries 1.2",
832 "QtCommercial.Chart/LineSeries 1.2",
833 "QtCommercial.Chart/LineSeries 1.3"
833 "QtCommercial.Chart/LineSeries 1.3"
834 ]
834 ]
835 exportMetaObjectRevisions: [0, 1, 2, 3]
835 exportMetaObjectRevisions: [0, 1, 2, 3]
836 Property { name: "count"; type: "int"; isReadonly: true }
836 Property { name: "count"; type: "int"; isReadonly: true }
837 Property { name: "axisX"; revision: 1; type: "QAbstractAxis"; isPointer: true }
837 Property { name: "axisX"; revision: 1; type: "QAbstractAxis"; isPointer: true }
838 Property { name: "axisY"; revision: 1; type: "QAbstractAxis"; isPointer: true }
838 Property { name: "axisY"; revision: 1; type: "QAbstractAxis"; isPointer: true }
839 Property { name: "axisXTop"; revision: 2; type: "QAbstractAxis"; isPointer: true }
839 Property { name: "axisXTop"; revision: 2; type: "QAbstractAxis"; isPointer: true }
840 Property { name: "axisYRight"; revision: 2; type: "QAbstractAxis"; isPointer: true }
840 Property { name: "axisYRight"; revision: 2; type: "QAbstractAxis"; isPointer: true }
841 Property { name: "axisAngular"; revision: 3; type: "QAbstractAxis"; isPointer: true }
841 Property { name: "axisAngular"; revision: 3; type: "QAbstractAxis"; isPointer: true }
842 Property { name: "axisRadial"; revision: 3; type: "QAbstractAxis"; isPointer: true }
842 Property { name: "axisRadial"; revision: 3; type: "QAbstractAxis"; isPointer: true }
843 Property { name: "width"; revision: 1; type: "double" }
843 Property { name: "width"; revision: 1; type: "double" }
844 Property { name: "style"; revision: 1; type: "Qt::PenStyle" }
844 Property { name: "style"; revision: 1; type: "Qt::PenStyle" }
845 Property { name: "capStyle"; revision: 1; type: "Qt::PenCapStyle" }
845 Property { name: "capStyle"; revision: 1; type: "Qt::PenCapStyle" }
846 Property { name: "declarativeChildren"; type: "QObject"; isList: true; isReadonly: true }
846 Property { name: "declarativeChildren"; type: "QObject"; isList: true; isReadonly: true }
847 Signal {
847 Signal {
848 name: "countChanged"
848 name: "countChanged"
849 Parameter { name: "count"; type: "int" }
849 Parameter { name: "count"; type: "int" }
850 }
850 }
851 Signal {
851 Signal {
852 name: "axisXChanged"
852 name: "axisXChanged"
853 revision: 1
853 revision: 1
854 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
854 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
855 }
855 }
856 Signal {
856 Signal {
857 name: "axisYChanged"
857 name: "axisYChanged"
858 revision: 1
858 revision: 1
859 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
859 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
860 }
860 }
861 Signal {
861 Signal {
862 name: "axisXTopChanged"
862 name: "axisXTopChanged"
863 revision: 2
863 revision: 2
864 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
864 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
865 }
865 }
866 Signal {
866 Signal {
867 name: "axisYRightChanged"
867 name: "axisYRightChanged"
868 revision: 2
868 revision: 2
869 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
869 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
870 }
870 }
871 Signal {
871 Signal {
872 name: "axisAngularChanged"
872 name: "axisAngularChanged"
873 revision: 3
873 revision: 3
874 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
874 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
875 }
875 }
876 Signal {
876 Signal {
877 name: "axisRadialChanged"
877 name: "axisRadialChanged"
878 revision: 3
878 revision: 3
879 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
879 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
880 }
880 }
881 Signal {
881 Signal {
882 name: "widthChanged"
882 name: "widthChanged"
883 revision: 1
883 revision: 1
884 Parameter { name: "width"; type: "double" }
884 Parameter { name: "width"; type: "double" }
885 }
885 }
886 Signal {
886 Signal {
887 name: "styleChanged"
887 name: "styleChanged"
888 revision: 1
888 revision: 1
889 Parameter { name: "style"; type: "Qt::PenStyle" }
889 Parameter { name: "style"; type: "Qt::PenStyle" }
890 }
890 }
891 Signal {
891 Signal {
892 name: "capStyleChanged"
892 name: "capStyleChanged"
893 revision: 1
893 revision: 1
894 Parameter { name: "capStyle"; type: "Qt::PenCapStyle" }
894 Parameter { name: "capStyle"; type: "Qt::PenCapStyle" }
895 }
895 }
896 Method {
896 Method {
897 name: "appendDeclarativeChildren"
897 name: "appendDeclarativeChildren"
898 Parameter { name: "list"; type: "QObject"; isList: true; isPointer: true }
898 Parameter { name: "list"; type: "QObject"; isList: true; isPointer: true }
899 Parameter { name: "element"; type: "QObject"; isPointer: true }
899 Parameter { name: "element"; type: "QObject"; isPointer: true }
900 }
900 }
901 Method {
901 Method {
902 name: "handleCountChanged"
902 name: "handleCountChanged"
903 Parameter { name: "index"; type: "int" }
903 Parameter { name: "index"; type: "int" }
904 }
904 }
905 Method {
905 Method {
906 name: "append"
906 name: "append"
907 Parameter { name: "x"; type: "double" }
907 Parameter { name: "x"; type: "double" }
908 Parameter { name: "y"; type: "double" }
908 Parameter { name: "y"; type: "double" }
909 }
909 }
910 Method {
910 Method {
911 name: "replace"
911 name: "replace"
912 Parameter { name: "oldX"; type: "double" }
912 Parameter { name: "oldX"; type: "double" }
913 Parameter { name: "oldY"; type: "double" }
913 Parameter { name: "oldY"; type: "double" }
914 Parameter { name: "newX"; type: "double" }
914 Parameter { name: "newX"; type: "double" }
915 Parameter { name: "newY"; type: "double" }
915 Parameter { name: "newY"; type: "double" }
916 }
916 }
917 Method {
917 Method {
918 name: "replace"
918 name: "replace"
919 revision: 3
919 revision: 3
920 Parameter { name: "index"; type: "int" }
920 Parameter { name: "index"; type: "int" }
921 Parameter { name: "newX"; type: "double" }
921 Parameter { name: "newX"; type: "double" }
922 Parameter { name: "newY"; type: "double" }
922 Parameter { name: "newY"; type: "double" }
923 }
923 }
924 Method {
924 Method {
925 name: "remove"
925 name: "remove"
926 Parameter { name: "x"; type: "double" }
926 Parameter { name: "x"; type: "double" }
927 Parameter { name: "y"; type: "double" }
927 Parameter { name: "y"; type: "double" }
928 }
928 }
929 Method {
929 Method {
930 name: "remove"
930 name: "remove"
931 revision: 3
931 revision: 3
932 Parameter { name: "index"; type: "int" }
932 Parameter { name: "index"; type: "int" }
933 }
933 }
934 Method {
934 Method {
935 name: "insert"
935 name: "insert"
936 Parameter { name: "index"; type: "int" }
936 Parameter { name: "index"; type: "int" }
937 Parameter { name: "x"; type: "double" }
937 Parameter { name: "x"; type: "double" }
938 Parameter { name: "y"; type: "double" }
938 Parameter { name: "y"; type: "double" }
939 }
939 }
940 Method { name: "clear" }
940 Method { name: "clear" }
941 Method {
941 Method {
942 name: "at"
942 name: "at"
943 type: "QPointF"
943 type: "QPointF"
944 Parameter { name: "index"; type: "int" }
944 Parameter { name: "index"; type: "int" }
945 }
945 }
946 }
946 }
947 Component {
947 Component {
948 name: "QtCommercialChart::DeclarativeMargins"
948 name: "QtCommercialChart::DeclarativeMargins"
949 prototype: "QObject"
949 prototype: "QObject"
950 exports: ["QtCommercial.Chart/Margins 1.1"]
950 exports: ["QtCommercial.Chart/Margins 1.1"]
951 exportMetaObjectRevisions: [0]
951 exportMetaObjectRevisions: [0]
952 Property { name: "top"; type: "int" }
952 Property { name: "top"; type: "int" }
953 Property { name: "bottom"; type: "int" }
953 Property { name: "bottom"; type: "int" }
954 Property { name: "left"; type: "int" }
954 Property { name: "left"; type: "int" }
955 Property { name: "right"; type: "int" }
955 Property { name: "right"; type: "int" }
956 Signal {
956 Signal {
957 name: "topChanged"
957 name: "topChanged"
958 Parameter { name: "top"; type: "int" }
958 Parameter { name: "top"; type: "int" }
959 Parameter { name: "bottom"; type: "int" }
959 Parameter { name: "bottom"; type: "int" }
960 Parameter { name: "left"; type: "int" }
960 Parameter { name: "left"; type: "int" }
961 Parameter { name: "right"; type: "int" }
961 Parameter { name: "right"; type: "int" }
962 }
962 }
963 Signal {
963 Signal {
964 name: "bottomChanged"
964 name: "bottomChanged"
965 Parameter { name: "top"; type: "int" }
965 Parameter { name: "top"; type: "int" }
966 Parameter { name: "bottom"; type: "int" }
966 Parameter { name: "bottom"; type: "int" }
967 Parameter { name: "left"; type: "int" }
967 Parameter { name: "left"; type: "int" }
968 Parameter { name: "right"; type: "int" }
968 Parameter { name: "right"; type: "int" }
969 }
969 }
970 Signal {
970 Signal {
971 name: "leftChanged"
971 name: "leftChanged"
972 Parameter { name: "top"; type: "int" }
972 Parameter { name: "top"; type: "int" }
973 Parameter { name: "bottom"; type: "int" }
973 Parameter { name: "bottom"; type: "int" }
974 Parameter { name: "left"; type: "int" }
974 Parameter { name: "left"; type: "int" }
975 Parameter { name: "right"; type: "int" }
975 Parameter { name: "right"; type: "int" }
976 }
976 }
977 Signal {
977 Signal {
978 name: "rightChanged"
978 name: "rightChanged"
979 Parameter { name: "top"; type: "int" }
979 Parameter { name: "top"; type: "int" }
980 Parameter { name: "bottom"; type: "int" }
980 Parameter { name: "bottom"; type: "int" }
981 Parameter { name: "left"; type: "int" }
981 Parameter { name: "left"; type: "int" }
982 Parameter { name: "right"; type: "int" }
982 Parameter { name: "right"; type: "int" }
983 }
983 }
984 }
984 }
985 Component {
985 Component {
986 name: "QtCommercialChart::DeclarativePercentBarSeries"
986 name: "QtCommercialChart::DeclarativePercentBarSeries"
987 defaultProperty: "seriesChildren"
987 defaultProperty: "seriesChildren"
988 prototype: "QtCommercialChart::QPercentBarSeries"
988 prototype: "QtCommercialChart::QPercentBarSeries"
989 exports: [
989 exports: [
990 "QtCommercial.Chart/PercentBarSeries 1.0",
990 "QtCommercial.Chart/PercentBarSeries 1.0",
991 "QtCommercial.Chart/PercentBarSeries 1.1",
991 "QtCommercial.Chart/PercentBarSeries 1.1",
992 "QtCommercial.Chart/PercentBarSeries 1.2"
992 "QtCommercial.Chart/PercentBarSeries 1.2"
993 ]
993 ]
994 exportMetaObjectRevisions: [0, 1, 2]
994 exportMetaObjectRevisions: [0, 1, 2]
995 Property { name: "axisX"; revision: 1; type: "QAbstractAxis"; isPointer: true }
995 Property { name: "axisX"; revision: 1; type: "QAbstractAxis"; isPointer: true }
996 Property { name: "axisY"; revision: 1; type: "QAbstractAxis"; isPointer: true }
996 Property { name: "axisY"; revision: 1; type: "QAbstractAxis"; isPointer: true }
997 Property { name: "axisXTop"; revision: 2; type: "QAbstractAxis"; isPointer: true }
997 Property { name: "axisXTop"; revision: 2; type: "QAbstractAxis"; isPointer: true }
998 Property { name: "axisYRight"; revision: 2; type: "QAbstractAxis"; isPointer: true }
998 Property { name: "axisYRight"; revision: 2; type: "QAbstractAxis"; isPointer: true }
999 Property { name: "seriesChildren"; type: "QObject"; isList: true; isReadonly: true }
999 Property { name: "seriesChildren"; type: "QObject"; isList: true; isReadonly: true }
1000 Signal {
1000 Signal {
1001 name: "axisXChanged"
1001 name: "axisXChanged"
1002 revision: 1
1002 revision: 1
1003 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1003 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1004 }
1004 }
1005 Signal {
1005 Signal {
1006 name: "axisYChanged"
1006 name: "axisYChanged"
1007 revision: 1
1007 revision: 1
1008 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1008 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1009 }
1009 }
1010 Signal {
1010 Signal {
1011 name: "axisXTopChanged"
1011 name: "axisXTopChanged"
1012 revision: 2
1012 revision: 2
1013 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1013 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1014 }
1014 }
1015 Signal {
1015 Signal {
1016 name: "axisYRightChanged"
1016 name: "axisYRightChanged"
1017 revision: 2
1017 revision: 2
1018 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1018 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1019 }
1019 }
1020 Method {
1020 Method {
1021 name: "appendSeriesChildren"
1021 name: "appendSeriesChildren"
1022 Parameter { name: "list"; type: "QObject"; isList: true; isPointer: true }
1022 Parameter { name: "list"; type: "QObject"; isList: true; isPointer: true }
1023 Parameter { name: "element"; type: "QObject"; isPointer: true }
1023 Parameter { name: "element"; type: "QObject"; isPointer: true }
1024 }
1024 }
1025 Method {
1025 Method {
1026 name: "at"
1026 name: "at"
1027 type: "DeclarativeBarSet*"
1027 type: "DeclarativeBarSet*"
1028 Parameter { name: "index"; type: "int" }
1028 Parameter { name: "index"; type: "int" }
1029 }
1029 }
1030 Method {
1030 Method {
1031 name: "append"
1031 name: "append"
1032 type: "DeclarativeBarSet*"
1032 type: "DeclarativeBarSet*"
1033 Parameter { name: "label"; type: "string" }
1033 Parameter { name: "label"; type: "string" }
1034 Parameter { name: "values"; type: "QVariantList" }
1034 Parameter { name: "values"; type: "QVariantList" }
1035 }
1035 }
1036 Method {
1036 Method {
1037 name: "insert"
1037 name: "insert"
1038 type: "DeclarativeBarSet*"
1038 type: "DeclarativeBarSet*"
1039 Parameter { name: "index"; type: "int" }
1039 Parameter { name: "index"; type: "int" }
1040 Parameter { name: "label"; type: "string" }
1040 Parameter { name: "label"; type: "string" }
1041 Parameter { name: "values"; type: "QVariantList" }
1041 Parameter { name: "values"; type: "QVariantList" }
1042 }
1042 }
1043 Method {
1043 Method {
1044 name: "remove"
1044 name: "remove"
1045 type: "bool"
1045 type: "bool"
1046 Parameter { name: "barset"; type: "QBarSet"; isPointer: true }
1046 Parameter { name: "barset"; type: "QBarSet"; isPointer: true }
1047 }
1047 }
1048 Method { name: "clear" }
1048 Method { name: "clear" }
1049 }
1049 }
1050 Component {
1050 Component {
1051 name: "QtCommercialChart::DeclarativePieSeries"
1051 name: "QtCommercialChart::DeclarativePieSeries"
1052 defaultProperty: "seriesChildren"
1052 defaultProperty: "seriesChildren"
1053 prototype: "QtCommercialChart::QPieSeries"
1053 prototype: "QtCommercialChart::QPieSeries"
1054 exports: [
1054 exports: [
1055 "QtCommercial.Chart/PieSeries 1.0",
1055 "QtCommercial.Chart/PieSeries 1.0",
1056 "QtCommercial.Chart/PieSeries 1.1"
1056 "QtCommercial.Chart/PieSeries 1.1"
1057 ]
1057 ]
1058 exportMetaObjectRevisions: [0, 0]
1058 exportMetaObjectRevisions: [0, 0]
1059 Property { name: "seriesChildren"; type: "QObject"; isList: true; isReadonly: true }
1059 Property { name: "seriesChildren"; type: "QObject"; isList: true; isReadonly: true }
1060 Signal {
1060 Signal {
1061 name: "sliceAdded"
1061 name: "sliceAdded"
1062 Parameter { name: "slice"; type: "QPieSlice"; isPointer: true }
1062 Parameter { name: "slice"; type: "QPieSlice"; isPointer: true }
1063 }
1063 }
1064 Signal {
1064 Signal {
1065 name: "sliceRemoved"
1065 name: "sliceRemoved"
1066 Parameter { name: "slice"; type: "QPieSlice"; isPointer: true }
1066 Parameter { name: "slice"; type: "QPieSlice"; isPointer: true }
1067 }
1067 }
1068 Method {
1068 Method {
1069 name: "appendSeriesChildren"
1069 name: "appendSeriesChildren"
1070 Parameter { name: "list"; type: "QObject"; isList: true; isPointer: true }
1070 Parameter { name: "list"; type: "QObject"; isList: true; isPointer: true }
1071 Parameter { name: "element"; type: "QObject"; isPointer: true }
1071 Parameter { name: "element"; type: "QObject"; isPointer: true }
1072 }
1072 }
1073 Method {
1073 Method {
1074 name: "handleAdded"
1074 name: "handleAdded"
1075 Parameter { name: "slices"; type: "QList<QPieSlice*>" }
1075 Parameter { name: "slices"; type: "QList<QPieSlice*>" }
1076 }
1076 }
1077 Method {
1077 Method {
1078 name: "handleRemoved"
1078 name: "handleRemoved"
1079 Parameter { name: "slices"; type: "QList<QPieSlice*>" }
1079 Parameter { name: "slices"; type: "QList<QPieSlice*>" }
1080 }
1080 }
1081 Method {
1081 Method {
1082 name: "at"
1082 name: "at"
1083 type: "QPieSlice*"
1083 type: "QPieSlice*"
1084 Parameter { name: "index"; type: "int" }
1084 Parameter { name: "index"; type: "int" }
1085 }
1085 }
1086 Method {
1086 Method {
1087 name: "find"
1087 name: "find"
1088 type: "QPieSlice*"
1088 type: "QPieSlice*"
1089 Parameter { name: "label"; type: "string" }
1089 Parameter { name: "label"; type: "string" }
1090 }
1090 }
1091 Method {
1091 Method {
1092 name: "append"
1092 name: "append"
1093 type: "DeclarativePieSlice*"
1093 type: "DeclarativePieSlice*"
1094 Parameter { name: "label"; type: "string" }
1094 Parameter { name: "label"; type: "string" }
1095 Parameter { name: "value"; type: "double" }
1095 Parameter { name: "value"; type: "double" }
1096 }
1096 }
1097 Method {
1097 Method {
1098 name: "remove"
1098 name: "remove"
1099 type: "bool"
1099 type: "bool"
1100 Parameter { name: "slice"; type: "QPieSlice"; isPointer: true }
1100 Parameter { name: "slice"; type: "QPieSlice"; isPointer: true }
1101 }
1101 }
1102 Method { name: "clear" }
1102 Method { name: "clear" }
1103 }
1103 }
1104 Component {
1104 Component {
1105 name: "QtCommercialChart::DeclarativePieSlice"
1105 name: "QtCommercialChart::DeclarativePieSlice"
1106 prototype: "QtCommercialChart::QPieSlice"
1106 prototype: "QtCommercialChart::QPieSlice"
1107 exports: ["QtCommercial.Chart/PieSlice 1.4"]
1107 exports: ["QtCommercial.Chart/PieSlice 1.4"]
1108 exportMetaObjectRevisions: [0]
1108 exportMetaObjectRevisions: [0]
1109 Property { name: "brushFilename"; type: "string" }
1109 Property { name: "brushFilename"; type: "string" }
1110 Signal {
1110 Signal {
1111 name: "brushFilenameChanged"
1111 name: "brushFilenameChanged"
1112 Parameter { name: "brushFilename"; type: "string" }
1112 Parameter { name: "brushFilename"; type: "string" }
1113 }
1113 }
1114 }
1114 }
1115 Component {
1115 Component {
1116 name: "QtCommercialChart::DeclarativePolarChart"
1116 name: "QtCommercialChart::DeclarativePolarChart"
1117 defaultProperty: "data"
1117 defaultProperty: "data"
1118 prototype: "QtCommercialChart::DeclarativeChart"
1118 prototype: "QtCommercialChart::DeclarativeChart"
1119 exports: ["QtCommercial.Chart/PolarChartView 1.3"]
1119 exports: ["QtCommercial.Chart/PolarChartView 1.3"]
1120 exportMetaObjectRevisions: [1]
1120 exportMetaObjectRevisions: [1]
1121 }
1121 }
1122 Component {
1122 Component {
1123 name: "QtCommercialChart::DeclarativeScatterSeries"
1123 name: "QtCommercialChart::DeclarativeScatterSeries"
1124 defaultProperty: "declarativeChildren"
1124 defaultProperty: "declarativeChildren"
1125 prototype: "QtCommercialChart::QScatterSeries"
1125 prototype: "QtCommercialChart::QScatterSeries"
1126 exports: [
1126 exports: [
1127 "QtCommercial.Chart/ScatterSeries 1.0",
1127 "QtCommercial.Chart/ScatterSeries 1.0",
1128 "QtCommercial.Chart/ScatterSeries 1.1",
1128 "QtCommercial.Chart/ScatterSeries 1.1",
1129 "QtCommercial.Chart/ScatterSeries 1.2",
1129 "QtCommercial.Chart/ScatterSeries 1.2",
1130 "QtCommercial.Chart/ScatterSeries 1.3",
1130 "QtCommercial.Chart/ScatterSeries 1.3",
1131 "QtCommercial.Chart/ScatterSeries 1.4"
1131 "QtCommercial.Chart/ScatterSeries 1.4"
1132 ]
1132 ]
1133 exportMetaObjectRevisions: [0, 1, 2, 3, 4]
1133 exportMetaObjectRevisions: [0, 1, 2, 3, 4]
1134 Property { name: "count"; type: "int"; isReadonly: true }
1134 Property { name: "count"; type: "int"; isReadonly: true }
1135 Property { name: "axisX"; revision: 1; type: "QAbstractAxis"; isPointer: true }
1135 Property { name: "axisX"; revision: 1; type: "QAbstractAxis"; isPointer: true }
1136 Property { name: "axisY"; revision: 1; type: "QAbstractAxis"; isPointer: true }
1136 Property { name: "axisY"; revision: 1; type: "QAbstractAxis"; isPointer: true }
1137 Property { name: "axisXTop"; revision: 2; type: "QAbstractAxis"; isPointer: true }
1137 Property { name: "axisXTop"; revision: 2; type: "QAbstractAxis"; isPointer: true }
1138 Property { name: "axisYRight"; revision: 2; type: "QAbstractAxis"; isPointer: true }
1138 Property { name: "axisYRight"; revision: 2; type: "QAbstractAxis"; isPointer: true }
1139 Property { name: "axisAngular"; revision: 3; type: "QAbstractAxis"; isPointer: true }
1139 Property { name: "axisAngular"; revision: 3; type: "QAbstractAxis"; isPointer: true }
1140 Property { name: "axisRadial"; revision: 3; type: "QAbstractAxis"; isPointer: true }
1140 Property { name: "axisRadial"; revision: 3; type: "QAbstractAxis"; isPointer: true }
1141 Property { name: "borderWidth"; revision: 1; type: "double" }
1141 Property { name: "borderWidth"; revision: 1; type: "double" }
1142 Property { name: "declarativeChildren"; type: "QObject"; isList: true; isReadonly: true }
1142 Property { name: "declarativeChildren"; type: "QObject"; isList: true; isReadonly: true }
1143 Property { name: "brushFilename"; revision: 4; type: "string" }
1143 Property { name: "brushFilename"; revision: 4; type: "string" }
1144 Property { name: "brush"; revision: 4; type: "QBrush" }
1144 Property { name: "brush"; revision: 4; type: "QBrush" }
1145 Signal {
1145 Signal {
1146 name: "countChanged"
1146 name: "countChanged"
1147 Parameter { name: "count"; type: "int" }
1147 Parameter { name: "count"; type: "int" }
1148 }
1148 }
1149 Signal {
1149 Signal {
1150 name: "axisXChanged"
1150 name: "axisXChanged"
1151 revision: 1
1151 revision: 1
1152 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1152 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1153 }
1153 }
1154 Signal {
1154 Signal {
1155 name: "axisYChanged"
1155 name: "axisYChanged"
1156 revision: 1
1156 revision: 1
1157 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1157 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1158 }
1158 }
1159 Signal {
1159 Signal {
1160 name: "borderWidthChanged"
1160 name: "borderWidthChanged"
1161 revision: 1
1161 revision: 1
1162 Parameter { name: "width"; type: "double" }
1162 Parameter { name: "width"; type: "double" }
1163 }
1163 }
1164 Signal {
1164 Signal {
1165 name: "axisXTopChanged"
1165 name: "axisXTopChanged"
1166 revision: 2
1166 revision: 2
1167 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1167 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1168 }
1168 }
1169 Signal {
1169 Signal {
1170 name: "axisYRightChanged"
1170 name: "axisYRightChanged"
1171 revision: 2
1171 revision: 2
1172 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1172 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1173 }
1173 }
1174 Signal {
1174 Signal {
1175 name: "axisAngularChanged"
1175 name: "axisAngularChanged"
1176 revision: 3
1176 revision: 3
1177 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1177 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1178 }
1178 }
1179 Signal {
1179 Signal {
1180 name: "axisRadialChanged"
1180 name: "axisRadialChanged"
1181 revision: 3
1181 revision: 3
1182 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1182 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1183 }
1183 }
1184 Signal {
1184 Signal {
1185 name: "brushFilenameChanged"
1185 name: "brushFilenameChanged"
1186 revision: 4
1186 revision: 4
1187 Parameter { name: "brushFilename"; type: "string" }
1187 Parameter { name: "brushFilename"; type: "string" }
1188 }
1188 }
1189 Signal { name: "brushChanged"; revision: 4 }
1189 Signal { name: "brushChanged"; revision: 4 }
1190 Method {
1190 Method {
1191 name: "appendDeclarativeChildren"
1191 name: "appendDeclarativeChildren"
1192 Parameter { name: "list"; type: "QObject"; isList: true; isPointer: true }
1192 Parameter { name: "list"; type: "QObject"; isList: true; isPointer: true }
1193 Parameter { name: "element"; type: "QObject"; isPointer: true }
1193 Parameter { name: "element"; type: "QObject"; isPointer: true }
1194 }
1194 }
1195 Method {
1195 Method {
1196 name: "handleCountChanged"
1196 name: "handleCountChanged"
1197 Parameter { name: "index"; type: "int" }
1197 Parameter { name: "index"; type: "int" }
1198 }
1198 }
1199 Method {
1199 Method {
1200 name: "append"
1200 name: "append"
1201 Parameter { name: "x"; type: "double" }
1201 Parameter { name: "x"; type: "double" }
1202 Parameter { name: "y"; type: "double" }
1202 Parameter { name: "y"; type: "double" }
1203 }
1203 }
1204 Method {
1204 Method {
1205 name: "replace"
1205 name: "replace"
1206 Parameter { name: "oldX"; type: "double" }
1206 Parameter { name: "oldX"; type: "double" }
1207 Parameter { name: "oldY"; type: "double" }
1207 Parameter { name: "oldY"; type: "double" }
1208 Parameter { name: "newX"; type: "double" }
1208 Parameter { name: "newX"; type: "double" }
1209 Parameter { name: "newY"; type: "double" }
1209 Parameter { name: "newY"; type: "double" }
1210 }
1210 }
1211 Method {
1211 Method {
1212 name: "replace"
1212 name: "replace"
1213 revision: 3
1213 revision: 3
1214 Parameter { name: "index"; type: "int" }
1214 Parameter { name: "index"; type: "int" }
1215 Parameter { name: "newX"; type: "double" }
1215 Parameter { name: "newX"; type: "double" }
1216 Parameter { name: "newY"; type: "double" }
1216 Parameter { name: "newY"; type: "double" }
1217 }
1217 }
1218 Method {
1218 Method {
1219 name: "remove"
1219 name: "remove"
1220 Parameter { name: "x"; type: "double" }
1220 Parameter { name: "x"; type: "double" }
1221 Parameter { name: "y"; type: "double" }
1221 Parameter { name: "y"; type: "double" }
1222 }
1222 }
1223 Method {
1223 Method {
1224 name: "remove"
1224 name: "remove"
1225 revision: 3
1225 revision: 3
1226 Parameter { name: "index"; type: "int" }
1226 Parameter { name: "index"; type: "int" }
1227 }
1227 }
1228 Method {
1228 Method {
1229 name: "insert"
1229 name: "insert"
1230 Parameter { name: "index"; type: "int" }
1230 Parameter { name: "index"; type: "int" }
1231 Parameter { name: "x"; type: "double" }
1231 Parameter { name: "x"; type: "double" }
1232 Parameter { name: "y"; type: "double" }
1232 Parameter { name: "y"; type: "double" }
1233 }
1233 }
1234 Method { name: "clear" }
1234 Method { name: "clear" }
1235 Method {
1235 Method {
1236 name: "at"
1236 name: "at"
1237 type: "QPointF"
1237 type: "QPointF"
1238 Parameter { name: "index"; type: "int" }
1238 Parameter { name: "index"; type: "int" }
1239 }
1239 }
1240 }
1240 }
1241 Component {
1241 Component {
1242 name: "QtCommercialChart::DeclarativeSplineSeries"
1242 name: "QtCommercialChart::DeclarativeSplineSeries"
1243 defaultProperty: "declarativeChildren"
1243 defaultProperty: "declarativeChildren"
1244 prototype: "QtCommercialChart::QSplineSeries"
1244 prototype: "QtCommercialChart::QSplineSeries"
1245 exports: [
1245 exports: [
1246 "QtCommercial.Chart/SplineSeries 1.0",
1246 "QtCommercial.Chart/SplineSeries 1.0",
1247 "QtCommercial.Chart/SplineSeries 1.1",
1247 "QtCommercial.Chart/SplineSeries 1.1",
1248 "QtCommercial.Chart/SplineSeries 1.2",
1248 "QtCommercial.Chart/SplineSeries 1.2",
1249 "QtCommercial.Chart/SplineSeries 1.3"
1249 "QtCommercial.Chart/SplineSeries 1.3"
1250 ]
1250 ]
1251 exportMetaObjectRevisions: [0, 1, 2, 3]
1251 exportMetaObjectRevisions: [0, 1, 2, 3]
1252 Property { name: "count"; type: "int"; isReadonly: true }
1252 Property { name: "count"; type: "int"; isReadonly: true }
1253 Property { name: "axisX"; revision: 1; type: "QAbstractAxis"; isPointer: true }
1253 Property { name: "axisX"; revision: 1; type: "QAbstractAxis"; isPointer: true }
1254 Property { name: "axisY"; revision: 1; type: "QAbstractAxis"; isPointer: true }
1254 Property { name: "axisY"; revision: 1; type: "QAbstractAxis"; isPointer: true }
1255 Property { name: "axisXTop"; revision: 2; type: "QAbstractAxis"; isPointer: true }
1255 Property { name: "axisXTop"; revision: 2; type: "QAbstractAxis"; isPointer: true }
1256 Property { name: "axisYRight"; revision: 2; type: "QAbstractAxis"; isPointer: true }
1256 Property { name: "axisYRight"; revision: 2; type: "QAbstractAxis"; isPointer: true }
1257 Property { name: "axisAngular"; revision: 3; type: "QAbstractAxis"; isPointer: true }
1257 Property { name: "axisAngular"; revision: 3; type: "QAbstractAxis"; isPointer: true }
1258 Property { name: "axisRadial"; revision: 3; type: "QAbstractAxis"; isPointer: true }
1258 Property { name: "axisRadial"; revision: 3; type: "QAbstractAxis"; isPointer: true }
1259 Property { name: "width"; revision: 1; type: "double" }
1259 Property { name: "width"; revision: 1; type: "double" }
1260 Property { name: "style"; revision: 1; type: "Qt::PenStyle" }
1260 Property { name: "style"; revision: 1; type: "Qt::PenStyle" }
1261 Property { name: "capStyle"; revision: 1; type: "Qt::PenCapStyle" }
1261 Property { name: "capStyle"; revision: 1; type: "Qt::PenCapStyle" }
1262 Property { name: "declarativeChildren"; type: "QObject"; isList: true; isReadonly: true }
1262 Property { name: "declarativeChildren"; type: "QObject"; isList: true; isReadonly: true }
1263 Signal {
1263 Signal {
1264 name: "countChanged"
1264 name: "countChanged"
1265 Parameter { name: "count"; type: "int" }
1265 Parameter { name: "count"; type: "int" }
1266 }
1266 }
1267 Signal {
1267 Signal {
1268 name: "axisXChanged"
1268 name: "axisXChanged"
1269 revision: 1
1269 revision: 1
1270 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1270 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1271 }
1271 }
1272 Signal {
1272 Signal {
1273 name: "axisYChanged"
1273 name: "axisYChanged"
1274 revision: 1
1274 revision: 1
1275 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1275 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1276 }
1276 }
1277 Signal {
1277 Signal {
1278 name: "axisXTopChanged"
1278 name: "axisXTopChanged"
1279 revision: 2
1279 revision: 2
1280 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1280 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1281 }
1281 }
1282 Signal {
1282 Signal {
1283 name: "axisYRightChanged"
1283 name: "axisYRightChanged"
1284 revision: 2
1284 revision: 2
1285 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1285 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1286 }
1286 }
1287 Signal {
1287 Signal {
1288 name: "axisAngularChanged"
1288 name: "axisAngularChanged"
1289 revision: 3
1289 revision: 3
1290 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1290 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1291 }
1291 }
1292 Signal {
1292 Signal {
1293 name: "axisRadialChanged"
1293 name: "axisRadialChanged"
1294 revision: 3
1294 revision: 3
1295 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1295 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1296 }
1296 }
1297 Signal {
1297 Signal {
1298 name: "widthChanged"
1298 name: "widthChanged"
1299 revision: 1
1299 revision: 1
1300 Parameter { name: "width"; type: "double" }
1300 Parameter { name: "width"; type: "double" }
1301 }
1301 }
1302 Signal {
1302 Signal {
1303 name: "styleChanged"
1303 name: "styleChanged"
1304 revision: 1
1304 revision: 1
1305 Parameter { name: "style"; type: "Qt::PenStyle" }
1305 Parameter { name: "style"; type: "Qt::PenStyle" }
1306 }
1306 }
1307 Signal {
1307 Signal {
1308 name: "capStyleChanged"
1308 name: "capStyleChanged"
1309 revision: 1
1309 revision: 1
1310 Parameter { name: "capStyle"; type: "Qt::PenCapStyle" }
1310 Parameter { name: "capStyle"; type: "Qt::PenCapStyle" }
1311 }
1311 }
1312 Method {
1312 Method {
1313 name: "appendDeclarativeChildren"
1313 name: "appendDeclarativeChildren"
1314 Parameter { name: "list"; type: "QObject"; isList: true; isPointer: true }
1314 Parameter { name: "list"; type: "QObject"; isList: true; isPointer: true }
1315 Parameter { name: "element"; type: "QObject"; isPointer: true }
1315 Parameter { name: "element"; type: "QObject"; isPointer: true }
1316 }
1316 }
1317 Method {
1317 Method {
1318 name: "handleCountChanged"
1318 name: "handleCountChanged"
1319 Parameter { name: "index"; type: "int" }
1319 Parameter { name: "index"; type: "int" }
1320 }
1320 }
1321 Method {
1321 Method {
1322 name: "append"
1322 name: "append"
1323 Parameter { name: "x"; type: "double" }
1323 Parameter { name: "x"; type: "double" }
1324 Parameter { name: "y"; type: "double" }
1324 Parameter { name: "y"; type: "double" }
1325 }
1325 }
1326 Method {
1326 Method {
1327 name: "replace"
1327 name: "replace"
1328 Parameter { name: "oldX"; type: "double" }
1328 Parameter { name: "oldX"; type: "double" }
1329 Parameter { name: "oldY"; type: "double" }
1329 Parameter { name: "oldY"; type: "double" }
1330 Parameter { name: "newX"; type: "double" }
1330 Parameter { name: "newX"; type: "double" }
1331 Parameter { name: "newY"; type: "double" }
1331 Parameter { name: "newY"; type: "double" }
1332 }
1332 }
1333 Method {
1333 Method {
1334 name: "replace"
1334 name: "replace"
1335 revision: 3
1335 revision: 3
1336 Parameter { name: "index"; type: "int" }
1336 Parameter { name: "index"; type: "int" }
1337 Parameter { name: "newX"; type: "double" }
1337 Parameter { name: "newX"; type: "double" }
1338 Parameter { name: "newY"; type: "double" }
1338 Parameter { name: "newY"; type: "double" }
1339 }
1339 }
1340 Method {
1340 Method {
1341 name: "remove"
1341 name: "remove"
1342 Parameter { name: "x"; type: "double" }
1342 Parameter { name: "x"; type: "double" }
1343 Parameter { name: "y"; type: "double" }
1343 Parameter { name: "y"; type: "double" }
1344 }
1344 }
1345 Method {
1345 Method {
1346 name: "remove"
1346 name: "remove"
1347 revision: 3
1347 revision: 3
1348 Parameter { name: "index"; type: "int" }
1348 Parameter { name: "index"; type: "int" }
1349 }
1349 }
1350 Method {
1350 Method {
1351 name: "insert"
1351 name: "insert"
1352 Parameter { name: "index"; type: "int" }
1352 Parameter { name: "index"; type: "int" }
1353 Parameter { name: "x"; type: "double" }
1353 Parameter { name: "x"; type: "double" }
1354 Parameter { name: "y"; type: "double" }
1354 Parameter { name: "y"; type: "double" }
1355 }
1355 }
1356 Method { name: "clear" }
1356 Method { name: "clear" }
1357 Method {
1357 Method {
1358 name: "at"
1358 name: "at"
1359 type: "QPointF"
1359 type: "QPointF"
1360 Parameter { name: "index"; type: "int" }
1360 Parameter { name: "index"; type: "int" }
1361 }
1361 }
1362 }
1362 }
1363 Component {
1363 Component {
1364 name: "QtCommercialChart::DeclarativeStackedBarSeries"
1364 name: "QtCommercialChart::DeclarativeStackedBarSeries"
1365 defaultProperty: "seriesChildren"
1365 defaultProperty: "seriesChildren"
1366 prototype: "QtCommercialChart::QStackedBarSeries"
1366 prototype: "QtCommercialChart::QStackedBarSeries"
1367 exports: [
1367 exports: [
1368 "QtCommercial.Chart/StackedBarSeries 1.0",
1368 "QtCommercial.Chart/StackedBarSeries 1.0",
1369 "QtCommercial.Chart/StackedBarSeries 1.1",
1369 "QtCommercial.Chart/StackedBarSeries 1.1",
1370 "QtCommercial.Chart/StackedBarSeries 1.2"
1370 "QtCommercial.Chart/StackedBarSeries 1.2"
1371 ]
1371 ]
1372 exportMetaObjectRevisions: [0, 1, 2]
1372 exportMetaObjectRevisions: [0, 1, 2]
1373 Property { name: "axisX"; revision: 1; type: "QAbstractAxis"; isPointer: true }
1373 Property { name: "axisX"; revision: 1; type: "QAbstractAxis"; isPointer: true }
1374 Property { name: "axisY"; revision: 1; type: "QAbstractAxis"; isPointer: true }
1374 Property { name: "axisY"; revision: 1; type: "QAbstractAxis"; isPointer: true }
1375 Property { name: "axisXTop"; revision: 2; type: "QAbstractAxis"; isPointer: true }
1375 Property { name: "axisXTop"; revision: 2; type: "QAbstractAxis"; isPointer: true }
1376 Property { name: "axisYRight"; revision: 2; type: "QAbstractAxis"; isPointer: true }
1376 Property { name: "axisYRight"; revision: 2; type: "QAbstractAxis"; isPointer: true }
1377 Property { name: "seriesChildren"; type: "QObject"; isList: true; isReadonly: true }
1377 Property { name: "seriesChildren"; type: "QObject"; isList: true; isReadonly: true }
1378 Signal {
1378 Signal {
1379 name: "axisXChanged"
1379 name: "axisXChanged"
1380 revision: 1
1380 revision: 1
1381 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1381 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1382 }
1382 }
1383 Signal {
1383 Signal {
1384 name: "axisYChanged"
1384 name: "axisYChanged"
1385 revision: 1
1385 revision: 1
1386 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1386 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1387 }
1387 }
1388 Signal {
1388 Signal {
1389 name: "axisXTopChanged"
1389 name: "axisXTopChanged"
1390 revision: 2
1390 revision: 2
1391 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1391 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1392 }
1392 }
1393 Signal {
1393 Signal {
1394 name: "axisYRightChanged"
1394 name: "axisYRightChanged"
1395 revision: 2
1395 revision: 2
1396 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1396 Parameter { name: "axis"; type: "QAbstractAxis"; isPointer: true }
1397 }
1397 }
1398 Method {
1398 Method {
1399 name: "appendSeriesChildren"
1399 name: "appendSeriesChildren"
1400 Parameter { name: "list"; type: "QObject"; isList: true; isPointer: true }
1400 Parameter { name: "list"; type: "QObject"; isList: true; isPointer: true }
1401 Parameter { name: "element"; type: "QObject"; isPointer: true }
1401 Parameter { name: "element"; type: "QObject"; isPointer: true }
1402 }
1402 }
1403 Method {
1403 Method {
1404 name: "at"
1404 name: "at"
1405 type: "DeclarativeBarSet*"
1405 type: "DeclarativeBarSet*"
1406 Parameter { name: "index"; type: "int" }
1406 Parameter { name: "index"; type: "int" }
1407 }
1407 }
1408 Method {
1408 Method {
1409 name: "append"
1409 name: "append"
1410 type: "DeclarativeBarSet*"
1410 type: "DeclarativeBarSet*"
1411 Parameter { name: "label"; type: "string" }
1411 Parameter { name: "label"; type: "string" }
1412 Parameter { name: "values"; type: "QVariantList" }
1412 Parameter { name: "values"; type: "QVariantList" }
1413 }
1413 }
1414 Method {
1414 Method {
1415 name: "insert"
1415 name: "insert"
1416 type: "DeclarativeBarSet*"
1416 type: "DeclarativeBarSet*"
1417 Parameter { name: "index"; type: "int" }
1417 Parameter { name: "index"; type: "int" }
1418 Parameter { name: "label"; type: "string" }
1418 Parameter { name: "label"; type: "string" }
1419 Parameter { name: "values"; type: "QVariantList" }
1419 Parameter { name: "values"; type: "QVariantList" }
1420 }
1420 }
1421 Method {
1421 Method {
1422 name: "remove"
1422 name: "remove"
1423 type: "bool"
1423 type: "bool"
1424 Parameter { name: "barset"; type: "QBarSet"; isPointer: true }
1424 Parameter { name: "barset"; type: "QBarSet"; isPointer: true }
1425 }
1425 }
1426 Method { name: "clear" }
1426 Method { name: "clear" }
1427 }
1427 }
1428 Component {
1428 Component {
1429 name: "QtCommercialChart::DeclarativeXYPoint"
1429 name: "QtCommercialChart::DeclarativeXYPoint"
1430 prototype: "QObject"
1430 prototype: "QObject"
1431 exports: ["QtCommercial.Chart/XYPoint 1.0"]
1431 exports: ["QtCommercial.Chart/XYPoint 1.0"]
1432 exportMetaObjectRevisions: [0]
1432 exportMetaObjectRevisions: [0]
1433 Property { name: "x"; type: "double" }
1433 Property { name: "x"; type: "double" }
1434 Property { name: "y"; type: "double" }
1434 Property { name: "y"; type: "double" }
1435 }
1435 }
1436 Component {
1436 Component {
1437 name: "QtCommercialChart::LegendScroller"
1437 name: "QtCommercialChart::LegendScroller"
1438 defaultProperty: "children"
1438 defaultProperty: "children"
1439 prototype: "QtCommercialChart::QLegend"
1439 prototype: "QtCommercialChart::QLegend"
1440 }
1440 }
1441 Component {
1441 Component {
1442 name: "QtCommercialChart::QAbstractAxis"
1442 name: "QtCommercialChart::QAbstractAxis"
1443 prototype: "QObject"
1443 prototype: "QObject"
1444 exports: ["QtCommercial.Chart/AbstractAxis 1.0"]
1444 exports: ["QtCommercial.Chart/AbstractAxis 1.0"]
1445 exportMetaObjectRevisions: [0]
1445 exportMetaObjectRevisions: [0]
1446 Property { name: "visible"; type: "bool" }
1446 Property { name: "visible"; type: "bool" }
1447 Property { name: "lineVisible"; type: "bool" }
1447 Property { name: "lineVisible"; type: "bool" }
1448 Property { name: "linePen"; type: "QPen" }
1448 Property { name: "linePen"; type: "QPen" }
1449 Property { name: "color"; type: "QColor" }
1449 Property { name: "color"; type: "QColor" }
1450 Property { name: "labelsVisible"; type: "bool" }
1450 Property { name: "labelsVisible"; type: "bool" }
1451 Property { name: "labelsPen"; type: "QPen" }
1451 Property { name: "labelsPen"; type: "QPen" }
1452 Property { name: "labelsBrush"; type: "QBrush" }
1452 Property { name: "labelsBrush"; type: "QBrush" }
1453 Property { name: "labelsAngle"; type: "int" }
1453 Property { name: "labelsAngle"; type: "int" }
1454 Property { name: "labelsFont"; type: "QFont" }
1454 Property { name: "labelsFont"; type: "QFont" }
1455 Property { name: "labelsColor"; type: "QColor" }
1455 Property { name: "labelsColor"; type: "QColor" }
1456 Property { name: "gridVisible"; type: "bool" }
1456 Property { name: "gridVisible"; type: "bool" }
1457 Property { name: "gridLinePen"; type: "QPen" }
1457 Property { name: "gridLinePen"; type: "QPen" }
1458 Property { name: "shadesVisible"; type: "bool" }
1458 Property { name: "shadesVisible"; type: "bool" }
1459 Property { name: "shadesColor"; type: "QColor" }
1459 Property { name: "shadesColor"; type: "QColor" }
1460 Property { name: "shadesBorderColor"; type: "QColor" }
1460 Property { name: "shadesBorderColor"; type: "QColor" }
1461 Property { name: "shadesPen"; type: "QPen" }
1461 Property { name: "shadesPen"; type: "QPen" }
1462 Property { name: "shadesBrush"; type: "QBrush" }
1462 Property { name: "shadesBrush"; type: "QBrush" }
1463 Property { name: "titleText"; type: "string" }
1463 Property { name: "titleText"; type: "string" }
1464 Property { name: "titlePen"; type: "QPen" }
1464 Property { name: "titlePen"; type: "QPen" }
1465 Property { name: "titleBrush"; type: "QBrush" }
1465 Property { name: "titleBrush"; type: "QBrush" }
1466 Property { name: "titleVisible"; type: "bool" }
1466 Property { name: "titleVisible"; type: "bool" }
1467 Property { name: "titleFont"; type: "QFont" }
1467 Property { name: "titleFont"; type: "QFont" }
1468 Property { name: "orientation"; type: "Qt::Orientation"; isReadonly: true }
1468 Property { name: "orientation"; type: "Qt::Orientation"; isReadonly: true }
1469 Property { name: "alignment"; type: "Qt::Alignment"; isReadonly: true }
1469 Property { name: "alignment"; type: "Qt::Alignment"; isReadonly: true }
1470 Signal {
1470 Signal {
1471 name: "visibleChanged"
1471 name: "visibleChanged"
1472 Parameter { name: "visible"; type: "bool" }
1472 Parameter { name: "visible"; type: "bool" }
1473 }
1473 }
1474 Signal {
1474 Signal {
1475 name: "linePenChanged"
1475 name: "linePenChanged"
1476 Parameter { name: "pen"; type: "QPen" }
1476 Parameter { name: "pen"; type: "QPen" }
1477 }
1477 }
1478 Signal {
1478 Signal {
1479 name: "lineVisibleChanged"
1479 name: "lineVisibleChanged"
1480 Parameter { name: "visible"; type: "bool" }
1480 Parameter { name: "visible"; type: "bool" }
1481 }
1481 }
1482 Signal {
1482 Signal {
1483 name: "labelsVisibleChanged"
1483 name: "labelsVisibleChanged"
1484 Parameter { name: "visible"; type: "bool" }
1484 Parameter { name: "visible"; type: "bool" }
1485 }
1485 }
1486 Signal {
1486 Signal {
1487 name: "labelsPenChanged"
1487 name: "labelsPenChanged"
1488 Parameter { name: "pen"; type: "QPen" }
1488 Parameter { name: "pen"; type: "QPen" }
1489 }
1489 }
1490 Signal {
1490 Signal {
1491 name: "labelsBrushChanged"
1491 name: "labelsBrushChanged"
1492 Parameter { name: "brush"; type: "QBrush" }
1492 Parameter { name: "brush"; type: "QBrush" }
1493 }
1493 }
1494 Signal {
1494 Signal {
1495 name: "labelsFontChanged"
1495 name: "labelsFontChanged"
1496 Parameter { name: "pen"; type: "QFont" }
1496 Parameter { name: "pen"; type: "QFont" }
1497 }
1497 }
1498 Signal {
1498 Signal {
1499 name: "labelsAngleChanged"
1499 name: "labelsAngleChanged"
1500 Parameter { name: "angle"; type: "int" }
1500 Parameter { name: "angle"; type: "int" }
1501 }
1501 }
1502 Signal {
1502 Signal {
1503 name: "gridLinePenChanged"
1503 name: "gridLinePenChanged"
1504 Parameter { name: "pen"; type: "QPen" }
1504 Parameter { name: "pen"; type: "QPen" }
1505 }
1505 }
1506 Signal {
1506 Signal {
1507 name: "gridVisibleChanged"
1507 name: "gridVisibleChanged"
1508 Parameter { name: "visible"; type: "bool" }
1508 Parameter { name: "visible"; type: "bool" }
1509 }
1509 }
1510 Signal {
1510 Signal {
1511 name: "colorChanged"
1511 name: "colorChanged"
1512 Parameter { name: "color"; type: "QColor" }
1512 Parameter { name: "color"; type: "QColor" }
1513 }
1513 }
1514 Signal {
1514 Signal {
1515 name: "labelsColorChanged"
1515 name: "labelsColorChanged"
1516 Parameter { name: "color"; type: "QColor" }
1516 Parameter { name: "color"; type: "QColor" }
1517 }
1517 }
1518 Signal {
1518 Signal {
1519 name: "titleTextChanged"
1519 name: "titleTextChanged"
1520 Parameter { name: "title"; type: "string" }
1520 Parameter { name: "title"; type: "string" }
1521 }
1521 }
1522 Signal {
1522 Signal {
1523 name: "titlePenChanged"
1523 name: "titlePenChanged"
1524 Parameter { name: "pen"; type: "QPen" }
1524 Parameter { name: "pen"; type: "QPen" }
1525 }
1525 }
1526 Signal {
1526 Signal {
1527 name: "titleBrushChanged"
1527 name: "titleBrushChanged"
1528 Parameter { name: "brush"; type: "QBrush" }
1528 Parameter { name: "brush"; type: "QBrush" }
1529 }
1529 }
1530 Signal {
1530 Signal {
1531 name: "titleVisibleChanged"
1531 name: "titleVisibleChanged"
1532 Parameter { name: "visible"; type: "bool" }
1532 Parameter { name: "visible"; type: "bool" }
1533 }
1533 }
1534 Signal {
1534 Signal {
1535 name: "titleFontChanged"
1535 name: "titleFontChanged"
1536 Parameter { name: "font"; type: "QFont" }
1536 Parameter { name: "font"; type: "QFont" }
1537 }
1537 }
1538 Signal {
1538 Signal {
1539 name: "shadesVisibleChanged"
1539 name: "shadesVisibleChanged"
1540 Parameter { name: "visible"; type: "bool" }
1540 Parameter { name: "visible"; type: "bool" }
1541 }
1541 }
1542 Signal {
1542 Signal {
1543 name: "shadesColorChanged"
1543 name: "shadesColorChanged"
1544 Parameter { name: "color"; type: "QColor" }
1544 Parameter { name: "color"; type: "QColor" }
1545 }
1545 }
1546 Signal {
1546 Signal {
1547 name: "shadesBorderColorChanged"
1547 name: "shadesBorderColorChanged"
1548 Parameter { name: "color"; type: "QColor" }
1548 Parameter { name: "color"; type: "QColor" }
1549 }
1549 }
1550 Signal {
1550 Signal {
1551 name: "shadesPenChanged"
1551 name: "shadesPenChanged"
1552 Parameter { name: "pen"; type: "QPen" }
1552 Parameter { name: "pen"; type: "QPen" }
1553 }
1553 }
1554 Signal {
1554 Signal {
1555 name: "shadesBrushChanged"
1555 name: "shadesBrushChanged"
1556 Parameter { name: "brush"; type: "QBrush" }
1556 Parameter { name: "brush"; type: "QBrush" }
1557 }
1557 }
1558 }
1558 }
1559 Component {
1559 Component {
1560 name: "QtCommercialChart::QAbstractBarSeries"
1560 name: "QtCommercialChart::QAbstractBarSeries"
1561 prototype: "QtCommercialChart::QAbstractSeries"
1561 prototype: "QtCommercialChart::QAbstractSeries"
1562 exports: ["QtCommercial.Chart/AbstractBarSeries 1.0"]
1562 exports: ["QtCommercial.Chart/AbstractBarSeries 1.0"]
1563 exportMetaObjectRevisions: [0]
1563 exportMetaObjectRevisions: [0]
1564 Enum {
1564 Enum {
1565 name: "LabelsPosition"
1565 name: "LabelsPosition"
1566 values: {
1566 values: {
1567 "LabelsCenter": 0,
1567 "LabelsCenter": 0,
1568 "LabelsInsideEnd": 1,
1568 "LabelsInsideEnd": 1,
1569 "LabelsInsideBase": 2,
1569 "LabelsInsideBase": 2,
1570 "LabelsOutsideEnd": 3
1570 "LabelsOutsideEnd": 3
1571 }
1571 }
1572 }
1572 }
1573 Property { name: "barWidth"; type: "double" }
1573 Property { name: "barWidth"; type: "double" }
1574 Property { name: "count"; type: "int"; isReadonly: true }
1574 Property { name: "count"; type: "int"; isReadonly: true }
1575 Property { name: "labelsVisible"; type: "bool" }
1575 Property { name: "labelsVisible"; type: "bool" }
1576 Property { name: "labelsFormat"; type: "string" }
1576 Property { name: "labelsFormat"; type: "string" }
1577 Property { name: "labelsPosition"; type: "LabelsPosition" }
1577 Property { name: "labelsPosition"; type: "LabelsPosition" }
1578 Signal {
1578 Signal {
1579 name: "clicked"
1579 name: "clicked"
1580 Parameter { name: "index"; type: "int" }
1580 Parameter { name: "index"; type: "int" }
1581 Parameter { name: "barset"; type: "QBarSet"; isPointer: true }
1581 Parameter { name: "barset"; type: "QBarSet"; isPointer: true }
1582 }
1582 }
1583 Signal {
1583 Signal {
1584 name: "hovered"
1584 name: "hovered"
1585 Parameter { name: "status"; type: "bool" }
1585 Parameter { name: "status"; type: "bool" }
1586 Parameter { name: "barset"; type: "QBarSet"; isPointer: true }
1586 Parameter { name: "barset"; type: "QBarSet"; isPointer: true }
1587 }
1587 }
1588 Signal {
1588 Signal {
1589 name: "hovered"
1589 name: "hovered"
1590 Parameter { name: "status"; type: "bool" }
1590 Parameter { name: "status"; type: "bool" }
1591 Parameter { name: "index"; type: "int" }
1591 Parameter { name: "index"; type: "int" }
1592 Parameter { name: "barset"; type: "QBarSet"; isPointer: true }
1592 Parameter { name: "barset"; type: "QBarSet"; isPointer: true }
1593 }
1593 }
1594 Signal {
1594 Signal {
1595 name: "labelsFormatChanged"
1595 name: "labelsFormatChanged"
1596 Parameter { name: "format"; type: "string" }
1596 Parameter { name: "format"; type: "string" }
1597 }
1597 }
1598 Signal {
1598 Signal {
1599 name: "labelsPositionChanged"
1599 name: "labelsPositionChanged"
1600 Parameter { name: "position"; type: "QAbstractBarSeries::LabelsPosition" }
1600 Parameter { name: "position"; type: "QAbstractBarSeries::LabelsPosition" }
1601 }
1601 }
1602 Signal {
1602 Signal {
1603 name: "barsetsAdded"
1603 name: "barsetsAdded"
1604 Parameter { name: "sets"; type: "QList<QBarSet*>" }
1604 Parameter { name: "sets"; type: "QList<QBarSet*>" }
1605 }
1605 }
1606 Signal {
1606 Signal {
1607 name: "barsetsRemoved"
1607 name: "barsetsRemoved"
1608 Parameter { name: "sets"; type: "QList<QBarSet*>" }
1608 Parameter { name: "sets"; type: "QList<QBarSet*>" }
1609 }
1609 }
1610 }
1610 }
1611 Component {
1611 Component {
1612 name: "QtCommercialChart::QAbstractSeries"
1612 name: "QtCommercialChart::QAbstractSeries"
1613 prototype: "QObject"
1613 prototype: "QObject"
1614 exports: ["QtCommercial.Chart/AbstractSeries 1.0"]
1614 exports: ["QtCommercial.Chart/AbstractSeries 1.0"]
1615 exportMetaObjectRevisions: [0]
1615 exportMetaObjectRevisions: [0]
1616 Enum {
1616 Enum {
1617 name: "SeriesType"
1617 name: "SeriesType"
1618 values: {
1618 values: {
1619 "SeriesTypeLine": 0,
1619 "SeriesTypeLine": 0,
1620 "SeriesTypeArea": 1,
1620 "SeriesTypeArea": 1,
1621 "SeriesTypeBar": 2,
1621 "SeriesTypeBar": 2,
1622 "SeriesTypeStackedBar": 3,
1622 "SeriesTypeStackedBar": 3,
1623 "SeriesTypePercentBar": 4,
1623 "SeriesTypePercentBar": 4,
1624 "SeriesTypePie": 5,
1624 "SeriesTypePie": 5,
1625 "SeriesTypeScatter": 6,
1625 "SeriesTypeScatter": 6,
1626 "SeriesTypeSpline": 7,
1626 "SeriesTypeSpline": 7,
1627 "SeriesTypeHorizontalBar": 8,
1627 "SeriesTypeHorizontalBar": 8,
1628 "SeriesTypeHorizontalStackedBar": 9,
1628 "SeriesTypeHorizontalStackedBar": 9,
1629 "SeriesTypeHorizontalPercentBar": 10,
1629 "SeriesTypeHorizontalPercentBar": 10,
1630 "SeriesTypeBoxPlot": 11
1630 "SeriesTypeBoxPlot": 11
1631 }
1631 }
1632 }
1632 }
1633 Property { name: "name"; type: "string" }
1633 Property { name: "name"; type: "string" }
1634 Property { name: "visible"; type: "bool" }
1634 Property { name: "visible"; type: "bool" }
1635 Property { name: "opacity"; type: "double" }
1635 Property { name: "opacity"; type: "double" }
1636 Property { name: "type"; type: "SeriesType"; isReadonly: true }
1636 Property { name: "type"; type: "SeriesType"; isReadonly: true }
1637 }
1637 }
1638 Component {
1638 Component {
1639 name: "QtCommercialChart::QAreaSeries"
1639 name: "QtCommercialChart::QAreaSeries"
1640 prototype: "QtCommercialChart::QAbstractSeries"
1640 prototype: "QtCommercialChart::QAbstractSeries"
1641 Property { name: "upperSeries"; type: "QLineSeries"; isReadonly: true; isPointer: true }
1641 Property { name: "upperSeries"; type: "QLineSeries"; isReadonly: true; isPointer: true }
1642 Property { name: "lowerSeries"; type: "QLineSeries"; isReadonly: true; isPointer: true }
1642 Property { name: "lowerSeries"; type: "QLineSeries"; isReadonly: true; isPointer: true }
1643 Property { name: "color"; type: "QColor" }
1643 Property { name: "color"; type: "QColor" }
1644 Property { name: "borderColor"; type: "QColor" }
1644 Property { name: "borderColor"; type: "QColor" }
1645 Property { name: "pointLabelsFormat"; type: "string" }
1645 Property { name: "pointLabelsFormat"; type: "string" }
1646 Property { name: "pointLabelsVisible"; type: "bool" }
1646 Property { name: "pointLabelsVisible"; type: "bool" }
1647 Property { name: "pointLabelsFont"; type: "QFont" }
1647 Property { name: "pointLabelsFont"; type: "QFont" }
1648 Property { name: "pointLabelsColor"; type: "QColor" }
1648 Property { name: "pointLabelsColor"; type: "QColor" }
1649 Signal {
1649 Signal {
1650 name: "clicked"
1650 name: "clicked"
1651 Parameter { name: "point"; type: "QPointF" }
1651 Parameter { name: "point"; type: "QPointF" }
1652 }
1652 }
1653 Signal {
1653 Signal {
1654 name: "hovered"
1654 name: "hovered"
1655 Parameter { name: "point"; type: "QPointF" }
1655 Parameter { name: "point"; type: "QPointF" }
1656 Parameter { name: "state"; type: "bool" }
1656 Parameter { name: "state"; type: "bool" }
1657 }
1657 }
1658 Signal { name: "selected" }
1658 Signal { name: "selected" }
1659 Signal {
1659 Signal {
1660 name: "colorChanged"
1660 name: "colorChanged"
1661 Parameter { name: "color"; type: "QColor" }
1661 Parameter { name: "color"; type: "QColor" }
1662 }
1662 }
1663 Signal {
1663 Signal {
1664 name: "borderColorChanged"
1664 name: "borderColorChanged"
1665 Parameter { name: "color"; type: "QColor" }
1665 Parameter { name: "color"; type: "QColor" }
1666 }
1666 }
1667 Signal {
1667 Signal {
1668 name: "pointLabelsFormatChanged"
1668 name: "pointLabelsFormatChanged"
1669 Parameter { name: "format"; type: "string" }
1669 Parameter { name: "format"; type: "string" }
1670 }
1670 }
1671 Signal {
1671 Signal {
1672 name: "pointLabelsVisibilityChanged"
1672 name: "pointLabelsVisibilityChanged"
1673 Parameter { name: "visible"; type: "bool" }
1673 Parameter { name: "visible"; type: "bool" }
1674 }
1674 }
1675 Signal {
1675 Signal {
1676 name: "pointLabelsFontChanged"
1676 name: "pointLabelsFontChanged"
1677 Parameter { name: "font"; type: "QFont" }
1677 Parameter { name: "font"; type: "QFont" }
1678 }
1678 }
1679 Signal {
1679 Signal {
1680 name: "pointLabelsColorChanged"
1680 name: "pointLabelsColorChanged"
1681 Parameter { name: "color"; type: "QColor" }
1681 Parameter { name: "color"; type: "QColor" }
1682 }
1682 }
1683 }
1683 }
1684 Component {
1684 Component {
1685 name: "QtCommercialChart::QBarCategoryAxis"
1685 name: "QtCommercialChart::QBarCategoryAxis"
1686 prototype: "QtCommercialChart::QAbstractAxis"
1686 prototype: "QtCommercialChart::QAbstractAxis"
1687 exports: [
1687 exports: [
1688 "QtCommercial.Chart/BarCategoriesAxis 1.0",
1688 "QtCommercial.Chart/BarCategoriesAxis 1.0",
1689 "QtCommercial.Chart/BarCategoryAxis 1.1"
1689 "QtCommercial.Chart/BarCategoryAxis 1.1"
1690 ]
1690 ]
1691 exportMetaObjectRevisions: [0, 0]
1691 exportMetaObjectRevisions: [0, 0]
1692 Property { name: "categories"; type: "QStringList" }
1692 Property { name: "categories"; type: "QStringList" }
1693 Property { name: "min"; type: "string" }
1693 Property { name: "min"; type: "string" }
1694 Property { name: "max"; type: "string" }
1694 Property { name: "max"; type: "string" }
1695 Property { name: "count"; type: "int"; isReadonly: true }
1695 Property { name: "count"; type: "int"; isReadonly: true }
1696 Signal {
1696 Signal {
1697 name: "minChanged"
1697 name: "minChanged"
1698 Parameter { name: "min"; type: "string" }
1698 Parameter { name: "min"; type: "string" }
1699 }
1699 }
1700 Signal {
1700 Signal {
1701 name: "maxChanged"
1701 name: "maxChanged"
1702 Parameter { name: "max"; type: "string" }
1702 Parameter { name: "max"; type: "string" }
1703 }
1703 }
1704 Signal {
1704 Signal {
1705 name: "rangeChanged"
1705 name: "rangeChanged"
1706 Parameter { name: "min"; type: "string" }
1706 Parameter { name: "min"; type: "string" }
1707 Parameter { name: "max"; type: "string" }
1707 Parameter { name: "max"; type: "string" }
1708 }
1708 }
1709 Method { name: "clear" }
1709 }
1710 }
1710 Component {
1711 Component {
1711 name: "QtCommercialChart::QBarModelMapper"
1712 name: "QtCommercialChart::QBarModelMapper"
1712 prototype: "QObject"
1713 prototype: "QObject"
1713 exports: ["QtCommercial.Chart/BarModelMapper 1.0"]
1714 exports: ["QtCommercial.Chart/BarModelMapper 1.0"]
1714 exportMetaObjectRevisions: [0]
1715 exportMetaObjectRevisions: [0]
1715 }
1716 }
1716 Component {
1717 Component {
1717 name: "QtCommercialChart::QBarSeries"
1718 name: "QtCommercialChart::QBarSeries"
1718 prototype: "QtCommercialChart::QAbstractBarSeries"
1719 prototype: "QtCommercialChart::QAbstractBarSeries"
1719 }
1720 }
1720 Component {
1721 Component {
1721 name: "QtCommercialChart::QBarSet"
1722 name: "QtCommercialChart::QBarSet"
1722 prototype: "QObject"
1723 prototype: "QObject"
1723 exports: ["QtCommercial.Chart/BarSetBase 1.0"]
1724 exports: ["QtCommercial.Chart/BarSetBase 1.0"]
1724 exportMetaObjectRevisions: [0]
1725 exportMetaObjectRevisions: [0]
1725 Property { name: "label"; type: "string" }
1726 Property { name: "label"; type: "string" }
1726 Property { name: "pen"; type: "QPen" }
1727 Property { name: "pen"; type: "QPen" }
1727 Property { name: "brush"; type: "QBrush" }
1728 Property { name: "brush"; type: "QBrush" }
1728 Property { name: "labelBrush"; type: "QBrush" }
1729 Property { name: "labelBrush"; type: "QBrush" }
1729 Property { name: "labelFont"; type: "QFont" }
1730 Property { name: "labelFont"; type: "QFont" }
1730 Property { name: "color"; type: "QColor" }
1731 Property { name: "color"; type: "QColor" }
1731 Property { name: "borderColor"; type: "QColor" }
1732 Property { name: "borderColor"; type: "QColor" }
1732 Property { name: "labelColor"; type: "QColor" }
1733 Property { name: "labelColor"; type: "QColor" }
1733 Signal {
1734 Signal {
1734 name: "clicked"
1735 name: "clicked"
1735 Parameter { name: "index"; type: "int" }
1736 Parameter { name: "index"; type: "int" }
1736 }
1737 }
1737 Signal {
1738 Signal {
1738 name: "hovered"
1739 name: "hovered"
1739 Parameter { name: "status"; type: "bool" }
1740 Parameter { name: "status"; type: "bool" }
1740 }
1741 }
1741 Signal {
1742 Signal {
1742 name: "hovered"
1743 name: "hovered"
1743 Parameter { name: "status"; type: "bool" }
1744 Parameter { name: "status"; type: "bool" }
1744 Parameter { name: "index"; type: "int" }
1745 Parameter { name: "index"; type: "int" }
1745 }
1746 }
1746 Signal {
1747 Signal {
1747 name: "colorChanged"
1748 name: "colorChanged"
1748 Parameter { name: "color"; type: "QColor" }
1749 Parameter { name: "color"; type: "QColor" }
1749 }
1750 }
1750 Signal {
1751 Signal {
1751 name: "borderColorChanged"
1752 name: "borderColorChanged"
1752 Parameter { name: "color"; type: "QColor" }
1753 Parameter { name: "color"; type: "QColor" }
1753 }
1754 }
1754 Signal {
1755 Signal {
1755 name: "labelColorChanged"
1756 name: "labelColorChanged"
1756 Parameter { name: "color"; type: "QColor" }
1757 Parameter { name: "color"; type: "QColor" }
1757 }
1758 }
1758 Signal {
1759 Signal {
1759 name: "valuesAdded"
1760 name: "valuesAdded"
1760 Parameter { name: "index"; type: "int" }
1761 Parameter { name: "index"; type: "int" }
1761 Parameter { name: "count"; type: "int" }
1762 Parameter { name: "count"; type: "int" }
1762 }
1763 }
1763 Signal {
1764 Signal {
1764 name: "valuesRemoved"
1765 name: "valuesRemoved"
1765 Parameter { name: "index"; type: "int" }
1766 Parameter { name: "index"; type: "int" }
1766 Parameter { name: "count"; type: "int" }
1767 Parameter { name: "count"; type: "int" }
1767 }
1768 }
1768 Signal {
1769 Signal {
1769 name: "valueChanged"
1770 name: "valueChanged"
1770 Parameter { name: "index"; type: "int" }
1771 Parameter { name: "index"; type: "int" }
1771 }
1772 }
1772 }
1773 }
1773 Component {
1774 Component {
1774 name: "QtCommercialChart::QBoxPlotSeries"
1775 name: "QtCommercialChart::QBoxPlotSeries"
1775 prototype: "QtCommercialChart::QAbstractSeries"
1776 prototype: "QtCommercialChart::QAbstractSeries"
1776 Property { name: "boxOutlineVisible"; type: "bool" }
1777 Property { name: "boxOutlineVisible"; type: "bool" }
1777 Property { name: "boxWidth"; type: "double" }
1778 Property { name: "boxWidth"; type: "double" }
1778 Property { name: "pen"; type: "QPen" }
1779 Property { name: "pen"; type: "QPen" }
1779 Property { name: "brush"; type: "QBrush" }
1780 Property { name: "brush"; type: "QBrush" }
1780 Property { name: "count"; revision: 1; type: "int"; isReadonly: true }
1781 Property { name: "count"; revision: 1; type: "int"; isReadonly: true }
1781 Signal {
1782 Signal {
1782 name: "clicked"
1783 name: "clicked"
1783 Parameter { name: "boxset"; type: "QBoxSet"; isPointer: true }
1784 Parameter { name: "boxset"; type: "QBoxSet"; isPointer: true }
1784 }
1785 }
1785 Signal {
1786 Signal {
1786 name: "hovered"
1787 name: "hovered"
1787 Parameter { name: "status"; type: "bool" }
1788 Parameter { name: "status"; type: "bool" }
1788 Parameter { name: "boxset"; type: "QBoxSet"; isPointer: true }
1789 Parameter { name: "boxset"; type: "QBoxSet"; isPointer: true }
1789 }
1790 }
1790 Signal { name: "boxOutlineVisibilityChanged" }
1791 Signal { name: "boxOutlineVisibilityChanged" }
1791 Signal {
1792 Signal {
1792 name: "boxsetsAdded"
1793 name: "boxsetsAdded"
1793 Parameter { name: "sets"; type: "QList<QBoxSet*>" }
1794 Parameter { name: "sets"; type: "QList<QBoxSet*>" }
1794 }
1795 }
1795 Signal {
1796 Signal {
1796 name: "boxsetsRemoved"
1797 name: "boxsetsRemoved"
1797 Parameter { name: "sets"; type: "QList<QBoxSet*>" }
1798 Parameter { name: "sets"; type: "QList<QBoxSet*>" }
1798 }
1799 }
1799 }
1800 }
1800 Component {
1801 Component {
1801 name: "QtCommercialChart::QBoxSet"
1802 name: "QtCommercialChart::QBoxSet"
1802 prototype: "QObject"
1803 prototype: "QObject"
1803 Property { name: "pen"; type: "QPen" }
1804 Property { name: "pen"; type: "QPen" }
1804 Property { name: "brush"; type: "QBrush" }
1805 Property { name: "brush"; type: "QBrush" }
1805 Signal { name: "clicked" }
1806 Signal { name: "clicked" }
1806 Signal {
1807 Signal {
1807 name: "hovered"
1808 name: "hovered"
1808 Parameter { name: "status"; type: "bool" }
1809 Parameter { name: "status"; type: "bool" }
1809 }
1810 }
1810 Signal { name: "valuesChanged" }
1811 Signal { name: "valuesChanged" }
1811 Signal {
1812 Signal {
1812 name: "valueChanged"
1813 name: "valueChanged"
1813 Parameter { name: "index"; type: "int" }
1814 Parameter { name: "index"; type: "int" }
1814 }
1815 }
1815 Signal { name: "cleared" }
1816 Signal { name: "cleared" }
1816 }
1817 }
1817 Component {
1818 Component {
1818 name: "QtCommercialChart::QCategoryAxis"
1819 name: "QtCommercialChart::QCategoryAxis"
1819 prototype: "QtCommercialChart::QValueAxis"
1820 prototype: "QtCommercialChart::QValueAxis"
1820 Property { name: "startValue"; type: "double" }
1821 Property { name: "startValue"; type: "double" }
1821 Property { name: "count"; type: "int"; isReadonly: true }
1822 Property { name: "count"; type: "int"; isReadonly: true }
1822 Property { name: "categoriesLabels"; type: "QStringList"; isReadonly: true }
1823 Property { name: "categoriesLabels"; type: "QStringList"; isReadonly: true }
1823 Signal { name: "categoriesChanged" }
1824 Signal { name: "categoriesChanged" }
1824 }
1825 }
1825 Component {
1826 Component {
1826 name: "QtCommercialChart::QDateTimeAxis"
1827 name: "QtCommercialChart::QDateTimeAxis"
1827 prototype: "QtCommercialChart::QAbstractAxis"
1828 prototype: "QtCommercialChart::QAbstractAxis"
1828 exports: ["QtCommercial.Chart/DateTimeAxis 1.1"]
1829 exports: ["QtCommercial.Chart/DateTimeAxis 1.1"]
1829 exportMetaObjectRevisions: [0]
1830 exportMetaObjectRevisions: [0]
1830 Property { name: "tickCount"; type: "int" }
1831 Property { name: "tickCount"; type: "int" }
1831 Property { name: "min"; type: "QDateTime" }
1832 Property { name: "min"; type: "QDateTime" }
1832 Property { name: "max"; type: "QDateTime" }
1833 Property { name: "max"; type: "QDateTime" }
1833 Property { name: "format"; type: "string" }
1834 Property { name: "format"; type: "string" }
1834 Signal {
1835 Signal {
1835 name: "minChanged"
1836 name: "minChanged"
1836 Parameter { name: "min"; type: "QDateTime" }
1837 Parameter { name: "min"; type: "QDateTime" }
1837 }
1838 }
1838 Signal {
1839 Signal {
1839 name: "maxChanged"
1840 name: "maxChanged"
1840 Parameter { name: "max"; type: "QDateTime" }
1841 Parameter { name: "max"; type: "QDateTime" }
1841 }
1842 }
1842 Signal {
1843 Signal {
1843 name: "rangeChanged"
1844 name: "rangeChanged"
1844 Parameter { name: "min"; type: "QDateTime" }
1845 Parameter { name: "min"; type: "QDateTime" }
1845 Parameter { name: "max"; type: "QDateTime" }
1846 Parameter { name: "max"; type: "QDateTime" }
1846 }
1847 }
1847 Signal {
1848 Signal {
1848 name: "formatChanged"
1849 name: "formatChanged"
1849 Parameter { name: "format"; type: "string" }
1850 Parameter { name: "format"; type: "string" }
1850 }
1851 }
1851 Signal {
1852 Signal {
1852 name: "tickCountChanged"
1853 name: "tickCountChanged"
1853 Parameter { name: "tick"; type: "int" }
1854 Parameter { name: "tick"; type: "int" }
1854 }
1855 }
1855 }
1856 }
1856 Component {
1857 Component {
1857 name: "QtCommercialChart::QHBarModelMapper"
1858 name: "QtCommercialChart::QHBarModelMapper"
1858 prototype: "QtCommercialChart::QBarModelMapper"
1859 prototype: "QtCommercialChart::QBarModelMapper"
1859 exports: ["QtCommercial.Chart/HBarModelMapper 1.0"]
1860 exports: ["QtCommercial.Chart/HBarModelMapper 1.0"]
1860 exportMetaObjectRevisions: [0]
1861 exportMetaObjectRevisions: [0]
1861 Property { name: "series"; type: "QAbstractBarSeries"; isPointer: true }
1862 Property { name: "series"; type: "QAbstractBarSeries"; isPointer: true }
1862 Property { name: "model"; type: "QAbstractItemModel"; isPointer: true }
1863 Property { name: "model"; type: "QAbstractItemModel"; isPointer: true }
1863 Property { name: "firstBarSetRow"; type: "int" }
1864 Property { name: "firstBarSetRow"; type: "int" }
1864 Property { name: "lastBarSetRow"; type: "int" }
1865 Property { name: "lastBarSetRow"; type: "int" }
1865 Property { name: "firstColumn"; type: "int" }
1866 Property { name: "firstColumn"; type: "int" }
1866 Property { name: "columnCount"; type: "int" }
1867 Property { name: "columnCount"; type: "int" }
1867 Signal { name: "seriesReplaced" }
1868 Signal { name: "seriesReplaced" }
1868 Signal { name: "modelReplaced" }
1869 Signal { name: "modelReplaced" }
1869 }
1870 }
1870 Component {
1871 Component {
1871 name: "QtCommercialChart::QHPieModelMapper"
1872 name: "QtCommercialChart::QHPieModelMapper"
1872 prototype: "QtCommercialChart::QPieModelMapper"
1873 prototype: "QtCommercialChart::QPieModelMapper"
1873 exports: ["QtCommercial.Chart/HPieModelMapper 1.0"]
1874 exports: ["QtCommercial.Chart/HPieModelMapper 1.0"]
1874 exportMetaObjectRevisions: [0]
1875 exportMetaObjectRevisions: [0]
1875 Property { name: "series"; type: "QPieSeries"; isPointer: true }
1876 Property { name: "series"; type: "QPieSeries"; isPointer: true }
1876 Property { name: "model"; type: "QAbstractItemModel"; isPointer: true }
1877 Property { name: "model"; type: "QAbstractItemModel"; isPointer: true }
1877 Property { name: "valuesRow"; type: "int" }
1878 Property { name: "valuesRow"; type: "int" }
1878 Property { name: "labelsRow"; type: "int" }
1879 Property { name: "labelsRow"; type: "int" }
1879 Property { name: "firstColumn"; type: "int" }
1880 Property { name: "firstColumn"; type: "int" }
1880 Property { name: "columnCount"; type: "int" }
1881 Property { name: "columnCount"; type: "int" }
1881 Signal { name: "seriesReplaced" }
1882 Signal { name: "seriesReplaced" }
1882 Signal { name: "modelReplaced" }
1883 Signal { name: "modelReplaced" }
1883 }
1884 }
1884 Component {
1885 Component {
1885 name: "QtCommercialChart::QHXYModelMapper"
1886 name: "QtCommercialChart::QHXYModelMapper"
1886 prototype: "QtCommercialChart::QXYModelMapper"
1887 prototype: "QtCommercialChart::QXYModelMapper"
1887 exports: ["QtCommercial.Chart/HXYModelMapper 1.0"]
1888 exports: ["QtCommercial.Chart/HXYModelMapper 1.0"]
1888 exportMetaObjectRevisions: [0]
1889 exportMetaObjectRevisions: [0]
1889 Property { name: "series"; type: "QXYSeries"; isPointer: true }
1890 Property { name: "series"; type: "QXYSeries"; isPointer: true }
1890 Property { name: "model"; type: "QAbstractItemModel"; isPointer: true }
1891 Property { name: "model"; type: "QAbstractItemModel"; isPointer: true }
1891 Property { name: "xRow"; type: "int" }
1892 Property { name: "xRow"; type: "int" }
1892 Property { name: "yRow"; type: "int" }
1893 Property { name: "yRow"; type: "int" }
1893 Property { name: "firstColumn"; type: "int" }
1894 Property { name: "firstColumn"; type: "int" }
1894 Property { name: "columnCount"; type: "int" }
1895 Property { name: "columnCount"; type: "int" }
1895 Signal { name: "seriesReplaced" }
1896 Signal { name: "seriesReplaced" }
1896 Signal { name: "modelReplaced" }
1897 Signal { name: "modelReplaced" }
1897 }
1898 }
1898 Component {
1899 Component {
1899 name: "QtCommercialChart::QHorizontalBarSeries"
1900 name: "QtCommercialChart::QHorizontalBarSeries"
1900 prototype: "QtCommercialChart::QAbstractBarSeries"
1901 prototype: "QtCommercialChart::QAbstractBarSeries"
1901 }
1902 }
1902 Component {
1903 Component {
1903 name: "QtCommercialChart::QHorizontalPercentBarSeries"
1904 name: "QtCommercialChart::QHorizontalPercentBarSeries"
1904 prototype: "QtCommercialChart::QAbstractBarSeries"
1905 prototype: "QtCommercialChart::QAbstractBarSeries"
1905 }
1906 }
1906 Component {
1907 Component {
1907 name: "QtCommercialChart::QHorizontalStackedBarSeries"
1908 name: "QtCommercialChart::QHorizontalStackedBarSeries"
1908 prototype: "QtCommercialChart::QAbstractBarSeries"
1909 prototype: "QtCommercialChart::QAbstractBarSeries"
1909 }
1910 }
1910 Component {
1911 Component {
1911 name: "QtCommercialChart::QLegend"
1912 name: "QtCommercialChart::QLegend"
1912 defaultProperty: "children"
1913 defaultProperty: "children"
1913 prototype: "QGraphicsWidget"
1914 prototype: "QGraphicsWidget"
1914 exports: ["QtCommercial.Chart/Legend 1.0"]
1915 exports: ["QtCommercial.Chart/Legend 1.0"]
1915 exportMetaObjectRevisions: [0]
1916 exportMetaObjectRevisions: [0]
1916 Property { name: "alignment"; type: "Qt::Alignment" }
1917 Property { name: "alignment"; type: "Qt::Alignment" }
1917 Property { name: "backgroundVisible"; type: "bool" }
1918 Property { name: "backgroundVisible"; type: "bool" }
1918 Property { name: "color"; type: "QColor" }
1919 Property { name: "color"; type: "QColor" }
1919 Property { name: "borderColor"; type: "QColor" }
1920 Property { name: "borderColor"; type: "QColor" }
1920 Property { name: "font"; type: "QFont" }
1921 Property { name: "font"; type: "QFont" }
1921 Property { name: "labelColor"; type: "QColor" }
1922 Property { name: "labelColor"; type: "QColor" }
1922 Property { name: "reverseMarkers"; type: "bool" }
1923 Property { name: "reverseMarkers"; type: "bool" }
1923 Signal {
1924 Signal {
1924 name: "backgroundVisibleChanged"
1925 name: "backgroundVisibleChanged"
1925 Parameter { name: "visible"; type: "bool" }
1926 Parameter { name: "visible"; type: "bool" }
1926 }
1927 }
1927 Signal {
1928 Signal {
1928 name: "colorChanged"
1929 name: "colorChanged"
1929 Parameter { name: "color"; type: "QColor" }
1930 Parameter { name: "color"; type: "QColor" }
1930 }
1931 }
1931 Signal {
1932 Signal {
1932 name: "borderColorChanged"
1933 name: "borderColorChanged"
1933 Parameter { name: "color"; type: "QColor" }
1934 Parameter { name: "color"; type: "QColor" }
1934 }
1935 }
1935 Signal {
1936 Signal {
1936 name: "fontChanged"
1937 name: "fontChanged"
1937 Parameter { name: "font"; type: "QFont" }
1938 Parameter { name: "font"; type: "QFont" }
1938 }
1939 }
1939 Signal {
1940 Signal {
1940 name: "labelColorChanged"
1941 name: "labelColorChanged"
1941 Parameter { name: "color"; type: "QColor" }
1942 Parameter { name: "color"; type: "QColor" }
1942 }
1943 }
1943 Signal {
1944 Signal {
1944 name: "reverseMarkersChanged"
1945 name: "reverseMarkersChanged"
1945 Parameter { name: "reverseMarkers"; type: "bool" }
1946 Parameter { name: "reverseMarkers"; type: "bool" }
1946 }
1947 }
1947 }
1948 }
1948 Component { name: "QtCommercialChart::QLineSeries"; prototype: "QtCommercialChart::QXYSeries" }
1949 Component { name: "QtCommercialChart::QLineSeries"; prototype: "QtCommercialChart::QXYSeries" }
1949 Component {
1950 Component {
1950 name: "QtCommercialChart::QLogValueAxis"
1951 name: "QtCommercialChart::QLogValueAxis"
1951 prototype: "QtCommercialChart::QAbstractAxis"
1952 prototype: "QtCommercialChart::QAbstractAxis"
1952 exports: ["QtCommercial.Chart/LogValueAxis 1.3"]
1953 exports: ["QtCommercial.Chart/LogValueAxis 1.3"]
1953 exportMetaObjectRevisions: [0]
1954 exportMetaObjectRevisions: [0]
1954 Property { name: "min"; type: "double" }
1955 Property { name: "min"; type: "double" }
1955 Property { name: "max"; type: "double" }
1956 Property { name: "max"; type: "double" }
1956 Property { name: "labelFormat"; type: "string" }
1957 Property { name: "labelFormat"; type: "string" }
1957 Property { name: "base"; type: "double" }
1958 Property { name: "base"; type: "double" }
1958 Signal {
1959 Signal {
1959 name: "minChanged"
1960 name: "minChanged"
1960 Parameter { name: "min"; type: "double" }
1961 Parameter { name: "min"; type: "double" }
1961 }
1962 }
1962 Signal {
1963 Signal {
1963 name: "maxChanged"
1964 name: "maxChanged"
1964 Parameter { name: "max"; type: "double" }
1965 Parameter { name: "max"; type: "double" }
1965 }
1966 }
1966 Signal {
1967 Signal {
1967 name: "rangeChanged"
1968 name: "rangeChanged"
1968 Parameter { name: "min"; type: "double" }
1969 Parameter { name: "min"; type: "double" }
1969 Parameter { name: "max"; type: "double" }
1970 Parameter { name: "max"; type: "double" }
1970 }
1971 }
1971 Signal {
1972 Signal {
1972 name: "labelFormatChanged"
1973 name: "labelFormatChanged"
1973 Parameter { name: "format"; type: "string" }
1974 Parameter { name: "format"; type: "string" }
1974 }
1975 }
1975 Signal {
1976 Signal {
1976 name: "baseChanged"
1977 name: "baseChanged"
1977 Parameter { name: "base"; type: "double" }
1978 Parameter { name: "base"; type: "double" }
1978 }
1979 }
1979 }
1980 }
1980 Component {
1981 Component {
1981 name: "QtCommercialChart::QPercentBarSeries"
1982 name: "QtCommercialChart::QPercentBarSeries"
1982 prototype: "QtCommercialChart::QAbstractBarSeries"
1983 prototype: "QtCommercialChart::QAbstractBarSeries"
1983 }
1984 }
1984 Component {
1985 Component {
1985 name: "QtCommercialChart::QPieModelMapper"
1986 name: "QtCommercialChart::QPieModelMapper"
1986 prototype: "QObject"
1987 prototype: "QObject"
1987 exports: ["QtCommercial.Chart/PieModelMapper 1.0"]
1988 exports: ["QtCommercial.Chart/PieModelMapper 1.0"]
1988 exportMetaObjectRevisions: [0]
1989 exportMetaObjectRevisions: [0]
1989 }
1990 }
1990 Component {
1991 Component {
1991 name: "QtCommercialChart::QPieSeries"
1992 name: "QtCommercialChart::QPieSeries"
1992 prototype: "QtCommercialChart::QAbstractSeries"
1993 prototype: "QtCommercialChart::QAbstractSeries"
1993 exports: ["QtCommercial.Chart/QPieSeries 1.0"]
1994 exports: ["QtCommercial.Chart/QPieSeries 1.0"]
1994 exportMetaObjectRevisions: [0]
1995 exportMetaObjectRevisions: [0]
1995 Property { name: "horizontalPosition"; type: "double" }
1996 Property { name: "horizontalPosition"; type: "double" }
1996 Property { name: "verticalPosition"; type: "double" }
1997 Property { name: "verticalPosition"; type: "double" }
1997 Property { name: "size"; type: "double" }
1998 Property { name: "size"; type: "double" }
1998 Property { name: "startAngle"; type: "double" }
1999 Property { name: "startAngle"; type: "double" }
1999 Property { name: "endAngle"; type: "double" }
2000 Property { name: "endAngle"; type: "double" }
2000 Property { name: "count"; type: "int"; isReadonly: true }
2001 Property { name: "count"; type: "int"; isReadonly: true }
2001 Property { name: "sum"; type: "double"; isReadonly: true }
2002 Property { name: "sum"; type: "double"; isReadonly: true }
2002 Property { name: "holeSize"; type: "double" }
2003 Property { name: "holeSize"; type: "double" }
2003 Signal {
2004 Signal {
2004 name: "added"
2005 name: "added"
2005 Parameter { name: "slices"; type: "QList<QPieSlice*>" }
2006 Parameter { name: "slices"; type: "QList<QPieSlice*>" }
2006 }
2007 }
2007 Signal {
2008 Signal {
2008 name: "removed"
2009 name: "removed"
2009 Parameter { name: "slices"; type: "QList<QPieSlice*>" }
2010 Parameter { name: "slices"; type: "QList<QPieSlice*>" }
2010 }
2011 }
2011 Signal {
2012 Signal {
2012 name: "clicked"
2013 name: "clicked"
2013 Parameter { name: "slice"; type: "QPieSlice"; isPointer: true }
2014 Parameter { name: "slice"; type: "QPieSlice"; isPointer: true }
2014 }
2015 }
2015 Signal {
2016 Signal {
2016 name: "hovered"
2017 name: "hovered"
2017 Parameter { name: "slice"; type: "QPieSlice"; isPointer: true }
2018 Parameter { name: "slice"; type: "QPieSlice"; isPointer: true }
2018 Parameter { name: "state"; type: "bool" }
2019 Parameter { name: "state"; type: "bool" }
2019 }
2020 }
2020 }
2021 }
2021 Component {
2022 Component {
2022 name: "QtCommercialChart::QPieSlice"
2023 name: "QtCommercialChart::QPieSlice"
2023 prototype: "QObject"
2024 prototype: "QObject"
2024 exports: ["QtCommercial.Chart/PieSlice 1.0"]
2025 exports: ["QtCommercial.Chart/PieSlice 1.0"]
2025 exportMetaObjectRevisions: [0]
2026 exportMetaObjectRevisions: [0]
2026 Enum {
2027 Enum {
2027 name: "LabelPosition"
2028 name: "LabelPosition"
2028 values: {
2029 values: {
2029 "LabelOutside": 0,
2030 "LabelOutside": 0,
2030 "LabelInsideHorizontal": 1,
2031 "LabelInsideHorizontal": 1,
2031 "LabelInsideTangential": 2,
2032 "LabelInsideTangential": 2,
2032 "LabelInsideNormal": 3
2033 "LabelInsideNormal": 3
2033 }
2034 }
2034 }
2035 }
2035 Property { name: "label"; type: "string" }
2036 Property { name: "label"; type: "string" }
2036 Property { name: "value"; type: "double" }
2037 Property { name: "value"; type: "double" }
2037 Property { name: "labelVisible"; type: "bool" }
2038 Property { name: "labelVisible"; type: "bool" }
2038 Property { name: "labelPosition"; type: "LabelPosition" }
2039 Property { name: "labelPosition"; type: "LabelPosition" }
2039 Property { name: "exploded"; type: "bool" }
2040 Property { name: "exploded"; type: "bool" }
2040 Property { name: "pen"; type: "QPen" }
2041 Property { name: "pen"; type: "QPen" }
2041 Property { name: "borderColor"; type: "QColor" }
2042 Property { name: "borderColor"; type: "QColor" }
2042 Property { name: "borderWidth"; type: "int" }
2043 Property { name: "borderWidth"; type: "int" }
2043 Property { name: "brush"; type: "QBrush" }
2044 Property { name: "brush"; type: "QBrush" }
2044 Property { name: "color"; type: "QColor" }
2045 Property { name: "color"; type: "QColor" }
2045 Property { name: "labelBrush"; type: "QBrush" }
2046 Property { name: "labelBrush"; type: "QBrush" }
2046 Property { name: "labelColor"; type: "QColor" }
2047 Property { name: "labelColor"; type: "QColor" }
2047 Property { name: "labelFont"; type: "QFont" }
2048 Property { name: "labelFont"; type: "QFont" }
2048 Property { name: "labelArmLengthFactor"; type: "double" }
2049 Property { name: "labelArmLengthFactor"; type: "double" }
2049 Property { name: "explodeDistanceFactor"; type: "double" }
2050 Property { name: "explodeDistanceFactor"; type: "double" }
2050 Property { name: "percentage"; type: "double"; isReadonly: true }
2051 Property { name: "percentage"; type: "double"; isReadonly: true }
2051 Property { name: "startAngle"; type: "double"; isReadonly: true }
2052 Property { name: "startAngle"; type: "double"; isReadonly: true }
2052 Property { name: "angleSpan"; type: "double"; isReadonly: true }
2053 Property { name: "angleSpan"; type: "double"; isReadonly: true }
2053 Signal { name: "clicked" }
2054 Signal { name: "clicked" }
2054 Signal {
2055 Signal {
2055 name: "hovered"
2056 name: "hovered"
2056 Parameter { name: "state"; type: "bool" }
2057 Parameter { name: "state"; type: "bool" }
2057 }
2058 }
2058 }
2059 }
2059 Component {
2060 Component {
2060 name: "QtCommercialChart::QScatterSeries"
2061 name: "QtCommercialChart::QScatterSeries"
2061 prototype: "QtCommercialChart::QXYSeries"
2062 prototype: "QtCommercialChart::QXYSeries"
2062 Enum {
2063 Enum {
2063 name: "MarkerShape"
2064 name: "MarkerShape"
2064 values: {
2065 values: {
2065 "MarkerShapeCircle": 0,
2066 "MarkerShapeCircle": 0,
2066 "MarkerShapeRectangle": 1
2067 "MarkerShapeRectangle": 1
2067 }
2068 }
2068 }
2069 }
2069 Property { name: "color"; type: "QColor" }
2070 Property { name: "color"; type: "QColor" }
2070 Property { name: "borderColor"; type: "QColor" }
2071 Property { name: "borderColor"; type: "QColor" }
2071 Property { name: "markerShape"; type: "MarkerShape" }
2072 Property { name: "markerShape"; type: "MarkerShape" }
2072 Property { name: "markerSize"; type: "double" }
2073 Property { name: "markerSize"; type: "double" }
2073 Property { name: "brush"; type: "QBrush" }
2074 Property { name: "brush"; type: "QBrush" }
2074 Signal {
2075 Signal {
2075 name: "colorChanged"
2076 name: "colorChanged"
2076 Parameter { name: "color"; type: "QColor" }
2077 Parameter { name: "color"; type: "QColor" }
2077 }
2078 }
2078 Signal {
2079 Signal {
2079 name: "borderColorChanged"
2080 name: "borderColorChanged"
2080 Parameter { name: "color"; type: "QColor" }
2081 Parameter { name: "color"; type: "QColor" }
2081 }
2082 }
2082 }
2083 }
2083 Component {
2084 Component {
2084 name: "QtCommercialChart::QSplineSeries"
2085 name: "QtCommercialChart::QSplineSeries"
2085 prototype: "QtCommercialChart::QLineSeries"
2086 prototype: "QtCommercialChart::QLineSeries"
2086 }
2087 }
2087 Component {
2088 Component {
2088 name: "QtCommercialChart::QStackedBarSeries"
2089 name: "QtCommercialChart::QStackedBarSeries"
2089 prototype: "QtCommercialChart::QAbstractBarSeries"
2090 prototype: "QtCommercialChart::QAbstractBarSeries"
2090 }
2091 }
2091 Component {
2092 Component {
2092 name: "QtCommercialChart::QVBarModelMapper"
2093 name: "QtCommercialChart::QVBarModelMapper"
2093 prototype: "QtCommercialChart::QBarModelMapper"
2094 prototype: "QtCommercialChart::QBarModelMapper"
2094 exports: ["QtCommercial.Chart/VBarModelMapper 1.0"]
2095 exports: ["QtCommercial.Chart/VBarModelMapper 1.0"]
2095 exportMetaObjectRevisions: [0]
2096 exportMetaObjectRevisions: [0]
2096 Property { name: "series"; type: "QAbstractBarSeries"; isPointer: true }
2097 Property { name: "series"; type: "QAbstractBarSeries"; isPointer: true }
2097 Property { name: "model"; type: "QAbstractItemModel"; isPointer: true }
2098 Property { name: "model"; type: "QAbstractItemModel"; isPointer: true }
2098 Property { name: "firstBarSetColumn"; type: "int" }
2099 Property { name: "firstBarSetColumn"; type: "int" }
2099 Property { name: "lastBarSetColumn"; type: "int" }
2100 Property { name: "lastBarSetColumn"; type: "int" }
2100 Property { name: "firstRow"; type: "int" }
2101 Property { name: "firstRow"; type: "int" }
2101 Property { name: "rowCount"; type: "int" }
2102 Property { name: "rowCount"; type: "int" }
2102 Signal { name: "seriesReplaced" }
2103 Signal { name: "seriesReplaced" }
2103 Signal { name: "modelReplaced" }
2104 Signal { name: "modelReplaced" }
2104 }
2105 }
2105 Component {
2106 Component {
2106 name: "QtCommercialChart::QVPieModelMapper"
2107 name: "QtCommercialChart::QVPieModelMapper"
2107 prototype: "QtCommercialChart::QPieModelMapper"
2108 prototype: "QtCommercialChart::QPieModelMapper"
2108 exports: ["QtCommercial.Chart/VPieModelMapper 1.0"]
2109 exports: ["QtCommercial.Chart/VPieModelMapper 1.0"]
2109 exportMetaObjectRevisions: [0]
2110 exportMetaObjectRevisions: [0]
2110 Property { name: "series"; type: "QPieSeries"; isPointer: true }
2111 Property { name: "series"; type: "QPieSeries"; isPointer: true }
2111 Property { name: "model"; type: "QAbstractItemModel"; isPointer: true }
2112 Property { name: "model"; type: "QAbstractItemModel"; isPointer: true }
2112 Property { name: "valuesColumn"; type: "int" }
2113 Property { name: "valuesColumn"; type: "int" }
2113 Property { name: "labelsColumn"; type: "int" }
2114 Property { name: "labelsColumn"; type: "int" }
2114 Property { name: "firstRow"; type: "int" }
2115 Property { name: "firstRow"; type: "int" }
2115 Property { name: "rowCount"; type: "int" }
2116 Property { name: "rowCount"; type: "int" }
2116 Signal { name: "seriesReplaced" }
2117 Signal { name: "seriesReplaced" }
2117 Signal { name: "modelReplaced" }
2118 Signal { name: "modelReplaced" }
2118 }
2119 }
2119 Component {
2120 Component {
2120 name: "QtCommercialChart::QVXYModelMapper"
2121 name: "QtCommercialChart::QVXYModelMapper"
2121 prototype: "QtCommercialChart::QXYModelMapper"
2122 prototype: "QtCommercialChart::QXYModelMapper"
2122 exports: ["QtCommercial.Chart/VXYModelMapper 1.0"]
2123 exports: ["QtCommercial.Chart/VXYModelMapper 1.0"]
2123 exportMetaObjectRevisions: [0]
2124 exportMetaObjectRevisions: [0]
2124 Property { name: "series"; type: "QXYSeries"; isPointer: true }
2125 Property { name: "series"; type: "QXYSeries"; isPointer: true }
2125 Property { name: "model"; type: "QAbstractItemModel"; isPointer: true }
2126 Property { name: "model"; type: "QAbstractItemModel"; isPointer: true }
2126 Property { name: "xColumn"; type: "int" }
2127 Property { name: "xColumn"; type: "int" }
2127 Property { name: "yColumn"; type: "int" }
2128 Property { name: "yColumn"; type: "int" }
2128 Property { name: "firstRow"; type: "int" }
2129 Property { name: "firstRow"; type: "int" }
2129 Property { name: "rowCount"; type: "int" }
2130 Property { name: "rowCount"; type: "int" }
2130 Signal { name: "seriesReplaced" }
2131 Signal { name: "seriesReplaced" }
2131 Signal { name: "modelReplaced" }
2132 Signal { name: "modelReplaced" }
2132 }
2133 }
2133 Component {
2134 Component {
2134 name: "QtCommercialChart::QValueAxis"
2135 name: "QtCommercialChart::QValueAxis"
2135 prototype: "QtCommercialChart::QAbstractAxis"
2136 prototype: "QtCommercialChart::QAbstractAxis"
2136 exports: [
2137 exports: [
2137 "QtCommercial.Chart/ValueAxis 1.1",
2138 "QtCommercial.Chart/ValueAxis 1.1",
2138 "QtCommercial.Chart/ValuesAxis 1.0"
2139 "QtCommercial.Chart/ValuesAxis 1.0"
2139 ]
2140 ]
2140 exportMetaObjectRevisions: [0, 0]
2141 exportMetaObjectRevisions: [0, 0]
2141 Property { name: "tickCount"; type: "int" }
2142 Property { name: "tickCount"; type: "int" }
2142 Property { name: "niceNumbersEnabled"; type: "bool" }
2143 Property { name: "niceNumbersEnabled"; type: "bool" }
2143 Property { name: "min"; type: "double" }
2144 Property { name: "min"; type: "double" }
2144 Property { name: "max"; type: "double" }
2145 Property { name: "max"; type: "double" }
2145 Property { name: "labelFormat"; type: "string" }
2146 Property { name: "labelFormat"; type: "string" }
2146 Signal {
2147 Signal {
2147 name: "minChanged"
2148 name: "minChanged"
2148 Parameter { name: "min"; type: "double" }
2149 Parameter { name: "min"; type: "double" }
2149 }
2150 }
2150 Signal {
2151 Signal {
2151 name: "maxChanged"
2152 name: "maxChanged"
2152 Parameter { name: "max"; type: "double" }
2153 Parameter { name: "max"; type: "double" }
2153 }
2154 }
2154 Signal {
2155 Signal {
2155 name: "rangeChanged"
2156 name: "rangeChanged"
2156 Parameter { name: "min"; type: "double" }
2157 Parameter { name: "min"; type: "double" }
2157 Parameter { name: "max"; type: "double" }
2158 Parameter { name: "max"; type: "double" }
2158 }
2159 }
2159 Signal {
2160 Signal {
2160 name: "tickCountChanged"
2161 name: "tickCountChanged"
2161 Parameter { name: "tickCount"; type: "int" }
2162 Parameter { name: "tickCount"; type: "int" }
2162 }
2163 }
2163 Signal {
2164 Signal {
2164 name: "labelFormatChanged"
2165 name: "labelFormatChanged"
2165 Parameter { name: "format"; type: "string" }
2166 Parameter { name: "format"; type: "string" }
2166 }
2167 }
2167 Method { name: "applyNiceNumbers" }
2168 Method { name: "applyNiceNumbers" }
2168 }
2169 }
2169 Component {
2170 Component {
2170 name: "QtCommercialChart::QXYModelMapper"
2171 name: "QtCommercialChart::QXYModelMapper"
2171 prototype: "QObject"
2172 prototype: "QObject"
2172 exports: ["QtCommercial.Chart/XYModelMapper 1.0"]
2173 exports: ["QtCommercial.Chart/XYModelMapper 1.0"]
2173 exportMetaObjectRevisions: [0]
2174 exportMetaObjectRevisions: [0]
2174 }
2175 }
2175 Component {
2176 Component {
2176 name: "QtCommercialChart::QXYSeries"
2177 name: "QtCommercialChart::QXYSeries"
2177 prototype: "QtCommercialChart::QAbstractSeries"
2178 prototype: "QtCommercialChart::QAbstractSeries"
2178 exports: ["QtCommercial.Chart/XYSeries 1.0"]
2179 exports: ["QtCommercial.Chart/XYSeries 1.0"]
2179 exportMetaObjectRevisions: [0]
2180 exportMetaObjectRevisions: [0]
2180 Property { name: "pointsVisible"; type: "bool" }
2181 Property { name: "pointsVisible"; type: "bool" }
2181 Property { name: "color"; type: "QColor" }
2182 Property { name: "color"; type: "QColor" }
2182 Property { name: "pointLabelsFormat"; type: "string" }
2183 Property { name: "pointLabelsFormat"; type: "string" }
2183 Property { name: "pointLabelsVisible"; type: "bool" }
2184 Property { name: "pointLabelsVisible"; type: "bool" }
2184 Property { name: "pointLabelsFont"; type: "QFont" }
2185 Property { name: "pointLabelsFont"; type: "QFont" }
2185 Property { name: "pointLabelsColor"; type: "QColor" }
2186 Property { name: "pointLabelsColor"; type: "QColor" }
2186 Signal {
2187 Signal {
2187 name: "clicked"
2188 name: "clicked"
2188 Parameter { name: "point"; type: "QPointF" }
2189 Parameter { name: "point"; type: "QPointF" }
2189 }
2190 }
2190 Signal {
2191 Signal {
2191 name: "hovered"
2192 name: "hovered"
2192 Parameter { name: "point"; type: "QPointF" }
2193 Parameter { name: "point"; type: "QPointF" }
2193 Parameter { name: "state"; type: "bool" }
2194 Parameter { name: "state"; type: "bool" }
2194 }
2195 }
2195 Signal {
2196 Signal {
2196 name: "pointReplaced"
2197 name: "pointReplaced"
2197 Parameter { name: "index"; type: "int" }
2198 Parameter { name: "index"; type: "int" }
2198 }
2199 }
2199 Signal {
2200 Signal {
2200 name: "pointRemoved"
2201 name: "pointRemoved"
2201 Parameter { name: "index"; type: "int" }
2202 Parameter { name: "index"; type: "int" }
2202 }
2203 }
2203 Signal {
2204 Signal {
2204 name: "pointAdded"
2205 name: "pointAdded"
2205 Parameter { name: "index"; type: "int" }
2206 Parameter { name: "index"; type: "int" }
2206 }
2207 }
2207 Signal {
2208 Signal {
2208 name: "colorChanged"
2209 name: "colorChanged"
2209 Parameter { name: "color"; type: "QColor" }
2210 Parameter { name: "color"; type: "QColor" }
2210 }
2211 }
2211 Signal { name: "pointsReplaced" }
2212 Signal { name: "pointsReplaced" }
2212 Signal {
2213 Signal {
2213 name: "pointLabelsFormatChanged"
2214 name: "pointLabelsFormatChanged"
2214 Parameter { name: "format"; type: "string" }
2215 Parameter { name: "format"; type: "string" }
2215 }
2216 }
2216 Signal {
2217 Signal {
2217 name: "pointLabelsVisibilityChanged"
2218 name: "pointLabelsVisibilityChanged"
2218 Parameter { name: "visible"; type: "bool" }
2219 Parameter { name: "visible"; type: "bool" }
2219 }
2220 }
2220 Signal {
2221 Signal {
2221 name: "pointLabelsFontChanged"
2222 name: "pointLabelsFontChanged"
2222 Parameter { name: "font"; type: "QFont" }
2223 Parameter { name: "font"; type: "QFont" }
2223 }
2224 }
2224 Signal {
2225 Signal {
2225 name: "pointLabelsColorChanged"
2226 name: "pointLabelsColorChanged"
2226 Parameter { name: "color"; type: "QColor" }
2227 Parameter { name: "color"; type: "QColor" }
2227 }
2228 }
2228 }
2229 }
2229 }
2230 }
@@ -1,607 +1,612
1 /****************************************************************************
1 /****************************************************************************
2 **
2 **
3 ** Copyright (C) 2014 Digia Plc
3 ** Copyright (C) 2014 Digia Plc
4 ** All rights reserved.
4 ** All rights reserved.
5 ** For any questions to Digia, please use contact form at http://qt.digia.com
5 ** For any questions to Digia, please use contact form at http://qt.digia.com
6 **
6 **
7 ** This file is part of the Qt Enterprise Charts Add-on.
7 ** This file is part of the Qt Enterprise Charts Add-on.
8 **
8 **
9 ** $QT_BEGIN_LICENSE$
9 ** $QT_BEGIN_LICENSE$
10 ** Licensees holding valid Qt Enterprise licenses may use this file in
10 ** Licensees holding valid Qt Enterprise licenses may use this file in
11 ** accordance with the Qt Enterprise License Agreement provided with the
11 ** accordance with the Qt Enterprise License Agreement provided with the
12 ** Software or, alternatively, in accordance with the terms contained in
12 ** Software or, alternatively, in accordance with the terms contained in
13 ** a written agreement between you and Digia.
13 ** a written agreement between you and Digia.
14 **
14 **
15 ** If you have questions regarding the use of this file, please use
15 ** If you have questions regarding the use of this file, please use
16 ** contact form at http://qt.digia.com
16 ** contact form at http://qt.digia.com
17 ** $QT_END_LICENSE$
17 ** $QT_END_LICENSE$
18 **
18 **
19 ****************************************************************************/
19 ****************************************************************************/
20
20
21 #include "qbarcategoryaxis.h"
21 #include "qbarcategoryaxis.h"
22 #include "qbarcategoryaxis_p.h"
22 #include "qbarcategoryaxis_p.h"
23 #include "chartbarcategoryaxisx_p.h"
23 #include "chartbarcategoryaxisx_p.h"
24 #include "chartbarcategoryaxisy_p.h"
24 #include "chartbarcategoryaxisy_p.h"
25 #include "abstractdomain_p.h"
25 #include "abstractdomain_p.h"
26 #include "qchart.h"
26 #include "qchart.h"
27 #include <qmath.h>
27 #include <qmath.h>
28
28
29 QTCOMMERCIALCHART_BEGIN_NAMESPACE
29 QTCOMMERCIALCHART_BEGIN_NAMESPACE
30 /*!
30 /*!
31 \class QBarCategoryAxis
31 \class QBarCategoryAxis
32 \inmodule Qt Charts
32 \inmodule Qt Charts
33 \brief The QBarCategoryAxis class is used for manipulating chart's axis.
33 \brief The QBarCategoryAxis class is used for manipulating chart's axis.
34 \mainclass
34 \mainclass
35
35
36 BarCategoryAxis can be setup to show axis line with tick marks, grid lines and shades.
36 QBarCategoryAxis can be setup to show axis line with tick marks, grid lines and shades.
37 Categories are drawn between ticks. Note that you can use this also with lineseries too.
37 Categories are drawn between ticks. Note that you can use this also with lineseries too.
38 See the \l {Line and BarChart Example} {Line and BarChart Example} to learn how to do that.
38 See the \l {Line and BarChart Example} {Line and BarChart Example} to learn how to do that.
39
39
40 Example code on how to use QBarCategoryAxis.
40 Example code on how to use QBarCategoryAxis.
41 \code
41 \code
42 QChartView *chartView = new QChartView;
42 QChartView *chartView = new QChartView;
43 QBarSeries *series = new QBarSeries;
43 QBarSeries *series = new QBarSeries;
44 // ...
44 // ...
45 chartView->chart()->addSeries(series);
45 chartView->chart()->addSeries(series);
46 chartView->chart()->createDefaultAxes();
46 chartView->chart()->createDefaultAxes();
47
47
48 QBarCategoryAxis *axisX = new QBarCategoryAxis;
48 QBarCategoryAxis *axisX = new QBarCategoryAxis;
49 QStringList categories;
49 QStringList categories;
50 categories << "Jan" << "Feb" << "Mar" << "Apr" << "May" << "Jun";
50 categories << "Jan" << "Feb" << "Mar" << "Apr" << "May" << "Jun";
51 axisX->append(categories);
51 axisX->append(categories);
52 axisX->setRange("Feb", "May");
52 axisX->setRange("Feb", "May");
53 chartView->chart()->setAxisX(axisX, series);
53 chartView->chart()->setAxisX(axisX, series);
54 \endcode
54 \endcode
55 */
55 */
56
56
57 #ifdef QDOC_QT5
57 #ifdef QDOC_QT5
58 /*!
58 /*!
59 \qmltype BarCategoryAxis
59 \qmltype BarCategoryAxis
60 \instantiates QBarCategoryAxis
60 \instantiates QBarCategoryAxis
61 \inqmlmodule QtCommercial.Chart
61 \inqmlmodule QtCommercial.Chart
62
62
63 \include doc/src/barcategoryaxis.qdocinc
63 \include doc/src/barcategoryaxis.qdocinc
64 */
64 */
65 #else
65 #else
66 /*!
66 /*!
67 \qmlclass BarCategoryAxis QBarCategoryAxis
67 \qmlclass BarCategoryAxis QBarCategoryAxis
68
68
69 \include ../doc/src/barcategoryaxis.qdocinc
69 \include ../doc/src/barcategoryaxis.qdocinc
70 */
70 */
71 #endif
71 #endif
72
72
73 /*!
73 /*!
74 \property QBarCategoryAxis::categories
74 \property QBarCategoryAxis::categories
75 Defines the categories of axis
75 Defines the categories of axis
76 */
76 */
77 /*!
77 /*!
78 \qmlproperty QStringList BarCategoryAxis::categories
78 \qmlproperty QStringList BarCategoryAxis::categories
79 Defines the categories of axis
79 Defines the categories of axis
80 */
80 */
81
81
82 /*!
82 /*!
83 \property QBarCategoryAxis::min
83 \property QBarCategoryAxis::min
84 Defines the minimum value on the axis.
84 Defines the minimum value on the axis.
85 */
85 */
86 /*!
86 /*!
87 \qmlproperty string BarCategoryAxis::min
87 \qmlproperty string BarCategoryAxis::min
88 Defines the minimum value on the axis.
88 Defines the minimum value on the axis.
89 */
89 */
90
90
91 /*!
91 /*!
92 \property QBarCategoryAxis::max
92 \property QBarCategoryAxis::max
93 Defines the maximum value on the axis.
93 Defines the maximum value on the axis.
94 */
94 */
95 /*!
95 /*!
96 \qmlproperty string BarCategoryAxis::max
96 \qmlproperty string BarCategoryAxis::max
97 Defines the maximum value on the axis.
97 Defines the maximum value on the axis.
98 */
98 */
99
99
100 /*!
100 /*!
101 \property QBarCategoryAxis::count
101 \property QBarCategoryAxis::count
102 The count of categories.
102 The count of categories.
103 */
103 */
104 /*!
104 /*!
105 \qmlproperty int BarCategoryAxis::count
105 \qmlproperty int BarCategoryAxis::count
106 The count of categories.
106 The count of categories.
107 */
107 */
108
108
109 /*!
109 /*!
110 \fn void QBarCategoryAxis::categoriesChanged()
110 \fn void QBarCategoryAxis::categoriesChanged()
111 Axis emits signal when the categories of the axis have changed.
111 Axis emits signal when the categories of the axis have changed.
112 */
112 */
113
113
114 /*!
114 /*!
115 \fn void QBarCategoryAxis::minChanged(const QString &min)
115 \fn void QBarCategoryAxis::minChanged(const QString &min)
116 Axis emits signal when \a min of axis has changed.
116 Axis emits signal when \a min of axis has changed.
117 */
117 */
118 /*!
118 /*!
119 \qmlsignal BarCategoryAxis::onMinChanged(const QString &min)
119 \qmlsignal BarCategoryAxis::onMinChanged(const QString &min)
120 Axis emits signal when \a min of axis has changed.
120 Axis emits signal when \a min of axis has changed.
121 */
121 */
122
122
123 /*!
123 /*!
124 \fn void QBarCategoryAxis::maxChanged(const QString &max)
124 \fn void QBarCategoryAxis::maxChanged(const QString &max)
125 Axis emits signal when \a max of axis has changed.
125 Axis emits signal when \a max of axis has changed.
126 */
126 */
127 /*!
127 /*!
128 \qmlsignal BarCategoryAxis::onMaxChanged(const QString &max)
128 \qmlsignal BarCategoryAxis::onMaxChanged(const QString &max)
129 Axis emits signal when \a max of axis has changed.
129 Axis emits signal when \a max of axis has changed.
130 */
130 */
131
131
132 /*!
132 /*!
133 \fn void QBarCategoryAxis::countChanged()
133 \fn void QBarCategoryAxis::countChanged()
134 Axis emits signal when the count of categories has changed.
134 Axis emits signal when the count of categories has changed.
135 */
135 */
136 /*!
136 /*!
137 \qmlsignal BarCategoryAxis::onCountChanged()
137 \qmlsignal BarCategoryAxis::onCountChanged()
138 Axis emits signal when the count of categories has changed.
138 Axis emits signal when the count of categories has changed.
139 */
139 */
140
140
141 /*!
141 /*!
142 \fn void QBarCategoryAxis::rangeChanged(const QString &min, const QString &max)
142 \fn void QBarCategoryAxis::rangeChanged(const QString &min, const QString &max)
143 Axis emits signal when \a min or \a max of axis has changed.
143 Axis emits signal when \a min or \a max of axis has changed.
144 */
144 */
145
145
146 /*!
146 /*!
147 \qmlmethod void BarCategoryAxis::clear()
148 Removes all categories. Sets the maximum and minimum of the axis's range to QString::null.
149 */
150
151 /*!
147 Constructs an axis object which is a child of \a parent.
152 Constructs an axis object which is a child of \a parent.
148 */
153 */
149 QBarCategoryAxis::QBarCategoryAxis(QObject *parent):
154 QBarCategoryAxis::QBarCategoryAxis(QObject *parent):
150 QAbstractAxis(*new QBarCategoryAxisPrivate(this), parent)
155 QAbstractAxis(*new QBarCategoryAxisPrivate(this), parent)
151 {
156 {
152 }
157 }
153
158
154 /*!
159 /*!
155 Destroys the object
160 Destroys the object
156 */
161 */
157 QBarCategoryAxis::~QBarCategoryAxis()
162 QBarCategoryAxis::~QBarCategoryAxis()
158 {
163 {
159 Q_D(QBarCategoryAxis);
164 Q_D(QBarCategoryAxis);
160 if (d->m_chart)
165 if (d->m_chart)
161 d->m_chart->removeAxis(this);
166 d->m_chart->removeAxis(this);
162 }
167 }
163
168
164 /*!
169 /*!
165 \internal
170 \internal
166 */
171 */
167 QBarCategoryAxis::QBarCategoryAxis(QBarCategoryAxisPrivate &d, QObject *parent)
172 QBarCategoryAxis::QBarCategoryAxis(QBarCategoryAxisPrivate &d, QObject *parent)
168 : QAbstractAxis(d, parent)
173 : QAbstractAxis(d, parent)
169 {
174 {
170
175
171 }
176 }
172
177
173 /*!
178 /*!
174 Appends \a categories to axis. A maximum of the axis will be changed to last category in \a categories.
179 Appends \a categories to axis. A maximum of the axis will be changed to last category in \a categories.
175 If there were no categories previously defined, minimum of axis will be also changed to first category in \a categories.
180 If there were no categories previously defined, minimum of axis will be also changed to first category in \a categories.
176 A category has to be valid QStrings and can not be duplicated. Duplicated categories will not be appended.
181 A category has to be valid QStrings and can not be duplicated. Duplicated categories will not be appended.
177 */
182 */
178 void QBarCategoryAxis::append(const QStringList &categories)
183 void QBarCategoryAxis::append(const QStringList &categories)
179 {
184 {
180 if (categories.isEmpty())
185 if (categories.isEmpty())
181 return;
186 return;
182
187
183 Q_D(QBarCategoryAxis);
188 Q_D(QBarCategoryAxis);
184
189
185 int count = d->m_categories.count();
190 int count = d->m_categories.count();
186
191
187 foreach(QString category, categories) {
192 foreach(QString category, categories) {
188 if (!d->m_categories.contains(category) && !category.isNull()) {
193 if (!d->m_categories.contains(category) && !category.isNull()) {
189 d->m_categories.append(category);
194 d->m_categories.append(category);
190 }
195 }
191 }
196 }
192
197
193 if (d->m_categories.count() == count)
198 if (d->m_categories.count() == count)
194 return;
199 return;
195
200
196 if (count == 0)
201 if (count == 0)
197 setRange(d->m_categories.first(), d->m_categories.last());
202 setRange(d->m_categories.first(), d->m_categories.last());
198 else
203 else
199 setRange(d->m_minCategory, d->m_categories.last());
204 setRange(d->m_minCategory, d->m_categories.last());
200
205
201 emit categoriesChanged();
206 emit categoriesChanged();
202 emit countChanged();
207 emit countChanged();
203 }
208 }
204
209
205 /*!
210 /*!
206 Appends \a category to axis. A maximum of the axis will be changed to last \a category.
211 Appends \a category to axis. A maximum of the axis will be changed to last \a category.
207 If there were no categories previously defined, minimum of axis will be also changed to \a category.
212 If there were no categories previously defined, minimum of axis will be also changed to \a category.
208 A \a category has to be valid QStrings and can not be duplicated. Duplicated categories will not be appended.
213 A \a category has to be valid QStrings and can not be duplicated. Duplicated categories will not be appended.
209 */
214 */
210 void QBarCategoryAxis::append(const QString &category)
215 void QBarCategoryAxis::append(const QString &category)
211 {
216 {
212 Q_D(QBarCategoryAxis);
217 Q_D(QBarCategoryAxis);
213
218
214 int count = d->m_categories.count();
219 int count = d->m_categories.count();
215
220
216 if (!d->m_categories.contains(category) && !category.isNull())
221 if (!d->m_categories.contains(category) && !category.isNull())
217 d->m_categories.append(category);
222 d->m_categories.append(category);
218
223
219 if (d->m_categories.count() == count)
224 if (d->m_categories.count() == count)
220 return;
225 return;
221
226
222 if (count == 0)
227 if (count == 0)
223 setRange(d->m_categories.last(), d->m_categories.last());
228 setRange(d->m_categories.last(), d->m_categories.last());
224 else
229 else
225 setRange(d->m_minCategory, d->m_categories.last());
230 setRange(d->m_minCategory, d->m_categories.last());
226
231
227 emit categoriesChanged();
232 emit categoriesChanged();
228 emit countChanged();
233 emit countChanged();
229 }
234 }
230
235
231 /*!
236 /*!
232 Removes \a category from axis. Removing category which is currently maximum or minimum
237 Removes \a category from axis. Removing category which is currently maximum or minimum
233 will affect the axis range.
238 will affect the axis range.
234 */
239 */
235 void QBarCategoryAxis::remove(const QString &category)
240 void QBarCategoryAxis::remove(const QString &category)
236 {
241 {
237 Q_D(QBarCategoryAxis);
242 Q_D(QBarCategoryAxis);
238
243
239 if (d->m_categories.contains(category)) {
244 if (d->m_categories.contains(category)) {
240 d->m_categories.removeAt(d->m_categories.indexOf(category));
245 d->m_categories.removeAt(d->m_categories.indexOf(category));
241 if (!d->m_categories.isEmpty()) {
246 if (!d->m_categories.isEmpty()) {
242 if (d->m_minCategory == category) {
247 if (d->m_minCategory == category) {
243 setRange(d->m_categories.first(), d->m_maxCategory);
248 setRange(d->m_categories.first(), d->m_maxCategory);
244 } else if (d->m_maxCategory == category) {
249 } else if (d->m_maxCategory == category) {
245 setRange(d->m_minCategory, d->m_categories.last());
250 setRange(d->m_minCategory, d->m_categories.last());
246 } else {
251 } else {
247 d->updateCategoryDomain();
252 d->updateCategoryDomain();
248 }
253 }
249 } else {
254 } else {
250 setRange(QString::null, QString::null);
255 setRange(QString::null, QString::null);
251 }
256 }
252 emit categoriesChanged();
257 emit categoriesChanged();
253 emit countChanged();
258 emit countChanged();
254 }
259 }
255 }
260 }
256
261
257 /*!
262 /*!
258 Inserts \a category to axis at \a index. A \a category has to be valid QStrings and can not be duplicated.
263 Inserts \a category to axis at \a index. A \a category has to be valid QStrings and can not be duplicated.
259 If \a category is prepended or appended to categories, minimum and maximum of axis is updated accordingly.
264 If \a category is prepended or appended to categories, minimum and maximum of axis is updated accordingly.
260 */
265 */
261 void QBarCategoryAxis::insert(int index, const QString &category)
266 void QBarCategoryAxis::insert(int index, const QString &category)
262 {
267 {
263 Q_D(QBarCategoryAxis);
268 Q_D(QBarCategoryAxis);
264
269
265 int count = d->m_categories.count();
270 int count = d->m_categories.count();
266
271
267 if (!d->m_categories.contains(category) && !category.isNull())
272 if (!d->m_categories.contains(category) && !category.isNull())
268 d->m_categories.insert(index, category);
273 d->m_categories.insert(index, category);
269
274
270 if (d->m_categories.count() == count)
275 if (d->m_categories.count() == count)
271 return;
276 return;
272
277
273 if (count == 0) {
278 if (count == 0) {
274 setRange(d->m_categories.first(), d->m_categories.first());
279 setRange(d->m_categories.first(), d->m_categories.first());
275 } else if (index == 0) {
280 } else if (index == 0) {
276 setRange(d->m_categories.first(), d->m_maxCategory);
281 setRange(d->m_categories.first(), d->m_maxCategory);
277 } else if (index == count) {
282 } else if (index == count) {
278 setRange(d->m_minCategory, d->m_categories.last());
283 setRange(d->m_minCategory, d->m_categories.last());
279 } else {
284 } else {
280 d->updateCategoryDomain();
285 d->updateCategoryDomain();
281 }
286 }
282
287
283 emit categoriesChanged();
288 emit categoriesChanged();
284 emit countChanged();
289 emit countChanged();
285 }
290 }
286
291
287 /*!
292 /*!
288 Replaces \a oldCategory with \a newCategory. If \a oldCategory does not exist on the axis nothing is done.
293 Replaces \a oldCategory with \a newCategory. If \a oldCategory does not exist on the axis nothing is done.
289 A \a newCategory has to be valid QStrings and can not be duplicated. In case of replacing minimum or maximum category,
294 A \a newCategory has to be valid QStrings and can not be duplicated. In case of replacing minimum or maximum category,
290 minimum and maximum of axis is updated accordingly.
295 minimum and maximum of axis is updated accordingly.
291 */
296 */
292 void QBarCategoryAxis::replace(const QString &oldCategory, const QString &newCategory)
297 void QBarCategoryAxis::replace(const QString &oldCategory, const QString &newCategory)
293 {
298 {
294 Q_D(QBarCategoryAxis);
299 Q_D(QBarCategoryAxis);
295
300
296 int pos = d->m_categories.indexOf(oldCategory);
301 int pos = d->m_categories.indexOf(oldCategory);
297
302
298 if (pos != -1 && !d->m_categories.contains(newCategory) && !newCategory.isNull()) {
303 if (pos != -1 && !d->m_categories.contains(newCategory) && !newCategory.isNull()) {
299 d->m_categories.replace(pos, newCategory);
304 d->m_categories.replace(pos, newCategory);
300 if (d->m_minCategory == oldCategory)
305 if (d->m_minCategory == oldCategory)
301 setRange(newCategory, d->m_maxCategory);
306 setRange(newCategory, d->m_maxCategory);
302 else if (d->m_maxCategory == oldCategory)
307 else if (d->m_maxCategory == oldCategory)
303 setRange(d->m_minCategory, newCategory);
308 setRange(d->m_minCategory, newCategory);
304
309
305 emit categoriesChanged();
310 emit categoriesChanged();
306 emit countChanged();
311 emit countChanged();
307 }
312 }
308 }
313 }
309
314
310 /*!
315 /*!
311 Removes all categories. Sets the maximum and minimum of the axis's range to QString::null.
316 Removes all categories. Sets the maximum and minimum of the axis's range to QString::null.
312 */
317 */
313 void QBarCategoryAxis::clear()
318 void QBarCategoryAxis::clear()
314 {
319 {
315 Q_D(QBarCategoryAxis);
320 Q_D(QBarCategoryAxis);
316 d->m_categories.clear();
321 d->m_categories.clear();
317 setRange(QString::null, QString::null);
322 setRange(QString::null, QString::null);
318 emit categoriesChanged();
323 emit categoriesChanged();
319 emit countChanged();
324 emit countChanged();
320 }
325 }
321
326
322 /*!
327 /*!
323 Set \a categories and discards the old ones, range of axis is adjusted to match first and last category in \a categories.
328 Set \a categories and discards the old ones, range of axis is adjusted to match first and last category in \a categories.
324 A category has to be valid QStrings and can not be duplicated.
329 A category has to be valid QStrings and can not be duplicated.
325 */
330 */
326 void QBarCategoryAxis::setCategories(const QStringList &categories)
331 void QBarCategoryAxis::setCategories(const QStringList &categories)
327 {
332 {
328 Q_D(QBarCategoryAxis);
333 Q_D(QBarCategoryAxis);
329 d->m_categories.clear();
334 d->m_categories.clear();
330 d->m_minCategory = QString::null;
335 d->m_minCategory = QString::null;
331 d->m_maxCategory = QString::null;
336 d->m_maxCategory = QString::null;
332 d->m_min = 0;
337 d->m_min = 0;
333 d->m_max = 0;
338 d->m_max = 0;
334 d->m_count = 0;
339 d->m_count = 0;
335 append(categories);
340 append(categories);
336 }
341 }
337
342
338 /*!
343 /*!
339 Returns categories
344 Returns categories
340 */
345 */
341 QStringList QBarCategoryAxis::categories()
346 QStringList QBarCategoryAxis::categories()
342 {
347 {
343 Q_D(QBarCategoryAxis);
348 Q_D(QBarCategoryAxis);
344 return d->m_categories;
349 return d->m_categories;
345 }
350 }
346
351
347 /*!
352 /*!
348 Returns number of categories.
353 Returns number of categories.
349 */
354 */
350 int QBarCategoryAxis::count() const
355 int QBarCategoryAxis::count() const
351 {
356 {
352 Q_D(const QBarCategoryAxis);
357 Q_D(const QBarCategoryAxis);
353 return d->m_categories.count();
358 return d->m_categories.count();
354 }
359 }
355
360
356 /*!
361 /*!
357 Returns category at \a index. Index must be valid.
362 Returns category at \a index. Index must be valid.
358 */
363 */
359 QString QBarCategoryAxis::at(int index) const
364 QString QBarCategoryAxis::at(int index) const
360 {
365 {
361 Q_D(const QBarCategoryAxis);
366 Q_D(const QBarCategoryAxis);
362 return d->m_categories.at(index);
367 return d->m_categories.at(index);
363 }
368 }
364
369
365 /*!
370 /*!
366 Sets minimum category to \a min.
371 Sets minimum category to \a min.
367 */
372 */
368 void QBarCategoryAxis::setMin(const QString &min)
373 void QBarCategoryAxis::setMin(const QString &min)
369 {
374 {
370 Q_D(QBarCategoryAxis);
375 Q_D(QBarCategoryAxis);
371 d->setRange(min, d->m_maxCategory);
376 d->setRange(min, d->m_maxCategory);
372 }
377 }
373
378
374 /*!
379 /*!
375 Returns minimum category.
380 Returns minimum category.
376 */
381 */
377 QString QBarCategoryAxis::min() const
382 QString QBarCategoryAxis::min() const
378 {
383 {
379 Q_D(const QBarCategoryAxis);
384 Q_D(const QBarCategoryAxis);
380 return d->m_minCategory;
385 return d->m_minCategory;
381 }
386 }
382
387
383 /*!
388 /*!
384 Sets maximum category to \a max.
389 Sets maximum category to \a max.
385 */
390 */
386 void QBarCategoryAxis::setMax(const QString &max)
391 void QBarCategoryAxis::setMax(const QString &max)
387 {
392 {
388 Q_D(QBarCategoryAxis);
393 Q_D(QBarCategoryAxis);
389 d->setRange(d->m_minCategory, max);
394 d->setRange(d->m_minCategory, max);
390 }
395 }
391
396
392 /*!
397 /*!
393 Returns maximum category
398 Returns maximum category
394 */
399 */
395 QString QBarCategoryAxis::max() const
400 QString QBarCategoryAxis::max() const
396 {
401 {
397 Q_D(const QBarCategoryAxis);
402 Q_D(const QBarCategoryAxis);
398 return d->m_maxCategory;
403 return d->m_maxCategory;
399 }
404 }
400
405
401 /*!
406 /*!
402 Sets range from \a minCategory to \a maxCategory
407 Sets range from \a minCategory to \a maxCategory
403 */
408 */
404 void QBarCategoryAxis::setRange(const QString &minCategory, const QString &maxCategory)
409 void QBarCategoryAxis::setRange(const QString &minCategory, const QString &maxCategory)
405 {
410 {
406 Q_D(QBarCategoryAxis);
411 Q_D(QBarCategoryAxis);
407 d->setRange(minCategory,maxCategory);
412 d->setRange(minCategory,maxCategory);
408 }
413 }
409
414
410 /*!
415 /*!
411 Returns the type of the axis
416 Returns the type of the axis
412 */
417 */
413 QAbstractAxis::AxisType QBarCategoryAxis::type() const
418 QAbstractAxis::AxisType QBarCategoryAxis::type() const
414 {
419 {
415 return AxisTypeBarCategory;
420 return AxisTypeBarCategory;
416 }
421 }
417
422
418 //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
423 //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
419
424
420 QBarCategoryAxisPrivate::QBarCategoryAxisPrivate(QBarCategoryAxis *q)
425 QBarCategoryAxisPrivate::QBarCategoryAxisPrivate(QBarCategoryAxis *q)
421 : QAbstractAxisPrivate(q),
426 : QAbstractAxisPrivate(q),
422 m_min(0.0),
427 m_min(0.0),
423 m_max(0.0),
428 m_max(0.0),
424 m_count(0)
429 m_count(0)
425 {
430 {
426
431
427 }
432 }
428
433
429 QBarCategoryAxisPrivate::~QBarCategoryAxisPrivate()
434 QBarCategoryAxisPrivate::~QBarCategoryAxisPrivate()
430 {
435 {
431
436
432 }
437 }
433
438
434 void QBarCategoryAxisPrivate::setMin(const QVariant &min)
439 void QBarCategoryAxisPrivate::setMin(const QVariant &min)
435 {
440 {
436 setRange(min, m_maxCategory);
441 setRange(min, m_maxCategory);
437 }
442 }
438
443
439 void QBarCategoryAxisPrivate::setMax(const QVariant &max)
444 void QBarCategoryAxisPrivate::setMax(const QVariant &max)
440 {
445 {
441 setRange(m_minCategory, max);
446 setRange(m_minCategory, max);
442 }
447 }
443
448
444 void QBarCategoryAxisPrivate::setRange(const QVariant &min, const QVariant &max)
449 void QBarCategoryAxisPrivate::setRange(const QVariant &min, const QVariant &max)
445 {
450 {
446 QString value1 = min.toString();
451 QString value1 = min.toString();
447 QString value2 = max.toString();
452 QString value2 = max.toString();
448 setRange(value1, value2);
453 setRange(value1, value2);
449 }
454 }
450
455
451 void QBarCategoryAxisPrivate::setRange(qreal min, qreal max)
456 void QBarCategoryAxisPrivate::setRange(qreal min, qreal max)
452 {
457 {
453 Q_Q(QBarCategoryAxis);
458 Q_Q(QBarCategoryAxis);
454
459
455 bool categoryChanged = false;
460 bool categoryChanged = false;
456 bool changed = false;
461 bool changed = false;
457
462
458 if (min > max)
463 if (min > max)
459 return;
464 return;
460
465
461 if (!qFuzzyIsNull(m_min - min)) {
466 if (!qFuzzyIsNull(m_min - min)) {
462 m_min = min;
467 m_min = min;
463 changed = true;
468 changed = true;
464
469
465 int imin = m_min + 0.5;
470 int imin = m_min + 0.5;
466 if (imin >= 0 && imin < m_categories.count()) {
471 if (imin >= 0 && imin < m_categories.count()) {
467 QString minCategory = m_categories.at(imin);
472 QString minCategory = m_categories.at(imin);
468 if (m_minCategory != minCategory && !minCategory.isEmpty()) {
473 if (m_minCategory != minCategory && !minCategory.isEmpty()) {
469 m_minCategory = minCategory;
474 m_minCategory = minCategory;
470 categoryChanged = true;
475 categoryChanged = true;
471 emit q->minChanged(minCategory);
476 emit q->minChanged(minCategory);
472 }
477 }
473 }
478 }
474
479
475 }
480 }
476
481
477 if (!qFuzzyIsNull(m_max - max)) {
482 if (!qFuzzyIsNull(m_max - max)) {
478 m_max = max;
483 m_max = max;
479 changed = true;
484 changed = true;
480
485
481 int imax = m_max - 0.5;
486 int imax = m_max - 0.5;
482 if (imax >= 0 && imax < m_categories.count()) {
487 if (imax >= 0 && imax < m_categories.count()) {
483 QString maxCategory = m_categories.at(imax);
488 QString maxCategory = m_categories.at(imax);
484 if (m_maxCategory != maxCategory && !maxCategory.isEmpty()) {
489 if (m_maxCategory != maxCategory && !maxCategory.isEmpty()) {
485 m_maxCategory = maxCategory;
490 m_maxCategory = maxCategory;
486 categoryChanged = true;
491 categoryChanged = true;
487 emit q->maxChanged(maxCategory);
492 emit q->maxChanged(maxCategory);
488 }
493 }
489 }
494 }
490 }
495 }
491
496
492 if (categoryChanged){
497 if (categoryChanged){
493 emit q->rangeChanged(m_minCategory, m_maxCategory);
498 emit q->rangeChanged(m_minCategory, m_maxCategory);
494 }
499 }
495
500
496 if (changed) {
501 if (changed) {
497 emit rangeChanged(m_min,m_max);
502 emit rangeChanged(m_min,m_max);
498 }
503 }
499 }
504 }
500
505
501 void QBarCategoryAxisPrivate::setRange(const QString &minCategory, const QString &maxCategory)
506 void QBarCategoryAxisPrivate::setRange(const QString &minCategory, const QString &maxCategory)
502 {
507 {
503 Q_Q(QBarCategoryAxis);
508 Q_Q(QBarCategoryAxis);
504 bool changed = false;
509 bool changed = false;
505
510
506 //special case in case or clearing all categories
511 //special case in case or clearing all categories
507 if (minCategory.isNull() && maxCategory.isNull()) {
512 if (minCategory.isNull() && maxCategory.isNull()) {
508 m_minCategory = minCategory;
513 m_minCategory = minCategory;
509 m_maxCategory = maxCategory;
514 m_maxCategory = maxCategory;
510 m_min = 0;
515 m_min = 0;
511 m_max = 0;
516 m_max = 0;
512 m_count = 0;
517 m_count = 0;
513 emit q->minChanged(minCategory);
518 emit q->minChanged(minCategory);
514 emit q->maxChanged(maxCategory);
519 emit q->maxChanged(maxCategory);
515 emit q->rangeChanged(m_minCategory, m_maxCategory);
520 emit q->rangeChanged(m_minCategory, m_maxCategory);
516 emit rangeChanged(m_min,m_max);
521 emit rangeChanged(m_min,m_max);
517 return;
522 return;
518 }
523 }
519
524
520 if (m_categories.indexOf(maxCategory) < m_categories.indexOf(minCategory))
525 if (m_categories.indexOf(maxCategory) < m_categories.indexOf(minCategory))
521 return;
526 return;
522
527
523 if (!minCategory.isNull() && (m_minCategory != minCategory || m_minCategory.isNull())
528 if (!minCategory.isNull() && (m_minCategory != minCategory || m_minCategory.isNull())
524 && m_categories.contains(minCategory)) {
529 && m_categories.contains(minCategory)) {
525 m_minCategory = minCategory;
530 m_minCategory = minCategory;
526 m_min = m_categories.indexOf(m_minCategory) - 0.5;
531 m_min = m_categories.indexOf(m_minCategory) - 0.5;
527 changed = true;
532 changed = true;
528 emit q->minChanged(minCategory);
533 emit q->minChanged(minCategory);
529 }
534 }
530
535
531 if (!maxCategory.isNull() && (m_maxCategory != maxCategory || m_maxCategory.isNull())
536 if (!maxCategory.isNull() && (m_maxCategory != maxCategory || m_maxCategory.isNull())
532 && m_categories.contains(maxCategory)) {
537 && m_categories.contains(maxCategory)) {
533 m_maxCategory = maxCategory;
538 m_maxCategory = maxCategory;
534 m_max = m_categories.indexOf(m_maxCategory) + 0.5;
539 m_max = m_categories.indexOf(m_maxCategory) + 0.5;
535 changed = true;
540 changed = true;
536 emit q->maxChanged(maxCategory);
541 emit q->maxChanged(maxCategory);
537 }
542 }
538
543
539 if (changed) {
544 if (changed) {
540 m_count = m_max - m_min;
545 m_count = m_max - m_min;
541 emit q->rangeChanged(m_minCategory, m_maxCategory);
546 emit q->rangeChanged(m_minCategory, m_maxCategory);
542 emit rangeChanged(m_min,m_max);
547 emit rangeChanged(m_min,m_max);
543 }
548 }
544 }
549 }
545
550
546 void QBarCategoryAxisPrivate::initializeGraphics(QGraphicsItem* parent)
551 void QBarCategoryAxisPrivate::initializeGraphics(QGraphicsItem* parent)
547 {
552 {
548 Q_Q(QBarCategoryAxis);
553 Q_Q(QBarCategoryAxis);
549 ChartAxisElement* axis(0);
554 ChartAxisElement* axis(0);
550 if (orientation() == Qt::Vertical)
555 if (orientation() == Qt::Vertical)
551 axis = new ChartBarCategoryAxisY(q,parent);
556 axis = new ChartBarCategoryAxisY(q,parent);
552 if (orientation() == Qt::Horizontal)
557 if (orientation() == Qt::Horizontal)
553 axis = new ChartBarCategoryAxisX(q,parent);
558 axis = new ChartBarCategoryAxisX(q,parent);
554
559
555 m_item.reset(axis);
560 m_item.reset(axis);
556 QAbstractAxisPrivate::initializeGraphics(parent);
561 QAbstractAxisPrivate::initializeGraphics(parent);
557 }
562 }
558
563
559 void QBarCategoryAxisPrivate::updateCategoryDomain()
564 void QBarCategoryAxisPrivate::updateCategoryDomain()
560 {
565 {
561 bool changed = false;
566 bool changed = false;
562
567
563 qreal tmpMin = m_categories.indexOf(m_minCategory) - 0.5;
568 qreal tmpMin = m_categories.indexOf(m_minCategory) - 0.5;
564 if (!qFuzzyIsNull(m_min - tmpMin)) {
569 if (!qFuzzyIsNull(m_min - tmpMin)) {
565 m_min = tmpMin;
570 m_min = tmpMin;
566 changed = true;
571 changed = true;
567 }
572 }
568 qreal tmpMax = m_categories.indexOf(m_maxCategory) + 0.5;
573 qreal tmpMax = m_categories.indexOf(m_maxCategory) + 0.5;
569 if (!qFuzzyIsNull(m_max - tmpMax)) {
574 if (!qFuzzyIsNull(m_max - tmpMax)) {
570 m_max = tmpMax;
575 m_max = tmpMax;
571 changed = true;
576 changed = true;
572 }
577 }
573 m_count = m_max - m_min;
578 m_count = m_max - m_min;
574
579
575 if (changed)
580 if (changed)
576 emit rangeChanged(m_min,m_max);
581 emit rangeChanged(m_min,m_max);
577 }
582 }
578
583
579
584
580 void QBarCategoryAxisPrivate::initializeDomain(AbstractDomain *domain)
585 void QBarCategoryAxisPrivate::initializeDomain(AbstractDomain *domain)
581 {
586 {
582 Q_Q(QBarCategoryAxis);
587 Q_Q(QBarCategoryAxis);
583 if (m_max == m_min) {
588 if (m_max == m_min) {
584 int min;
589 int min;
585 int max;
590 int max;
586 if (orientation() == Qt::Vertical) {
591 if (orientation() == Qt::Vertical) {
587 min = domain->minY() + 0.5;
592 min = domain->minY() + 0.5;
588 max = domain->maxY() - 0.5;
593 max = domain->maxY() - 0.5;
589 } else {
594 } else {
590 min = domain->minX() + 0.5;
595 min = domain->minX() + 0.5;
591 max = domain->maxX() - 0.5;
596 max = domain->maxX() - 0.5;
592 }
597 }
593
598
594 if (min > 0 && min < m_categories.count() && max > 0 && max < m_categories.count())
599 if (min > 0 && min < m_categories.count() && max > 0 && max < m_categories.count())
595 q->setRange(m_categories.at(min), m_categories.at(max));
600 q->setRange(m_categories.at(min), m_categories.at(max));
596 } else {
601 } else {
597 if (orientation() == Qt::Vertical)
602 if (orientation() == Qt::Vertical)
598 domain->setRangeY(m_min, m_max);
603 domain->setRangeY(m_min, m_max);
599 else
604 else
600 domain->setRangeX(m_min, m_max);
605 domain->setRangeX(m_min, m_max);
601 }
606 }
602 }
607 }
603
608
604 #include "moc_qbarcategoryaxis.cpp"
609 #include "moc_qbarcategoryaxis.cpp"
605 #include "moc_qbarcategoryaxis_p.cpp"
610 #include "moc_qbarcategoryaxis_p.cpp"
606
611
607 QTCOMMERCIALCHART_END_NAMESPACE
612 QTCOMMERCIALCHART_END_NAMESPACE
@@ -1,81 +1,81
1 /****************************************************************************
1 /****************************************************************************
2 **
2 **
3 ** Copyright (C) 2014 Digia Plc
3 ** Copyright (C) 2014 Digia Plc
4 ** All rights reserved.
4 ** All rights reserved.
5 ** For any questions to Digia, please use contact form at http://qt.digia.com
5 ** For any questions to Digia, please use contact form at http://qt.digia.com
6 **
6 **
7 ** This file is part of the Qt Enterprise Charts Add-on.
7 ** This file is part of the Qt Enterprise Charts Add-on.
8 **
8 **
9 ** $QT_BEGIN_LICENSE$
9 ** $QT_BEGIN_LICENSE$
10 ** Licensees holding valid Qt Enterprise licenses may use this file in
10 ** Licensees holding valid Qt Enterprise licenses may use this file in
11 ** accordance with the Qt Enterprise License Agreement provided with the
11 ** accordance with the Qt Enterprise License Agreement provided with the
12 ** Software or, alternatively, in accordance with the terms contained in
12 ** Software or, alternatively, in accordance with the terms contained in
13 ** a written agreement between you and Digia.
13 ** a written agreement between you and Digia.
14 **
14 **
15 ** If you have questions regarding the use of this file, please use
15 ** If you have questions regarding the use of this file, please use
16 ** contact form at http://qt.digia.com
16 ** contact form at http://qt.digia.com
17 ** $QT_END_LICENSE$
17 ** $QT_END_LICENSE$
18 **
18 **
19 ****************************************************************************/
19 ****************************************************************************/
20
20
21 #ifndef QBARCATEGORYAXIS_H
21 #ifndef QBARCATEGORYAXIS_H
22 #define QBARCATEGORYAXIS_H
22 #define QBARCATEGORYAXIS_H
23
23
24 #include "qabstractaxis.h"
24 #include "qabstractaxis.h"
25
25
26 QTCOMMERCIALCHART_BEGIN_NAMESPACE
26 QTCOMMERCIALCHART_BEGIN_NAMESPACE
27
27
28 class QBarCategoryAxisPrivate;
28 class QBarCategoryAxisPrivate;
29
29
30 class QTCOMMERCIALCHART_EXPORT QBarCategoryAxis : public QAbstractAxis
30 class QTCOMMERCIALCHART_EXPORT QBarCategoryAxis : public QAbstractAxis
31 {
31 {
32 Q_OBJECT
32 Q_OBJECT
33 Q_PROPERTY(QStringList categories READ categories WRITE setCategories NOTIFY categoriesChanged)
33 Q_PROPERTY(QStringList categories READ categories WRITE setCategories NOTIFY categoriesChanged)
34 Q_PROPERTY(QString min READ min WRITE setMin NOTIFY minChanged)
34 Q_PROPERTY(QString min READ min WRITE setMin NOTIFY minChanged)
35 Q_PROPERTY(QString max READ max WRITE setMax NOTIFY maxChanged)
35 Q_PROPERTY(QString max READ max WRITE setMax NOTIFY maxChanged)
36 Q_PROPERTY(int count READ count NOTIFY countChanged)
36 Q_PROPERTY(int count READ count NOTIFY countChanged)
37
37
38 public:
38 public:
39 explicit QBarCategoryAxis(QObject *parent = 0);
39 explicit QBarCategoryAxis(QObject *parent = 0);
40 ~QBarCategoryAxis();
40 ~QBarCategoryAxis();
41
41
42 protected:
42 protected:
43 QBarCategoryAxis(QBarCategoryAxisPrivate &d, QObject *parent = 0);
43 QBarCategoryAxis(QBarCategoryAxisPrivate &d, QObject *parent = 0);
44
44
45 public:
45 public:
46 AxisType type() const;
46 AxisType type() const;
47 void append(const QStringList &categories);
47 void append(const QStringList &categories);
48 void append(const QString &category);
48 void append(const QString &category);
49 void remove(const QString &category);
49 void remove(const QString &category);
50 void insert(int index, const QString &category);
50 void insert(int index, const QString &category);
51 void replace(const QString &oldCategory, const QString &newCategory);
51 void replace(const QString &oldCategory, const QString &newCategory);
52 void clear();
52 Q_INVOKABLE void clear();
53 void setCategories(const QStringList &categories);
53 void setCategories(const QStringList &categories);
54 QStringList categories();
54 QStringList categories();
55 int count() const;
55 int count() const;
56 QString at(int index) const;
56 QString at(int index) const;
57
57
58 //range handling
58 //range handling
59 void setMin(const QString &minCategory);
59 void setMin(const QString &minCategory);
60 QString min() const;
60 QString min() const;
61 void setMax(const QString &maxCategory);
61 void setMax(const QString &maxCategory);
62 QString max() const;
62 QString max() const;
63 void setRange(const QString &minCategory, const QString &maxCategory);
63 void setRange(const QString &minCategory, const QString &maxCategory);
64
64
65 Q_SIGNALS:
65 Q_SIGNALS:
66 void categoriesChanged();
66 void categoriesChanged();
67 void minChanged(const QString &min);
67 void minChanged(const QString &min);
68 void maxChanged(const QString &max);
68 void maxChanged(const QString &max);
69 void rangeChanged(const QString &min, const QString &max);
69 void rangeChanged(const QString &min, const QString &max);
70 void countChanged();
70 void countChanged();
71
71
72 private:
72 private:
73 Q_DECLARE_PRIVATE(QBarCategoryAxis)
73 Q_DECLARE_PRIVATE(QBarCategoryAxis)
74 Q_DISABLE_COPY(QBarCategoryAxis)
74 Q_DISABLE_COPY(QBarCategoryAxis)
75 friend class ChartBarCategoryAxisX;
75 friend class ChartBarCategoryAxisX;
76 friend class ChartBarCategoryAxisY;
76 friend class ChartBarCategoryAxisY;
77 };
77 };
78
78
79 QTCOMMERCIALCHART_END_NAMESPACE
79 QTCOMMERCIALCHART_END_NAMESPACE
80
80
81 #endif // QBARCATEGORYAXIS_H
81 #endif // QBARCATEGORYAXIS_H
@@ -1,107 +1,118
1 /****************************************************************************
1 /****************************************************************************
2 **
2 **
3 ** Copyright (C) 2014 Digia Plc
3 ** Copyright (C) 2014 Digia Plc
4 ** All rights reserved.
4 ** All rights reserved.
5 ** For any questions to Digia, please use contact form at http://qt.digia.com
5 ** For any questions to Digia, please use contact form at http://qt.digia.com
6 **
6 **
7 ** This file is part of the Qt Enterprise Charts Add-on.
7 ** This file is part of the Qt Enterprise Charts Add-on.
8 **
8 **
9 ** $QT_BEGIN_LICENSE$
9 ** $QT_BEGIN_LICENSE$
10 ** Licensees holding valid Qt Enterprise licenses may use this file in
10 ** Licensees holding valid Qt Enterprise licenses may use this file in
11 ** accordance with the Qt Enterprise License Agreement provided with the
11 ** accordance with the Qt Enterprise License Agreement provided with the
12 ** Software or, alternatively, in accordance with the terms contained in
12 ** Software or, alternatively, in accordance with the terms contained in
13 ** a written agreement between you and Digia.
13 ** a written agreement between you and Digia.
14 **
14 **
15 ** If you have questions regarding the use of this file, please use
15 ** If you have questions regarding the use of this file, please use
16 ** contact form at http://qt.digia.com
16 ** contact form at http://qt.digia.com
17 ** $QT_END_LICENSE$
17 ** $QT_END_LICENSE$
18 **
18 **
19 ****************************************************************************/
19 ****************************************************************************/
20
20
21 import QtQuick 2.0
21 import QtQuick 2.0
22 import QtTest 1.0
22 import QtTest 1.0
23 import QtCommercial.Chart 1.4
23 import QtCommercial.Chart 1.4
24
24
25 Rectangle {
25 Rectangle {
26 width: 400
26 width: 400
27 height: 300
27 height: 300
28
28
29 TestCase {
29 TestCase {
30 id: tc1
30 id: tc1
31 name: "tst_qml-qtquicktest BarCategoryAxis"
31 name: "tst_qml-qtquicktest BarCategoryAxis"
32 when: windowShown
32 when: windowShown
33
33
34 function test_minMax() {
34 function test_minMax() {
35 compare(barSeries1.axisX.min, "Jan", "AxisX min");
35 compare(barSeries1.axisX.min, "Jan", "AxisX min");
36 compare(barSeries1.axisX.max, "Jun", "AxisX max");
36 compare(barSeries1.axisX.max, "Jun", "AxisX max");
37 compare(barSeries1.axisY.min, 0, "AxisY min");
37 compare(barSeries1.axisY.min, 0, "AxisY min");
38 compare(barSeries1.axisY.max, 10, "AxisY max");
38 compare(barSeries1.axisY.max, 10, "AxisY max");
39 }
39 }
40
40
41 function test_categories() {
41 function test_categories() {
42 compare(barSeries1.axisX.count, 6, "AxisX count");
42 compare(barSeries1.axisX.count, 6, "AxisX count");
43 categoriesCountChangedSpy.clear();
43 categoriesCountChangedSpy.clear();
44 categoriesChangedSpy.clear();
44 categoriesChangedSpy.clear();
45
45
46 // Replace categories
46 // Replace categories
47 barSeries1.axisX.categories = ["Tam", "Hel", "Maa", "Huh"];
47 barSeries1.axisX.categories = ["Tam", "Hel", "Maa", "Huh"];
48 compare(barSeries1.axisX.count, 4, "AxisX count");
48 compare(barSeries1.axisX.count, 4, "AxisX count");
49 compare(categoriesCountChangedSpy.count, 1, "onCountChanged");
49 compare(categoriesCountChangedSpy.count, 1, "onCountChanged");
50 compare(categoriesChangedSpy.count, 1, "onCategoriesChanged");
50 compare(categoriesChangedSpy.count, 1, "onCategoriesChanged");
51
51
52 // Reset the original categories
52 // Reset the original categories
53 barSeries1.axisX.categories = ["Jan", "Feb", "Mar", "Apr", "May", "Jun"]
53 barSeries1.axisX.categories = ["Jan", "Feb", "Mar", "Apr", "May", "Jun"]
54 compare(barSeries1.axisX.count, 6, "AxisX count");
54 compare(barSeries1.axisX.count, 6, "AxisX count");
55 compare(categoriesCountChangedSpy.count, 2, "onCountChanged");
55 compare(categoriesCountChangedSpy.count, 2, "onCountChanged");
56 compare(categoriesChangedSpy.count, 2, "onCategoriesChanged");
56 compare(categoriesChangedSpy.count, 2, "onCategoriesChanged");
57 }
57 }
58
58
59 function test_minMaxChanged() {
59 function test_minMaxChanged() {
60 axisY.min = -1;
60 axisY.min = -1;
61 compare(minChangedSpy.count, 1, "onMinChanged");
61 compare(minChangedSpy.count, 1, "onMinChanged");
62 compare(maxChangedSpy.count, 0, "onMaxChanged");
62 compare(maxChangedSpy.count, 0, "onMaxChanged");
63 axisY.max = 12;
63 axisY.max = 12;
64 compare(minChangedSpy.count, 1, "onMinChanged");
64 compare(minChangedSpy.count, 1, "onMinChanged");
65 compare(maxChangedSpy.count, 1, "onMaxChanged");
65 compare(maxChangedSpy.count, 1, "onMaxChanged");
66 }
66 }
67
68 function test_seriesAxisClear() {
69 verify(barSeries1.axisX.min !== "", "barSeries1.axisX.min");
70 verify(barSeries1.axisX.max !== "", "barSeries1.axisX.max");
71 verify(barSeries1.axisX.count !== 0, "barSeries1.axisX.count"); // category count
72 barSeries1.axisX.clear();
73 verify(barSeries1.axisX.min === "", "barSeries1.axisX.min");
74 verify(barSeries1.axisX.max === "", "barSeries1.axisX.max");
75 verify(barSeries1.axisX.count === 0);
76 }
77
67 }
78 }
68
79
69 ChartView {
80 ChartView {
70 id: chartView
81 id: chartView
71 anchors.fill: parent
82 anchors.fill: parent
72
83
73 BarSeries {
84 BarSeries {
74 id: barSeries1
85 id: barSeries1
75 axisX: BarCategoryAxis {
86 axisX: BarCategoryAxis {
76 id: axisX
87 id: axisX
77 categories: ["Jan", "Feb", "Mar", "Apr", "May", "Jun" ]
88 categories: ["Jan", "Feb", "Mar", "Apr", "May", "Jun" ]
78 }
89 }
79 axisY: ValuesAxis {
90 axisY: ValuesAxis {
80 id: axisY
91 id: axisY
81 min: 0
92 min: 0
82 max: 10
93 max: 10
83 }
94 }
84 }
95 }
85
96
86 SignalSpy {
97 SignalSpy {
87 id: categoriesCountChangedSpy
98 id: categoriesCountChangedSpy
88 target: axisX
99 target: axisX
89 signalName: "countChanged"
100 signalName: "countChanged"
90 }
101 }
91 SignalSpy {
102 SignalSpy {
92 id: categoriesChangedSpy
103 id: categoriesChangedSpy
93 target: axisX
104 target: axisX
94 signalName: "categoriesChanged"
105 signalName: "categoriesChanged"
95 }
106 }
96 SignalSpy {
107 SignalSpy {
97 id: minChangedSpy
108 id: minChangedSpy
98 target: axisY
109 target: axisY
99 signalName: "minChanged"
110 signalName: "minChanged"
100 }
111 }
101 SignalSpy {
112 SignalSpy {
102 id: maxChangedSpy
113 id: maxChangedSpy
103 target: axisY
114 target: axisY
104 signalName: "maxChanged"
115 signalName: "maxChanged"
105 }
116 }
106 }
117 }
107 }
118 }
General Comments 0
You need to be logged in to leave comments. Login now