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

Method initMenus

src/backend/worksheet/plots/cartesian/LollipopPlot.cpp:113–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void LollipopPlot::initMenus() {
114 this->initActions();
115
116 // Orientation
117 orientationMenu = new QMenu(i18n("Orientation"));
118 orientationMenu->setIcon(QIcon::fromTheme(QStringLiteral("draw-cross")));
119 orientationMenu->addAction(orientationHorizontalAction);
120 orientationMenu->addAction(orientationVerticalAction);
121}
122
123QMenu* LollipopPlot::createContextMenu() {
124 if (!orientationMenu)

Callers

nothing calls this directly

Calls 2

initActionsMethod · 0.95
setIconMethod · 0.45

Tested by

no test coverage detected