* Return a new context menu. The caller takes ownership of the menu. */
| 151 | * Return a new context menu. The caller takes ownership of the menu. |
| 152 | */ |
| 153 | QMenu* Worksheet::createContextMenu() { |
| 154 | QMenu* menu = AbstractPart::createContextMenu(); |
| 155 | Q_ASSERT(menu); |
| 156 | Q_EMIT requestProjectContextMenu(menu); |
| 157 | return menu; |
| 158 | } |
| 159 | |
| 160 | //! Construct a primary view on me. |
| 161 | /** |