Loading...
Searching...
No Matches
ToolMenuActions.hpp
1#pragma once
2
3#include <Process/ExpandMode.hpp>
4
6#include <score/actions/Menu.hpp>
7#include <score/selection/Selection.hpp>
8
9namespace score
10{
11struct GUIElements;
12}
13class QAction;
14class QActionGroup;
15class QMenu;
16class QToolBar;
17namespace Scenario
18{
19class ScenarioApplicationPlugin;
20class ScenarioPresenter;
21class ToolMenuActions final : public QObject
22{
23public:
25
26 void makeGUIElements(score::GUIElements& ref);
27
28private:
29 void keyPressed(int key);
30 void keyReleased(int key);
31
32 void setExpandMode(ExpandMode mode);
33
34 ScenarioApplicationPlugin* m_parent{};
35
36 QActionGroup* m_scenarioToolActionGroup{};
37
38 QAction* m_selecttool{};
39 QAction* m_createtool{};
40 QAction* m_playtool{};
41
42 QAction* m_scaleAction{};
43 QAction* m_lockAction{};
44};
45}
Definition ScenarioApplicationPlugin.hpp:42
Definition ToolMenuActions.hpp:22
Main plug-in of score.
Definition score-plugin-dataflow/Dataflow/PortItem.hpp:13
Base toolkit upon which the software is built.
Definition Application.cpp:90
Definition GUIApplicationPlugin.hpp:24