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 
9 namespace score
10 {
11 struct GUIElements;
12 }
13 class QAction;
14 class QActionGroup;
15 class QMenu;
16 class QToolBar;
17 namespace Scenario
18 {
19 class ScenarioApplicationPlugin;
20 class ScenarioPresenter;
21 class ToolMenuActions final : public QObject
22 {
23 public:
25 
26  void makeGUIElements(score::GUIElements& ref);
27 
28 private:
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:14
Base toolkit upon which the software is built.
Definition: Application.cpp:90
Definition: GUIApplicationPlugin.hpp:24