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

Method initActions

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

Source from the content-addressed store, hash-verified

98}
99
100void LollipopPlot::initActions() {
101 // Orientation
102 auto* orientationActionGroup = new QActionGroup(this);
103 orientationActionGroup->setExclusive(true);
104 connect(orientationActionGroup, &QActionGroup::triggered, this, &LollipopPlot::orientationChangedSlot);
105
106 orientationHorizontalAction = new QAction(QIcon::fromTheme(QStringLiteral("transform-move-horizontal")), i18n("Horizontal"), orientationActionGroup);
107 orientationHorizontalAction->setCheckable(true);
108
109 orientationVerticalAction = new QAction(QIcon::fromTheme(QStringLiteral("transform-move-vertical")), i18n("Vertical"), orientationActionGroup);
110 orientationVerticalAction->setCheckable(true);
111}
112
113void LollipopPlot::initMenus() {
114 this->initActions();

Callers 1

initMenusMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected