@@ -225,12 +225,42 bool QPieSeriesPrivate::setRealValue(qreal &value, qreal newValue, qreal max, qr | |||||
225 | */ |
|
225 | */ | |
226 |
|
226 | |||
227 | /*! |
|
227 | /*! | |
228 |
\property |
|
228 | \property QPieSeries::horizontalPosition | |
229 | \brief Pie horizontal postion property |
|
229 | \brief Pie horizontal position property | |
230 |
|
230 | |||
231 | By default horizontal postion is 0 |
|
231 | By default horizontal position is 0.5 (center). | |
232 | */ |
|
232 | */ | |
233 |
|
233 | |||
|
234 | /*! | |||
|
235 | \property QPieSeries::verticalPosition | |||
|
236 | \brief Pie vertical position property | |||
|
237 | ||||
|
238 | By default vertical position is 0.5 (center) | |||
|
239 | */ | |||
|
240 | ||||
|
241 | /*! | |||
|
242 | \property QPieSeries::size | |||
|
243 | \brief Pie size property | |||
|
244 | ||||
|
245 | By default size is 0.7. | |||
|
246 | */ | |||
|
247 | ||||
|
248 | /*! | |||
|
249 | \property QPieSeries::startAngle | |||
|
250 | \brief Pie start angle. | |||
|
251 | ||||
|
252 | Starting angle of the pie. Default is 0. | |||
|
253 | */ | |||
|
254 | ||||
|
255 | ||||
|
256 | /*! | |||
|
257 | \property QPieSeries::endAngle | |||
|
258 | \brief Pie end angle. | |||
|
259 | ||||
|
260 | Ending angle of the pie. Default is 360. | |||
|
261 | */ | |||
|
262 | ||||
|
263 | ||||
234 |
|
264 | |||
235 | /*! |
|
265 | /*! | |
236 | Constructs a series object which is a child of \a parent. |
|
266 | Constructs a series object which is a child of \a parent. | |
@@ -429,10 +459,10 void QPieSeries::setHorizontalPosition(qreal relativePosition) | |||||
429 |
|
459 | |||
430 | /*! |
|
460 | /*! | |
431 | Sets the vertical center position of the pie to \a relativePosition. If \a relativePosition is |
|
461 | Sets the vertical center position of the pie to \a relativePosition. If \a relativePosition is | |
432 |
set to |
|
462 | set to 0.0 the pie is drawn on the top of the chart and if it's set to 1.0 the pie is drawn | |
433 | on bottom of the chart. The default value 0.5 puts the pie in the middle. |
|
463 | on bottom of the chart. The default value 0.5 puts the pie in the middle. | |
434 |
|
464 | |||
435 |
\sa |
|
465 | \sa verticalPosition(), setPieSize() | |
436 | */ |
|
466 | */ | |
437 | void QPieSeries::setVerticalPosition(qreal relativePosition) |
|
467 | void QPieSeries::setVerticalPosition(qreal relativePosition) | |
438 | { |
|
468 | { | |
@@ -484,7 +514,7 qreal QPieSeries::verticalPosition() const | |||||
484 |
|
514 | |||
485 | Default value is 0.7. |
|
515 | Default value is 0.7. | |
486 |
|
516 | |||
487 |
\sa pieSize(), |
|
517 | \sa pieSize(), verticalPosition(), horizontalPosition() | |
488 | */ |
|
518 | */ | |
489 | void QPieSeries::setPieSize(qreal relativeSize) |
|
519 | void QPieSeries::setPieSize(qreal relativeSize) | |
490 | { |
|
520 | { |
General Comments 0
You need to be logged in to leave comments.
Login now