@@ -185,6 +185,30 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
185 | \sa Axis::min, Axis::max |
|
185 | \sa Axis::min, Axis::max | |
186 | */ |
|
186 | */ | |
187 |
|
187 | |||
|
188 | /*! | |||
|
189 | \qmlsignal ChartView::onTopMarginChanged(real margin) | |||
|
190 | The top margin of the chart view has changed to \a margin. This may happen for example if you modify font size | |||
|
191 | related properties of the legend or chart title. | |||
|
192 | */ | |||
|
193 | ||||
|
194 | /*! | |||
|
195 | \qmlsignal ChartView::onBottomMarginChanged(real margin) | |||
|
196 | The bottom margin of the chart view has changed to \a margin. This may happen for example if you modify font size | |||
|
197 | related properties of the legend or chart title. | |||
|
198 | */ | |||
|
199 | ||||
|
200 | /*! | |||
|
201 | \qmlsignal ChartView::onLeftMarginChanged(real margin) | |||
|
202 | The left margin of the chart view has changed to \a margin. This may happen for example if you modify font size | |||
|
203 | related properties of the legend or chart title. | |||
|
204 | */ | |||
|
205 | ||||
|
206 | /*! | |||
|
207 | \qmlsignal ChartView::onRightMarginChanged(real margin) | |||
|
208 | The right margin of the chart view has changed to \a margin. This may happen for example if you modify font size | |||
|
209 | related properties of the legend or chart title. | |||
|
210 | */ | |||
|
211 | ||||
188 | DeclarativeChart::DeclarativeChart(QDeclarativeItem *parent) |
|
212 | DeclarativeChart::DeclarativeChart(QDeclarativeItem *parent) | |
189 | : QDeclarativeItem(parent), |
|
213 | : QDeclarativeItem(parent), | |
190 | m_chart(new QChart(this)) |
|
214 | m_chart(new QChart(this)) |
@@ -113,7 +113,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
113 | \brief Signal is emitted when the fill (brush) color has changed to \a color. |
|
113 | \brief Signal is emitted when the fill (brush) color has changed to \a color. | |
114 | */ |
|
114 | */ | |
115 | /*! |
|
115 | /*! | |
116 |
\qmlsignal AreaSeries:: |
|
116 | \qmlsignal AreaSeries::onColorChanged(color color) | |
117 | Signal is emitted when the fill (brush) color has changed to \a color. |
|
117 | Signal is emitted when the fill (brush) color has changed to \a color. | |
118 | */ |
|
118 | */ | |
119 |
|
119 | |||
@@ -122,7 +122,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
122 | \brief Signal is emitted when the line (pen) color has changed to \a color. |
|
122 | \brief Signal is emitted when the line (pen) color has changed to \a color. | |
123 | */ |
|
123 | */ | |
124 | /*! |
|
124 | /*! | |
125 |
\qmlsignal AreaSeries:: |
|
125 | \qmlsignal AreaSeries::onBorderColorChanged(color color) | |
126 | Signal is emitted when the line (pen) color has changed to \a color. |
|
126 | Signal is emitted when the line (pen) color has changed to \a color. | |
127 | */ |
|
127 | */ | |
128 |
|
128 | |||
@@ -131,7 +131,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
131 | \brief Signal is emitted when user clicks the \a point on area chart. |
|
131 | \brief Signal is emitted when user clicks the \a point on area chart. | |
132 | */ |
|
132 | */ | |
133 | /*! |
|
133 | /*! | |
134 |
\qmlsignal AreaSeries:: |
|
134 | \qmlsignal AreaSeries::onClicked(QPointF point) | |
135 | Signal is emitted when user clicks the \a point on area chart. |
|
135 | Signal is emitted when user clicks the \a point on area chart. | |
136 | */ |
|
136 | */ | |
137 |
|
137 | |||
@@ -141,7 +141,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
141 | implemented by the user of QAreaSeries API. |
|
141 | implemented by the user of QAreaSeries API. | |
142 | */ |
|
142 | */ | |
143 | /*! |
|
143 | /*! | |
144 |
\qmlsignal AreaSeries:: |
|
144 | \qmlsignal AreaSeries::onSelected() | |
145 | The signal is emitted if the user selects/deselects the XY series. The logic for maintaining selections should be |
|
145 | The signal is emitted if the user selects/deselects the XY series. The logic for maintaining selections should be | |
146 | implemented by the user of AreaSeries API. |
|
146 | implemented by the user of AreaSeries API. | |
147 | */ |
|
147 | */ |
@@ -202,16 +202,31 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
202 | \fn void QAxis::minChanged(qreal min) |
|
202 | \fn void QAxis::minChanged(qreal min) | |
203 | Axis emits signal when \a min of axis has changed. |
|
203 | Axis emits signal when \a min of axis has changed. | |
204 | */ |
|
204 | */ | |
|
205 | /*! | |||
|
206 | \qmlsignal Axis::onMinChanged(real min) | |||
|
207 | Axis emits signal when \a min of axis has changed. This may happen for example if you zoom, scroll or | |||
|
208 | enable nice numbers algorithm. | |||
|
209 | */ | |||
205 |
|
210 | |||
206 | /*! |
|
211 | /*! | |
207 | \fn void QAxis::maxChanged(qreal max) |
|
212 | \fn void QAxis::maxChanged(qreal max) | |
208 | Axis emits signal when \a max of axis has changed. |
|
213 | Axis emits signal when \a max of axis has changed. | |
209 | */ |
|
214 | */ | |
|
215 | /*! | |||
|
216 | \qmlsignal Axis::onMaxChanged(real max) | |||
|
217 | Axis emits signal when \a max of axis has changed. This may happen for example if you zoom, scroll or | |||
|
218 | enable nice numbers algorithm. | |||
|
219 | */ | |||
210 |
|
220 | |||
211 | /*! |
|
221 | /*! | |
212 | \fn void QAxis::rangeChanged(qreal min, qreal max) |
|
222 | \fn void QAxis::rangeChanged(qreal min, qreal max) | |
213 | Axis emits signal when \a min or \a max of axis has changed. |
|
223 | Axis emits signal when \a min or \a max of axis has changed. | |
214 | */ |
|
224 | */ | |
|
225 | /*! | |||
|
226 | \qmlsignal Axis::onRangeChanged(real min, real max) | |||
|
227 | Axis emits signal when \a min or \a max of axis has changed. This may happen for example if you zoom, scroll or | |||
|
228 | enable nice numbers algorithm. | |||
|
229 | */ | |||
215 |
|
230 | |||
216 | /*! |
|
231 | /*! | |
217 | \fn QChartAxisCategories* QAxis::categories() |
|
232 | \fn QChartAxisCategories* QAxis::categories() |
@@ -94,13 +94,11 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
94 |
|
94 | |||
95 | /*! |
|
95 | /*! | |
96 | \fn void QBarSeries::clicked(QBarSet *barset, int index) |
|
96 | \fn void QBarSeries::clicked(QBarSet *barset, int index) | |
97 |
|
||||
98 | The signal is emitted if the user clicks with a mouse on top of QBarSet \a barset. |
|
97 | The signal is emitted if the user clicks with a mouse on top of QBarSet \a barset. | |
99 | Clicked bar inside set is indexed by \a index |
|
98 | Clicked bar inside set is indexed by \a index | |
100 | */ |
|
99 | */ | |
101 | /*! |
|
100 | /*! | |
102 | \qmlsignal BarSeries::onClicked(BarSet barset, int index) |
|
101 | \qmlsignal BarSeries::onClicked(BarSet barset, int index) | |
103 |
|
||||
104 | The signal is emitted if the user clicks with a mouse on top of BarSet. |
|
102 | The signal is emitted if the user clicks with a mouse on top of BarSet. | |
105 | Clicked bar inside set is indexed by \a index |
|
103 | Clicked bar inside set is indexed by \a index | |
106 | */ |
|
104 | */ | |
@@ -125,7 +123,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
125 | This signal is emitted when barset count has been changed, for example by append or remove. |
|
123 | This signal is emitted when barset count has been changed, for example by append or remove. | |
126 | */ |
|
124 | */ | |
127 | /*! |
|
125 | /*! | |
128 |
\qmlsignal BarSeries:: |
|
126 | \qmlsignal BarSeries::onCountChanged() | |
129 | This signal is emitted when barset count has been changed, for example by append or remove. |
|
127 | This signal is emitted when barset count has been changed, for example by append or remove. | |
130 | */ |
|
128 | */ | |
131 |
|
129 | |||
@@ -141,7 +139,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
141 | \sa append(), insert() |
|
139 | \sa append(), insert() | |
142 | */ |
|
140 | */ | |
143 | /*! |
|
141 | /*! | |
144 |
\qmlsignal BarSeries:: |
|
142 | \qmlsignal BarSeries::onAdded(BarSet barset) | |
145 | Emitted when \a barset has been added to the series. |
|
143 | Emitted when \a barset has been added to the series. | |
146 | */ |
|
144 | */ | |
147 |
|
145 | |||
@@ -151,7 +149,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
151 | \sa remove() |
|
149 | \sa remove() | |
152 | */ |
|
150 | */ | |
153 | /*! |
|
151 | /*! | |
154 |
\qmlsignal BarSeries:: |
|
152 | \qmlsignal BarSeries::onRemoved(BarSet barset) | |
155 | Emitted when \a barset has been removed from the series. |
|
153 | Emitted when \a barset has been removed from the series. | |
156 | */ |
|
154 | */ | |
157 |
|
155 |
@@ -129,6 +129,10 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
129 | This signal is emitted when the label of the barSet has changed. |
|
129 | This signal is emitted when the label of the barSet has changed. | |
130 | \sa label |
|
130 | \sa label | |
131 | */ |
|
131 | */ | |
|
132 | /*! | |||
|
133 | \qmlsignal BarSet::onLabelChanged() | |||
|
134 | This signal is emitted when the label of the barSet has changed. | |||
|
135 | */ | |||
132 |
|
136 | |||
133 | /*! |
|
137 | /*! | |
134 | \fn void QBarSet::penChanged() |
|
138 | \fn void QBarSet::penChanged() |
@@ -201,11 +201,13 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
201 |
|
201 | |||
202 | /*! |
|
202 | /*! | |
203 | \fn void QPieSeries::countChanged() |
|
203 | \fn void QPieSeries::countChanged() | |
204 |
|
||||
205 | Emitted when the slice count has changed. |
|
204 | Emitted when the slice count has changed. | |
206 |
|
||||
207 | \sa count |
|
205 | \sa count | |
208 | */ |
|
206 | */ | |
|
207 | /*! | |||
|
208 | \qmlsignal PieSeries::onCountChanged() | |||
|
209 | Emitted when the slice count has changed. | |||
|
210 | */ | |||
209 |
|
211 | |||
210 | /*! |
|
212 | /*! | |
211 | \property QPieSeries::sum |
|
213 | \property QPieSeries::sum | |
@@ -225,11 +227,14 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
225 |
|
227 | |||
226 | /*! |
|
228 | /*! | |
227 | \fn void QPieSeries::sumChanged() |
|
229 | \fn void QPieSeries::sumChanged() | |
228 |
|
||||
229 | Emitted when the sum of all slices has changed. |
|
230 | Emitted when the sum of all slices has changed. | |
230 |
|
||||
231 | \sa sum |
|
231 | \sa sum | |
232 | */ |
|
232 | */ | |
|
233 | /*! | |||
|
234 | \qmlsignal PieSeries::onSumChanged() | |||
|
235 | Emitted when the sum of all slices has changed. This may happen for example if you add or remove slices, or if you | |||
|
236 | change value of a slice. | |||
|
237 | */ | |||
233 |
|
238 | |||
234 | /*! |
|
239 | /*! | |
235 | \fn void QPieSeries::added(QList<QPieSlice*> slices) |
|
240 | \fn void QPieSeries::added(QList<QPieSlice*> slices) | |
@@ -239,7 +244,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
239 | \sa append(), insert() |
|
244 | \sa append(), insert() | |
240 | */ |
|
245 | */ | |
241 | /*! |
|
246 | /*! | |
242 |
\qmlsignal PieSeries:: |
|
247 | \qmlsignal PieSeries::onAdded(PieSlice slice) | |
243 | Emitted when \a slice has been added to the series. |
|
248 | Emitted when \a slice has been added to the series. | |
244 | */ |
|
249 | */ | |
245 |
|
250 | |||
@@ -249,27 +254,31 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
249 | \sa remove() |
|
254 | \sa remove() | |
250 | */ |
|
255 | */ | |
251 | /*! |
|
256 | /*! | |
252 |
\qmlsignal PieSeries:: |
|
257 | \qmlsignal PieSeries::onRemoved(PieSlice slice) | |
253 | Emitted when \a slice has been removed from the series. |
|
258 | Emitted when \a slice has been removed from the series. | |
254 | */ |
|
259 | */ | |
255 |
|
260 | |||
256 | /*! |
|
261 | /*! | |
257 | \fn void QPieSeries::clicked(QPieSlice* slice) |
|
262 | \fn void QPieSeries::clicked(QPieSlice* slice) | |
258 |
|
||||
259 | This signal is emitted when a \a slice has been clicked. |
|
263 | This signal is emitted when a \a slice has been clicked. | |
260 |
|
||||
261 | \sa QPieSlice::clicked() |
|
264 | \sa QPieSlice::clicked() | |
262 | */ |
|
265 | */ | |
|
266 | /*! | |||
|
267 | \qmlsignal PieSeries::onClicked(PieSlice slice) | |||
|
268 | This signal is emitted when a \a slice has been clicked. | |||
|
269 | */ | |||
263 |
|
270 | |||
264 | /*! |
|
271 | /*! | |
265 | \fn void QPieSeries::hovered(QPieSlice* slice, bool state) |
|
272 | \fn void QPieSeries::hovered(QPieSlice* slice, bool state) | |
266 |
|
||||
267 | This signal is emitted when user has hovered over or away from the \a slice. |
|
273 | This signal is emitted when user has hovered over or away from the \a slice. | |
268 |
|
||||
269 | \a state is true when user has hovered over the slice and false when hover has moved away from the slice. |
|
274 | \a state is true when user has hovered over the slice and false when hover has moved away from the slice. | |
270 |
|
||||
271 | \sa QPieSlice::hovered() |
|
275 | \sa QPieSlice::hovered() | |
272 | */ |
|
276 | */ | |
|
277 | /*! | |||
|
278 | \qmlsignal PieSeries::onHovered(PieSlice slice, bool state) | |||
|
279 | This signal is emitted when user has hovered over or away from the \a slice. \a state is true when user has hovered | |||
|
280 | over the slice and false when hover has moved away from the slice. | |||
|
281 | */ | |||
273 |
|
282 | |||
274 | /*! |
|
283 | /*! | |
275 | \qmlmethod PieSlice PieSeries::at(int index) |
|
284 | \qmlmethod PieSlice PieSeries::at(int index) |
@@ -80,7 +80,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
80 | \sa label |
|
80 | \sa label | |
81 | */ |
|
81 | */ | |
82 | /*! |
|
82 | /*! | |
83 |
\qmlsignal PieSlice:: |
|
83 | \qmlsignal PieSlice::onLabelChanged() | |
84 | This signal emitted when the slice label has been changed. |
|
84 | This signal emitted when the slice label has been changed. | |
85 | \sa label |
|
85 | \sa label | |
86 | */ |
|
86 | */ | |
@@ -102,7 +102,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
102 | \sa value |
|
102 | \sa value | |
103 | */ |
|
103 | */ | |
104 | /*! |
|
104 | /*! | |
105 |
\qmlsignal PieSlice:: |
|
105 | \qmlsignal PieSlice::onValueChanged() | |
106 | This signal is emitted when the slice value changes. |
|
106 | This signal is emitted when the slice value changes. | |
107 | \sa value |
|
107 | \sa value | |
108 | */ |
|
108 | */ | |
@@ -123,7 +123,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
123 | \sa labelVisible |
|
123 | \sa labelVisible | |
124 | */ |
|
124 | */ | |
125 | /*! |
|
125 | /*! | |
126 |
\qmlsignal PieSlice:: |
|
126 | \qmlsignal PieSlice::onLabelVisibleChanged() | |
127 | This signal emitted when visibility of the slice label has changed. |
|
127 | This signal emitted when visibility of the slice label has changed. | |
128 | \sa labelVisible |
|
128 | \sa labelVisible | |
129 | */ |
|
129 | */ | |
@@ -168,7 +168,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
168 | \sa pen, borderColor |
|
168 | \sa pen, borderColor | |
169 | */ |
|
169 | */ | |
170 | /*! |
|
170 | /*! | |
171 |
\qmlsignal PieSlice:: |
|
171 | \qmlsignal PieSlice::onBorderColorChanged() | |
172 | This signal is emitted when slice border color changes. |
|
172 | This signal is emitted when slice border color changes. | |
173 | \sa borderColor |
|
173 | \sa borderColor | |
174 | */ |
|
174 | */ | |
@@ -192,7 +192,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
192 | \sa pen, borderWidth |
|
192 | \sa pen, borderWidth | |
193 | */ |
|
193 | */ | |
194 | /*! |
|
194 | /*! | |
195 |
\qmlsignal PieSlice:: |
|
195 | \qmlsignal PieSlice::onBorderWidthChanged() | |
196 | This signal is emitted when slice border width changes. |
|
196 | This signal is emitted when slice border width changes. | |
197 | \sa borderWidth |
|
197 | \sa borderWidth | |
198 | */ |
|
198 | */ | |
@@ -225,7 +225,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
225 | \sa brush |
|
225 | \sa brush | |
226 | */ |
|
226 | */ | |
227 | /*! |
|
227 | /*! | |
228 |
\qmlsignal PieSlice:: |
|
228 | \qmlsignal PieSlice::onColorChanged() | |
229 | This signal is emitted when slice color changes. |
|
229 | This signal is emitted when slice color changes. | |
230 | */ |
|
230 | */ | |
231 |
|
231 | |||
@@ -258,7 +258,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
258 | \sa labelColor |
|
258 | \sa labelColor | |
259 | */ |
|
259 | */ | |
260 | /*! |
|
260 | /*! | |
261 |
\qmlsignal PieSlice:: |
|
261 | \qmlsignal PieSlice::onLabelColorChanged() | |
262 | This signal is emitted when slice label color changes. |
|
262 | This signal is emitted when slice label color changes. | |
263 | \sa labelColor |
|
263 | \sa labelColor | |
264 | */ |
|
264 | */ | |
@@ -354,7 +354,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
354 | \sa percentage |
|
354 | \sa percentage | |
355 | */ |
|
355 | */ | |
356 | /*! |
|
356 | /*! | |
357 |
\qmlsignal void PieSlice:: |
|
357 | \qmlsignal void PieSlice::onPercentageChanged() | |
358 | This signal is emitted when the percentage of the slice has changed. |
|
358 | This signal is emitted when the percentage of the slice has changed. | |
359 | \sa percentage |
|
359 | \sa percentage | |
360 | */ |
|
360 | */ | |
@@ -378,7 +378,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
378 | \sa startAngle |
|
378 | \sa startAngle | |
379 | */ |
|
379 | */ | |
380 | /*! |
|
380 | /*! | |
381 |
\qmlsignal PieSlice:: |
|
381 | \qmlsignal PieSlice::onStartAngleChanged() | |
382 | This signal is emitted when the starting angle f the slice has changed. |
|
382 | This signal is emitted when the starting angle f the slice has changed. | |
383 | \sa startAngle |
|
383 | \sa startAngle | |
384 | */ |
|
384 | */ | |
@@ -402,7 +402,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
402 | \sa angleSpan |
|
402 | \sa angleSpan | |
403 | */ |
|
403 | */ | |
404 | /*! |
|
404 | /*! | |
405 |
\qmlsignal PieSlice:: |
|
405 | \qmlsignal PieSlice::onAngleSpanChanged() | |
406 | This signal is emitted when the angle span of the slice has changed. |
|
406 | This signal is emitted when the angle span of the slice has changed. | |
407 | \sa angleSpan |
|
407 | \sa angleSpan | |
408 | */ |
|
408 | */ |
@@ -92,7 +92,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
92 | \sa replace() |
|
92 | \sa replace() | |
93 | */ |
|
93 | */ | |
94 | /*! |
|
94 | /*! | |
95 |
\qmlsignal XYSeries:: |
|
95 | \qmlsignal XYSeries::onPointReplaced(int index) | |
96 | Signal is emitted when a point has been replaced at \a index. |
|
96 | Signal is emitted when a point has been replaced at \a index. | |
97 | */ |
|
97 | */ | |
98 |
|
98 | |||
@@ -102,7 +102,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
102 | \sa append(), insert() |
|
102 | \sa append(), insert() | |
103 | */ |
|
103 | */ | |
104 | /*! |
|
104 | /*! | |
105 |
\qmlsignal XYSeries:: |
|
105 | \qmlsignal XYSeries::onPointAdded(int index) | |
106 | Signal is emitted when a point has been added at \a index. |
|
106 | Signal is emitted when a point has been added at \a index. | |
107 | */ |
|
107 | */ | |
108 |
|
108 | |||
@@ -112,7 +112,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
112 | \sa remove() |
|
112 | \sa remove() | |
113 | */ |
|
113 | */ | |
114 | /*! |
|
114 | /*! | |
115 |
\qmlsignal XYSeries:: |
|
115 | \qmlsignal XYSeries::onPointRemoved(int index) | |
116 | Signal is emitted when a point has been removed from \a index. |
|
116 | Signal is emitted when a point has been removed from \a index. | |
117 | */ |
|
117 | */ | |
118 |
|
118 | |||
@@ -121,7 +121,7 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||||
121 | \brief Signal is emitted when the line (pen) color has changed to \a color. |
|
121 | \brief Signal is emitted when the line (pen) color has changed to \a color. | |
122 | */ |
|
122 | */ | |
123 | /*! |
|
123 | /*! | |
124 |
\qmlsignal XYSeries:: |
|
124 | \qmlsignal XYSeries::onColorChanged(color color) | |
125 | Signal is emitted when the line (pen) color has changed to \a color. |
|
125 | Signal is emitted when the line (pen) color has changed to \a color. | |
126 | */ |
|
126 | */ | |
127 |
|
127 |
General Comments 0
You need to be logged in to leave comments.
Login now