| 506 | } |
| 507 | |
| 508 | bool DatapickerImage::addChild(AbstractAspect* child) { |
| 509 | if (dynamic_cast<DatapickerPoint*>(child) && children<DatapickerPoint>(AbstractAspect::ChildIndexFlag::IncludeHidden).count() >= 3) |
| 510 | return false; |
| 511 | |
| 512 | return AbstractAspect::addChild(child); |
| 513 | } |
| 514 | |
| 515 | void DatapickerImage::datapickerPointChanged(const DatapickerPoint* point) { |
| 516 | const auto index = indexOfChild<DatapickerPoint>(point, AbstractAspect::ChildIndexFlag::IncludeHidden); |
no test coverage detected