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

Method initActions

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

Source from the content-addressed store, hash-verified

224}
225
226void BoxPlot::initActions() {
227 // Orientation
228 auto* orientationActionGroup = new QActionGroup(this);
229 orientationActionGroup->setExclusive(true);
230 connect(orientationActionGroup, &QActionGroup::triggered, this, &BoxPlot::orientationChangedSlot);
231
232 orientationHorizontalAction = new QAction(QIcon::fromTheme(QStringLiteral("transform-move-horizontal")), i18n("Horizontal"), orientationActionGroup);
233 orientationHorizontalAction->setCheckable(true);
234
235 orientationVerticalAction = new QAction(QIcon::fromTheme(QStringLiteral("transform-move-vertical")), i18n("Vertical"), orientationActionGroup);
236 orientationVerticalAction->setCheckable(true);
237}
238
239void BoxPlot::initMenus() {
240 this->initActions();

Callers 1

initMenusMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected