MCPcopy Create free account
hub / github.com/KDE/labplot / initMenus

Method initMenus

src/backend/worksheet/plots/cartesian/BoxPlot.cpp:239–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239void BoxPlot::initMenus() {
240 this->initActions();
241
242 // Orientation
243 orientationMenu = new QMenu(i18n("Orientation"));
244 orientationMenu->setIcon(QIcon::fromTheme(QStringLiteral("draw-cross")));
245 orientationMenu->addAction(orientationHorizontalAction);
246 orientationMenu->addAction(orientationVerticalAction);
247}
248
249QMenu* BoxPlot::createContextMenu() {
250 if (!orientationMenu)

Callers

nothing calls this directly

Calls 2

initActionsMethod · 0.95
setIconMethod · 0.45

Tested by

no test coverage detected