| 95 | } |
| 96 | |
| 97 | QMenu* CustomPoint::createContextMenu() { |
| 98 | // no context menu if the custom point is a child of an InfoElement, |
| 99 | // everything is controlled by the parent |
| 100 | if (parentAspect()->type() == AspectType::InfoElement) |
| 101 | return nullptr; |
| 102 | |
| 103 | return WorksheetElement::createContextMenu(); |
| 104 | ; |
| 105 | } |
| 106 | |
| 107 | void CustomPoint::retransform() { |
| 108 | DEBUG(Q_FUNC_INFO) |