| 352 | } |
| 353 | |
| 354 | void DatapickerPointPrivate::updateProperties() { |
| 355 | auto* curve = dynamic_cast<DatapickerCurve*>(q->parentAspect()); |
| 356 | auto* image = dynamic_cast<DatapickerImage*>(q->parentAspect()); |
| 357 | if (image) { |
| 358 | symbol = image->symbol(); |
| 359 | setVisible(image->pointVisibility()); |
| 360 | } else if (curve) { |
| 361 | symbol = curve->symbol(); |
| 362 | errorBarBrush = curve->pointErrorBarBrush(); |
| 363 | errorBarPen = curve->pointErrorBarPen(); |
| 364 | errorBarSize = curve->pointErrorBarSize(); |
| 365 | setVisible(curve->pointVisibility()); |
| 366 | } |
| 367 | } |
| 368 | |
| 369 | /*! |
| 370 | Returns the outer bounds of the item as a rectangle. |
no test coverage detected