| 94 | } |
| 95 | |
| 96 | void BarPlot::initMenus() { |
| 97 | this->initActions(); |
| 98 | |
| 99 | // Orientation |
| 100 | orientationMenu = new QMenu(i18n("Orientation")); |
| 101 | orientationMenu->setIcon(QIcon::fromTheme(QStringLiteral("draw-cross"))); |
| 102 | orientationMenu->addAction(orientationHorizontalAction); |
| 103 | orientationMenu->addAction(orientationVerticalAction); |
| 104 | } |
| 105 | |
| 106 | QMenu* BarPlot::createContextMenu() { |
| 107 | if (!orientationMenu) |
nothing calls this directly
no test coverage detected