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

Method initMenus

src/backend/worksheet/plots/cartesian/BarPlot.cpp:96–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96void 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
106QMenu* BarPlot::createContextMenu() {
107 if (!orientationMenu)

Callers

nothing calls this directly

Calls 2

initActionsMethod · 0.95
setIconMethod · 0.45

Tested by

no test coverage detected