| 1103 | } |
| 1104 | |
| 1105 | void AbstractAspect::childSelected(const AbstractAspect* aspect) { |
| 1106 | // forward the signal to the highest possible level in the parent-child hierarchy |
| 1107 | // e.g. axis of a plot was selected. Don't include parent aspects here that do not |
| 1108 | // need to react on the selection of children: |
| 1109 | //* Folder |
| 1110 | //* XYFitCurve with the child column for calculated residuals |
| 1111 | //* XYSmouthCurve with the child column for calculated rough values |
| 1112 | //* CantorWorksheet with the child columns for CAS variables |
| 1113 | AbstractAspect* parent = this->parentAspect(); |
| 1114 | if (parent && !parent->inherits(AspectType::Folder) && !parent->inherits(AspectType::XYFitCurve) && !parent->inherits(AspectType::XYSmoothCurve) |
| 1115 | && !parent->inherits(AspectType::Notebook)) |
| 1116 | Q_EMIT this->selected(aspect); |
| 1117 | } |
| 1118 | |
| 1119 | void AbstractAspect::childDeselected(const AbstractAspect* aspect) { |
| 1120 | // forward the signal to the highest possible level in the parent-child hierarchy |
nothing calls this directly
no test coverage detected